summaryrefslogtreecommitdiff
path: root/templates/devel
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2011-05-15 11:25:17 -0500
committerDan McGee <dan@archlinux.org>2011-05-15 11:25:17 -0500
commitf04de80528da8e4eeba8fbbf9f720ba046a5bf11 (patch)
tree26c0b9551ab8bcf03e46d81a5b22e540acfe4978 /templates/devel
parentd20b20bd8ac66ff8c05e4a6b40a72fc25419075a (diff)
Allow screening developer reports by maintainer
A simple link is added for each user, but the URLs are flexible enough to screen by any maintainer if you know how they are constructed. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates/devel')
-rw-r--r--templates/devel/index.html22
-rw-r--r--templates/devel/packages.html8
2 files changed, 21 insertions, 9 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html
index 29b98bdf..015ae1b2 100644
--- a/templates/devel/index.html
+++ b/templates/devel/index.html
@@ -100,13 +100,21 @@
<h3>Developer Reports</h3>
<ul>
- <li><a href="reports/big/">Big</a>: All packages with compressed size &gt; 50 MiB</li>
- <li><a href="reports/old/">Old</a>: Packages last built more than two years ago</li>
- <li><a href="reports/uncompressed-man/">Uncompressed Manpages</a>: Self-explanatory</li>
- <li><a href="reports/uncompressed-info/">Uncompressed Info Pages</a>: Self-explanatory</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>
+ <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/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/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/unneeded-orphans/">Unneeded Orphans</a>:
+ Packages that have no maintainer and are not required by any other
+ package in any repository</li>
</ul>
</div><!-- #dev-dashboard -->
diff --git a/templates/devel/packages.html b/templates/devel/packages.html
index e0988c03..051ee4a3 100644
--- a/templates/devel/packages.html
+++ b/templates/devel/packages.html
@@ -5,8 +5,12 @@
{% block content %}
<div class="box">
- <h2>{{ title }}</h2>
- <p>{{ packages|length }} package{{ packages|pluralize }} found.</p>
+ <h2>{{ title }}{% if maintainer %},
+ maintained by {{ maintainer.get_full_name }}{% endif%}</h2>
+ <p>{{ packages|length }} package{{ packages|pluralize }} found.
+ {% if maintainer %}This report only includes packages maintained by
+ {{ maintainer.get_full_name }} ({{ maintainer.username }}).{% endif %}
+ </p>
<table class="results">
<thead>
<tr>