summaryrefslogtreecommitdiffstats
path: root/templates/devel
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2014-02-22 20:48:52 +0100
committerDan McGee <dan@archlinux.org>2014-02-22 20:57:02 +0100
commit871b284dd76f01d8a297f43ae86d869e2b7d2b3c (patch)
tree83567b5758c9e89b6f1dc18c4739f73b6e7f32cc /templates/devel
parent7947d36c4e509a917941a34c576fde3a207a4439 (diff)
downloadarchweb-871b284dd76f01d8a297f43ae86d869e2b7d2b3c.tar.gz
archweb-871b284dd76f01d8a297f43ae86d869e2b7d2b3c.tar.xz
Generate list of reports dynamically
Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/devel')
-rw-r--r--templates/devel/index.html30
1 files changed, 5 insertions, 25 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html
index f432e6b..147917a 100644
--- a/templates/devel/index.html
+++ b/templates/devel/index.html
@@ -149,31 +149,11 @@
<h3>Developer Reports</h3>
<ul>
- <li><a href="reports/old/">Old</a>:
- Packages last built more than two years ago
- (<a href="reports/old/{{ user.username }}/">yours only</a>)</li>
- <li><a href="reports/long-out-of-date/">Long Out-of-date</a>:
- Packages marked out-of-date more than 30 days ago
- (<a href="reports/long-out-of-date/{{ user.username }}/">yours only</a>)</li>
- <li><a href="reports/uncompressed-man/">Uncompressed Manpages</a>:
- Self-explanatory
- (<a href="reports/uncompressed-man/{{ user.username }}/">yours only</a>)</li>
- <li><a href="reports/uncompressed-info/">Uncompressed Info Pages</a>:
- Self-explanatory
- (<a href="reports/uncompressed-info/{{ user.username }}/">yours only</a>)</li>
- <li><a href="reports/mismatched-signature/">Mismatched Signatures</a>:
- Packages where 1) signing key is unknown, 2) signer != packager,
- or 3) signature timestamp more than 24 hours after build timestamp
- (<a href="reports/mismatched-signature/{{ user.username }}/">yours only</a>)</li>
- <li><a href="reports/big/">Big</a>:
- All packages with compressed size &gt; 50 MiB
- (<a href="reports/big/{{ user.username }}/">yours only</a>)</li>
- <li><a href="reports/badcompression/">Bad Compression</a>:
- Packages with a compression ratio of less than 10%
- (<a href="reports/badcompression/{{ user.username }}/">yours only</a>)</li>
- <li><a href="reports/unneeded-orphans/">Unneeded Orphans</a>:
- Packages that have no maintainer and are not required by any other
- package in any repository</li>
+ {% for report in reports %}
+ <li><a href="reports/{{ report.slug }}/">{{ report.name }}</a>:
+ {{ report.description }}
+ {% if report.personal %}(<a href="reports/{{ report.slug }}/{{ user.username }}/">yours only</a>){% endif %}</li>
+ {% endfor %}
</ul>
</div>{# #dev-dashboard #}