summaryrefslogtreecommitdiffstats
path: root/templates/packages/files.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-03-13 17:41:36 +0100
committerDan McGee <dan@archlinux.org>2011-03-13 17:41:36 +0100
commit5abe0727bfa9a4fab24afcccb66da7d8832bf6b9 (patch)
tree1b2f2bcce81e1b0b755698c4efdff29b9bd3075e /templates/packages/files.html
parent9730be60a8ef4a04358b0a026ce6b706de21d4e8 (diff)
downloadarchweb-5abe0727bfa9a4fab24afcccb66da7d8832bf6b9.tar.gz
archweb-5abe0727bfa9a4fab24afcccb66da7d8832bf6b9.tar.xz
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.html4
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/packages/files.html b/templates/packages/files.html
index 5e0ceb0..362e62c 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" %}