diff options
author | Dan McGee <dan@archlinux.org> | 2010-08-28 00:24:08 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-08-28 00:24:08 +0200 |
commit | d21de73592062bce687e78e2dc4d0f415f42b3cf (patch) | |
tree | 0925c12104bfe958f13b8d201f418d1d62c90eec /templates | |
parent | ddc4b974fe44832c696724d512fd9b935f5085df (diff) | |
download | archweb-d21de73592062bce687e78e2dc4d0f415f42b3cf.tar.gz archweb-d21de73592062bce687e78e2dc4d0f415f42b3cf.tar.xz |
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')
-rw-r--r-- | templates/packages/groups.html | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/templates/packages/groups.html b/templates/packages/groups.html index 4bf12ac..bb475b1 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> |