summaryrefslogtreecommitdiffstats
path: root/templates/packages/details.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-02-27 03:40:59 +0100
committerDan McGee <dan@archlinux.org>2010-02-27 03:42:13 +0100
commitd5fe951cdcce5af05171a5a2d0bbd5a6cec1f597 (patch)
tree9cd4a8bdecd21f2d526a8a53643aa3f46d071f12 /templates/packages/details.html
parent31522fad893f7ecc836dc215b6b79daaaa64ce65 (diff)
downloadarchweb-d5fe951cdcce5af05171a5a2d0bbd5a6cec1f597.tar.gz
archweb-d5fe951cdcce5af05171a5a2d0bbd5a6cec1f597.tar.xz
Make template changes to show additional information
Make package size, installed size, and build date available in the UI. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/details.html')
-rw-r--r--templates/packages/details.html9
1 files changed, 9 insertions, 0 deletions
diff --git a/templates/packages/details.html b/templates/packages/details.html
index 2e8d1c2..5c3c949 100644
--- a/templates/packages/details.html
+++ b/templates/packages/details.html
@@ -53,6 +53,15 @@
<th>Maintainer:</th>
<td>{% if pkg.maintainer %}{{ pkg.maintainer.get_full_name }}{% else %}None{% endif %}</td>
</tr><tr>
+ <th>Package Size:</th>
+ <td>{{ pkg.compressed_size|filesizeformat }}</td>
+ </tr><tr>
+ <th>Installed Size:</th>
+ <td>{{ pkg.installed_size|filesizeformat }}</td>
+ </tr><tr>
+ <th>Build Date:</th>
+ <td>{{ pkg.build_date }} UTC</td>
+ </tr><tr>
<th>Last Updated:</th>
<td>{{ pkg.last_update|date:"Y-m-d" }}</td>
</tr>