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/files.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/files.html')
-rw-r--r-- | templates/packages/files.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/packages/files.html b/templates/packages/files.html index 5e0ceb07..362e62cd 100644 --- a/templates/packages/files.html +++ b/templates/packages/files.html @@ -1,11 +1,11 @@ {% extends "base.html" %} -{% block title %}Arch Linux - {{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }} - Package File List{% endblock %} +{% block title %}Arch Linux - {{ pkg.pkgname }} {{ pkg.full_version }} - Package File List{% endblock %} {% block navbarclass %}anb-packages{% endblock %} {% block content %} <div id="pkgdetails" class="box"> - <h2>Package File List: {{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}</h2> + <h2>Package File List: {{ pkg.pkgname }} {{ pkg.full_version }}</h2> <div id="metadata"> <p><a href="{{ pkg.get_absolute_url }}">Back to Package</a></p> {% include "packages/files-list.html" %} |