summaryrefslogtreecommitdiff
path: root/templates/packages/details.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-07-23 14:14:31 -0400
committerDan McGee <dan@archlinux.org>2010-07-25 15:49:06 -0500
commit63696563a3955d968103bddf6b854798a661da5c (patch)
tree885bc76c1ca112fed71cc46926d4cde356aa15c0 /templates/packages/details.html
parent05c943b3a3a10fcf9d27cb7b08a856b5360769bb (diff)
Add package groups model and display to packages
They show up but aren't hotlinked to anything...just yet. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/details.html')
-rw-r--r--templates/packages/details.html10
1 files changed, 10 insertions, 0 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index 7314d93a..e5e62038 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -82,6 +82,16 @@
<th>License:</th>
<td>{{ pkg.license }}</td>
</tr><tr>
+ <th>Groups:</th>
+ {% with pkg.packagegroup_set.all as groups %}
+ <td>{% if groups %}
+ {% for g in groups %}
+ {{ g.name }}<br/>
+ {% endfor %}
+ {% else %}None{% endif %}
+ </td>
+ {% endwith %}
+ </tr><tr>
<th>Maintainers:</th>
{% with pkg.maintainers as maints %}
<td>{% if maints %}