diff options
author | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-15 10:49:57 -0500 |
---|---|---|
committer | Luke Shumaker <LukeShu@sbcglobal.net> | 2012-11-15 10:49:57 -0500 |
commit | bd86ba0d5f5b07ba114134b3c12f8f4843e52ec4 (patch) | |
tree | 27385dcfd8fa3ca609d44c9108a2b714a2ec56fa /templates/packages/details.html | |
parent | 291c9eb72e9ca87748e263e9bb8101effaf78240 (diff) | |
parent | 314608aee372c890031cd89f556327a93a2538e6 (diff) |
Merge commit '314608a' (update)parabolaweb-2012-11-15-1
Diffstat (limited to 'templates/packages/details.html')
-rw-r--r-- | templates/packages/details.html | 17 |
1 files changed, 7 insertions, 10 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html index 1dd39937..2fc5465e 100644 --- a/templates/packages/details.html +++ b/templates/packages/details.html @@ -103,26 +103,23 @@ </tr><tr> <th>License(s):</th> <td>{{ pkg.licenses.all|join:", " }}</td> - </tr><tr> + </tr> + {% with pkg.groups.all as groups %}{% if groups %} + <tr> <th>Groups:</th> - {% with pkg.groups.all as groups %} - <td>{% if groups %} - {% for g in groups %} + <td>{% for g in groups %} <a href="/groups/{{ pkg.arch.name }}/{{ g.name }}/" title="Group details for {{ g.name }}">{{ g.name }}</a><br/> {% endfor %} - {% else %}None{% endif %} </td> - {% endwith %} </tr> - {% with pkg.provides.all as provides %} - {% if provides %} + {% endif %}{% endwith %} + {% with pkg.provides.all as provides %}{% if provides %} <tr> <th>Provides:</th> <td>{% for p in provides %}{{ p.name }}{% if p.version %}={{ p.version }}{% endif %}<br/>{% endfor %}</td> </tr> - {% endif %} - {% endwith %} + {% endif %}{% endwith %} <tr> <th>Maintainers:</th> {% with pkg.maintainers as maints %} |