diff options
author | Dan McGee <dan@archlinux.org> | 2011-03-13 11:41:36 -0500 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2011-03-13 11:41:36 -0500 |
commit | 5abe0727bfa9a4fab24afcccb66da7d8832bf6b9 (patch) | |
tree | 1b2f2bcce81e1b0b755698c4efdff29b9bd3075e /templates/packages/differences.html | |
parent | 9730be60a8ef4a04358b0a026ce6b706de21d4e8 (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/packages/differences.html')
-rw-r--r-- | templates/packages/differences.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/packages/differences.html b/templates/packages/differences.html index b2a1be02..dd1046bc 100644 --- a/templates/packages/differences.html +++ b/templates/packages/differences.html @@ -45,12 +45,12 @@ {% if diff.pkg_a %} <td><a href="{{ diff.pkg_a.get_absolute_url }}" title="View package details for {{ diff.pkg_a.pkgname }}"> - <span{% if diff.pkg_a.flag_date %} class="flagged"{% endif %}>{{ diff.pkg_a.pkgver }}-{{ diff.pkg_a.pkgrel }}</span></a></td> + <span{% if diff.pkg_a.flag_date %} class="flagged"{% endif %}>{{ diff.pkg_a.full_version }}</span></a></td> {% else %}<td>-</td>{% endif %} {% if diff.pkg_b %} <td><a href="{{ diff.pkg_b.get_absolute_url }}" title="View package details for {{ diff.pkg_b.pkgname }}"> - <span{% if diff.pkg_b.flag_date %} class="flagged"{% endif %}>{{ diff.pkg_b.pkgver }}-{{ diff.pkg_b.pkgrel }}</span></a></td> + <span{% if diff.pkg_b.flag_date %} class="flagged"{% endif %}>{{ diff.pkg_b.full_version }}</span></a></td> {% else %}<td>-</td>{% endif %} </tr> {% endfor %} |