summaryrefslogtreecommitdiffstats
path: root/templates/devel
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2008-03-23 05:01:16 +0100
committereliott <eliott@cactuswax.net>2008-03-23 05:01:16 +0100
commitce564d73a6758e6ce8e15f39e47ea67910274a7d (patch)
tree9e507656074df007e5adb8c86bd3c293b26b5241 /templates/devel
parentf41fc770e4151f7556011afcb990095f98d5b879 (diff)
downloadarchweb-ce564d73a6758e6ce8e15f39e47ea67910274a7d.tar.gz
archweb-ce564d73a6758e6ce8e15f39e47ea67910274a7d.tar.xz
Added the ability to see flagged packages only, per use or repo
Diffstat (limited to 'templates/devel')
-rw-r--r--templates/devel/index.html20
1 files changed, 10 insertions, 10 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html
index 3a09b52..9105537 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>