diff options
author | eliott <eliott@cactuswax.net> | 2008-03-22 21:01:16 -0700 |
---|---|---|
committer | eliott <eliott@cactuswax.net> | 2008-03-22 21:01:16 -0700 |
commit | ce564d73a6758e6ce8e15f39e47ea67910274a7d (patch) | |
tree | 9e507656074df007e5adb8c86bd3c293b26b5241 /templates/devel | |
parent | f41fc770e4151f7556011afcb990095f98d5b879 (diff) |
Added the ability to see flagged packages only, per use or repo
Diffstat (limited to 'templates/devel')
-rw-r--r-- | templates/devel/index.html | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html index 3a09b522..91055376 100644 --- a/templates/devel/index.html +++ b/templates/devel/index.html @@ -30,11 +30,11 @@ <th># Packages</th> <th># Flagged</th> </tr> - {% for arch in archs %} + {% for arch in arches %} <tr class="{% cycle pkgr2,pkgr1 %}"> - <td><a href="/packages/?arch={{ arch.name }}">{{ arch.name }}</a></td> - <td><strong>{{ arch.count }}</strong> packages</td> - <td><strong>{{ arch.flagged }}</strong> packages</td> + <td><strong>{{ arch.name }}</strong></td> + <td><a href="/packages/?arch={{ arch.name }}"><strong>{{ arch.count }}</strong> packages</a></td> + <td><a href="/packages/?arch={{ arch.name }}&flagged_only=y"><strong>{{ arch.flagged }}</strong> packages</a></td> </tr> {% endfor %} </table> @@ -50,9 +50,9 @@ </tr> {% for repo in repos %} <tr class="{% cycle pkgr2,pkgr1 %}"> - <td><a href="/packages/?repo={{ repo.name }}">{{ repo.name }}</a></td> - <td><strong>{{ repo.count }}</strong> packages</td> - <td><strong>{{ repo.flagged }}</strong> packages</td> + <td><strong>{{ repo.name }}</strong></td> + <td><a href="/packages/?repo={{ repo.name }}"><strong>{{ repo.count }}</strong> packages</a></td> + <td><a href="/packages/?repo={{ repo.name }}&flagged_only=y"><strong>{{ repo.flagged }}</strong> packages</a></td> </tr> {% endfor %} </table> @@ -69,9 +69,9 @@ </tr> {% for maint in stats %} <tr class="{% cycle pkgr2,pkgr1 %}"> - <td><a href="/packages/?maint={{ maint.0.id }}">{{ maint.0.get_full_name }}</a></td> - <td><strong>{{ maint.1 }}</strong> packages</td> - <td><strong>{{ maint.2 }}</strong> packages</td> + <td><strong>{{ maint.0.get_full_name }}</strong></td> + <td><a href="/packages/?maint={{ maint.0.id }}"><strong>{{ maint.1 }}</strong> packages</a></td> + <td><a href="/packages/?maint={{ maint.0.id }}&flagged_only=y"><strong>{{ maint.2 }}</strong> packages</a></td> </tr> {% endfor %} </table> |