diff options
author | Dan McGee <dan@archlinux.org> | 2010-07-23 14:14:31 -0400 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-07-25 15:49:06 -0500 |
commit | 63696563a3955d968103bddf6b854798a661da5c (patch) | |
tree | 885bc76c1ca112fed71cc46926d4cde356aa15c0 /templates/packages | |
parent | 05c943b3a3a10fcf9d27cb7b08a856b5360769bb (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')
-rw-r--r-- | templates/packages/details.html | 10 |
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 %} |