summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-09-08 21:09:45 +0200
committerDan McGee <dan@archlinux.org>2011-09-08 21:09:45 +0200
commitf173a03857e92268412196cd8e7c0f5d27fb6a38 (patch)
tree55932b10a6c427925b96136aec994e09df7ef927
parentb283e5ff83efcc8e8b160d8e8084ff25d14c3ad3 (diff)
downloadarchweb-f173a03857e92268412196cd8e7c0f5d27fb6a38.tar.gz
archweb-f173a03857e92268412196cd8e7c0f5d27fb6a38.tar.xz
Show provides in package details view
Signed-off-by: Dan McGee <dan@archlinux.org>
-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 76d3ce8..8be408f 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 %}