summaryrefslogtreecommitdiffstats
path: root/templates
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-09-19 15:44:22 +0200
committerDan McGee <dan@archlinux.org>2011-09-19 15:44:22 +0200
commit797185faed0555efb88a1e6a18e447548a9935fd (patch)
treeab2169212e085667b79d12ba0b0ca93fd385b246 /templates
parentb893682f356ca2861d676a51c4ae1c937d4c7c44 (diff)
downloadarchweb-797185faed0555efb88a1e6a18e447548a9935fd.tar.gz
archweb-797185faed0555efb88a1e6a18e447548a9935fd.tar.xz
Add some dev dashboard info regarding signed package count
This adds a column similar to the flagged package count for the number of signed packages in a given architecture or repository. It is up to the user to do some simple math to figure out the number of unsigned packages. Also, add 'signed' as a hidden search field option similar to what we did for packager. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/devel/index.html5
1 files changed, 5 insertions, 0 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html
index 0c818d3..b2da70c 100644
--- a/templates/devel/index.html
+++ b/templates/devel/index.html
@@ -135,6 +135,7 @@
<th class="key">Arch</th>
<th># Packages</th>
<th># Flagged</th>
+ <th># Signed</th>
</tr>
</thead>
<tbody>
@@ -147,6 +148,8 @@
<td><a href="/packages/?arch={{ arch.name }}&amp;flagged=Flagged"
title="View all flagged packages for the {{ arch.name }} architecture">
<strong>{{ arch.packages.flagged.count }}</strong> packages</a></td>
+
+ <td><strong>{{ arch.packages.signed.count }}</strong> packages</td>
</tr>
{% endfor %}
</tbody>
@@ -165,6 +168,7 @@
<th class="key">Repository</th>
<th># Packages</th>
<th># Flagged</th>
+ <th># Signed</th>
</tr>
</thead>
<tbody>
@@ -177,6 +181,7 @@
<td><a href="/packages/?repo={{ repo.name }}&amp;flagged=Flagged"
title="View all flagged packages in the {{ repo.name }} repository">
<strong>{{ repo.packages.flagged.count }}</strong> packages</a></td>
+ <td><strong>{{ repo.packages.signed.count }}</strong> packages</td>
</tr>
{% endfor %}
</tbody>