summaryrefslogtreecommitdiff
path: root/templates/packages/groups.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-08-27 17:24:08 -0500
committerDan McGee <dan@archlinux.org>2010-08-27 17:24:08 -0500
commitd21de73592062bce687e78e2dc4d0f415f42b3cf (patch)
tree0925c12104bfe958f13b8d201f418d1d62c90eec /templates/packages/groups.html
parentddc4b974fe44832c696724d512fd9b935f5085df (diff)
Add last updated column to package groups view
Just another annotation to the queryset to get this data, and a little more manipulation in the group data function. This will help when adding a sitemap in a subsequent commit. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/groups.html')
-rw-r--r--templates/packages/groups.html2
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/packages/groups.html b/templates/packages/groups.html
index 4bf12ac6..bb475b1e 100644
--- a/templates/packages/groups.html
+++ b/templates/packages/groups.html
@@ -11,6 +11,7 @@
<th>Arch</th>
<th>Group Name</th>
<th>Package Count</th>
+ <th>Last Updated</th>
</tr>
</thead>
<tbody>
@@ -20,6 +21,7 @@
<td><a href="/groups/{{ grp.arch }}/{{ grp.name }}/"
title="Group details for {{ grp.name }}">{{ grp.name }}</a></td>
<td>{{ grp.count }} Packages</td>
+ <td>{{ grp.last_update|date:"Y-m-d" }}</td>
</tr>
{% endfor %}
</tbody>