From bdaf336931125a4ed030459c33fd75cfee27b0a6 Mon Sep 17 00:00:00 2001 From: Ismael Carnales Date: Sat, 31 Oct 2009 16:25:44 -0200 Subject: update packages detail template with code from pub also added user restrictions --- templates/packages/details.html | 33 ++++++++++++++++++++------------- 1 file changed, 20 insertions(+), 13 deletions(-) diff --git a/templates/packages/details.html b/templates/packages/details.html index 30c8f6a4..39cba672 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -1,28 +1,35 @@ {% extends "base.html" %} {% load package_extras %} {% block title %}Pkg: {{ pkg.pkgname }} - Arch Linux Package Details{% endblock %} - {% block content %}

{{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}

@@ -45,7 +52,7 @@

{{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}

- +
Maintainer: {% if pkg.maintainer %}{{ pkg.maintainer.get_full_name }}{% else %}None{% endif %}
LastUpdated:Last Updated: {{ pkg.last_update|date:"Y-m-d" }}
@@ -54,7 +61,7 @@

{{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}

-

Dependencies:

+

Dependencies ({{pkg.get_depends|length}}):