summaryrefslogtreecommitdiff
path: root/templates/devel
diff options
context:
space:
mode:
authoreliott <eliott@cactuswax.net>2008-03-08 12:11:02 -0800
committereliott <eliott@cactuswax.net>2008-03-08 12:11:02 -0800
commit3e31808521e990b3b86d25de7d49cdd90a2de29f (patch)
tree610986402708677b9cccf3c8d2632177173789ed /templates/devel
parent4d1977f24e062370efd307cbe51d4cd826828362 (diff)
More changes to the multiarch model.
Diffstat (limited to 'templates/devel')
-rw-r--r--templates/devel/index.html26
-rw-r--r--templates/devel/siteindex.html2
2 files changed, 23 insertions, 5 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html
index afbec25a..091fcb99 100644
--- a/templates/devel/index.html
+++ b/templates/devel/index.html
@@ -23,11 +23,29 @@
{% endif %}
<div class="greybox">
- <h3 class="title">Repository Package Stats</h3>
+ <h3 class="title">Stats by Architecture</h3>
+ <table class="results" width="100%">
+ <tr>
+ <th width="50%">Arch</th>
+ <th># Packages</th>
+ <th># Flagged</th>
+ </tr>
+ {% for arch in archs %}
+ <tr class="{% cycle pkgr2,pkgr1 %}">
+ <td><a href="/packages/?arch={{ arch.name }}">{{ arch.name }}</a></td>
+ <td><strong>{{ repo.count }}</strong> packages</td>
+ <td><strong>{{ repo.flagged }}</strong> packages</td>
+ </tr>
+ {% endfor %}
+ </table>
+ </div>
+ <br /><br />
+ <div class="greybox">
+ <h3 class="title">Stats by Repository</h3>
<table class="results" width="100%">
<tr>
<th width="50%">Repository</th>
- <th># Package</th>
+ <th># Packages</th>
<th># Flagged</th>
</tr>
{% for repo in repos %}
@@ -42,11 +60,11 @@
<br /><br />
<div class="greybox">
- <h3 class="title">Maintainer Package Stats</h3>
+ <h3 class="title">Stats by Maintainer</h3>
<table class="results" width="100%">
<tr>
<th width="50%">Maintainer</th>
- <th># Package</th>
+ <th># Packages</th>
<th># Flagged</th>
</tr>
{% for maint in stats %}
diff --git a/templates/devel/siteindex.html b/templates/devel/siteindex.html
index 0c25fd8b..e97d9150 100644
--- a/templates/devel/siteindex.html
+++ b/templates/devel/siteindex.html
@@ -21,7 +21,7 @@
{% for pkg in pkg_updates %}
<tr>
<td><a href="{{ pkg.get_absolute_url }}">{{ pkg.pkgname }} {{ pkg.pkgver }}-{{ pkg.pkgrel }}</a></td>
- <td style="text-align:right">{{ pkg.category.category }}</td>
+ <td style="text-align:right">{{ pkg.arch.name }}</td>
</tr>
{% endfor %}
<tr>