summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-02-26 20:40:59 -0600
committerDan McGee <dan@archlinux.org>2010-02-26 20:42:13 -0600
commitd5fe951cdcce5af05171a5a2d0bbd5a6cec1f597 (patch)
tree9cd4a8bdecd21f2d526a8a53643aa3f46d071f12
parent31522fad893f7ecc836dc215b6b79daaaa64ce65 (diff)
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>
-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 2e8d1c2d..5c3c9497 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>