diff options
author | Dan McGee <dan@archlinux.org> | 2010-09-09 20:35:45 +0200 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-09-09 20:35:48 +0200 |
commit | ffdf7fec992592255ae2f08ba4db3e4962daf279 (patch) | |
tree | 304f856a578098158e955b5ee3158b5b133bf64b | |
parent | 6dece4b18bed60106a0a58404b2d45640084c22c (diff) | |
download | archweb-ffdf7fec992592255ae2f08ba4db3e4962daf279.tar.gz archweb-ffdf7fec992592255ae2f08ba4db3e4962daf279.tar.xz |
Remove redundant text from groups package count column
Signed-off-by: Dan McGee <dan@archlinux.org>
-rw-r--r-- | templates/packages/groups.html | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/templates/packages/groups.html b/templates/packages/groups.html index 13840a8..a472e7b 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 %} |