summaryrefslogtreecommitdiff
path: root/templates/public/index.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-13 11:41:36 -0500
committerDan McGee <dan@archlinux.org>2011-03-13 11:41:36 -0500
commit5abe0727bfa9a4fab24afcccb66da7d8832bf6b9 (patch)
tree1b2f2bcce81e1b0b755698c4efdff29b9bd3075e /templates/public/index.html
parent9730be60a8ef4a04358b0a026ce6b706de21d4e8 (diff)
Show epoch in package version if != 0
Add a full_version property method to our package object that does the version formatting, and switch all templates displaying package versions over to this new method. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/public/index.html')
-rw-r--r--templates/public/index.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/public/index.html b/templates/public/index.html
index c903b232..91a8414c 100644
--- a/templates/public/index.html
+++ b/templates/public/index.html
@@ -82,7 +82,7 @@
{% for update in pkg_updates %}
{% with update|first as fpkg %}
<tr>
- <td class="pkg-name"><span class="{{ fpkg.repo|lower }}">{{ fpkg.pkgname }} {{ fpkg.pkgver }}-{{ fpkg.pkgrel }}</span></td>
+ <td class="pkg-name"><span class="{{ fpkg.repo|lower }}">{{ fpkg.pkgname }} {{ fpkg.full_version }}</span></td>
<td class="pkg-arch">
{% for pkg in update %}<a href="{{ pkg.get_absolute_url }}"
title="Details for {{ pkg.pkgname }} [{{ pkg.repo|lower }}]">{{ pkg.arch }}</a>{% if not forloop.last %}/{% endif %}{% endfor %}