summaryrefslogtreecommitdiff
path: root/templates/packages/details.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-09-08 14:09:45 -0500
committerDan McGee <dan@archlinux.org>2011-09-08 14:09:45 -0500
commitf173a03857e92268412196cd8e7c0f5d27fb6a38 (patch)
tree55932b10a6c427925b96136aec994e09df7ef927 /templates/packages/details.html
parentb283e5ff83efcc8e8b160d8e8084ff25d14c3ad3 (diff)
Show provides in package details view
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/details.html')
-rw-r--r--templates/packages/details.html11
1 files changed, 10 insertions, 1 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index 76d3ce86..8be408fb 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -123,7 +123,16 @@
{% else %}None{% endif %}
</td>
{% endwith %}
- </tr><tr>
+ </tr>
+ {% 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 %}
+ <tr>
<th>Maintainers:</th>
{% with pkg.maintainers as maints %}
<td>{% if maints %}