From 63696563a3955d968103bddf6b854798a661da5c Mon Sep 17 00:00:00 2001 From: Dan McGee Date: Fri, 23 Jul 2010 14:14:31 -0400 Subject: Add package groups model and display to packages They show up but aren't hotlinked to anything...just yet. Signed-off-by: Dan McGee --- templates/packages/details.html | 10 ++++++++++ 1 file changed, 10 insertions(+) (limited to 'templates/packages/details.html') diff --git a/templates/packages/details.html b/templates/packages/details.html index 7314d93..e5e6203 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -82,6 +82,16 @@ License: {{ pkg.license }} + Groups: + {% with pkg.packagegroup_set.all as groups %} + {% if groups %} + {% for g in groups %} + {{ g.name }}
+ {% endfor %} + {% else %}None{% endif %} + + {% endwith %} + Maintainers: {% with pkg.maintainers as maints %} {% if maints %} -- cgit v1.2.3-24-g4f1b