summaryrefslogtreecommitdiff
path: root/templates/packages/groups.html
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-09-09 13:35:45 -0500
committerDan McGee <dan@archlinux.org>2010-09-09 13:35:48 -0500
commitffdf7fec992592255ae2f08ba4db3e4962daf279 (patch)
tree304f856a578098158e955b5ee3158b5b133bf64b /templates/packages/groups.html
parent6dece4b18bed60106a0a58404b2d45640084c22c (diff)
Remove redundant text from groups package count column
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/packages/groups.html')
-rw-r--r--templates/packages/groups.html14
1 files changed, 2 insertions, 12 deletions
diff --git a/templates/packages/groups.html b/templates/packages/groups.html
index 13840a8b..a472e7b2 100644
--- a/templates/packages/groups.html
+++ b/templates/packages/groups.html
@@ -20,7 +20,7 @@
<td>{{ grp.arch }}</td>
<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.count }}</td>
<td>{{ grp.last_update|date:"Y-m-d" }}</td>
</tr>
{% endfor %}
@@ -30,18 +30,8 @@
{% load cdn %}{% jquery %}
<script type="text/javascript" src="/media/jquery.tablesorter.min.js"></script>
<script type="text/javascript">
-$.tablesorter.addParser({
- id: 'pkgcount',
- is: function(s) { return false; },
- format: function(s) {
- var m = s.match(/\d+/);
- return m ? parseInt(m[0]) : 0;
- },
- type: 'numeric'
-});
-
$(document).ready(function() {
- $(".results").tablesorter({widgets: ['zebra'], sortList: [[1,0], [0,0]], headers: { 2: { sorter: 'pkgcount' } } });
+ $(".results").tablesorter({widgets: ['zebra'], sortList: [[1,0], [0,0]]});
});
</script>
{% endblock %}