summaryrefslogtreecommitdiff
path: root/templates
diff options
context:
space:
mode:
authorDan McGee <dan@archlinux.org>2010-07-05 22:22:19 -0500
committerDan McGee <dan@archlinux.org>2010-07-05 22:22:19 -0500
commit85807311ca5545ea5e9d5a0170cf816269982348 (patch)
tree3d7c6a3859fc2961fef13a5ce3daeb1597fc7e01 /templates
parentcb9c74eff8f7c3469cc5e84477074c138ed555df (diff)
Show incomplete todo list packages in dev dashboard
Implements FS#20081. Signed-off-by: Dan McGee <dan@archlinux.org>
Diffstat (limited to 'templates')
-rw-r--r--templates/devel/index.html29
1 files changed, 29 insertions, 0 deletions
diff --git a/templates/devel/index.html b/templates/devel/index.html
index d2dd155d..cba9e761 100644
--- a/templates/devel/index.html
+++ b/templates/devel/index.html
@@ -60,6 +60,35 @@
</tbody>
</table>
+ <h3>My Incomplete Todo List Packages</h3>
+
+ <table id="dash-mytodolist" class="results dash-stats">
+ <thead>
+ <tr>
+ <th>Todo List</th>
+ <th class="key">Name</th>
+ <th>Repo</th>
+ <th>Arch</th>
+ <th>Maintainer(s)</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% for todopkg in todopkgs %}
+ <tr class="{% cycle 'odd' 'even' %}">
+ <td><a href="{{ todopkg.list.get_absolute_url }}"
+ title="View todo list: {{ todopkg.list.name }}">{{ todopkg.list.name }}</a></td>
+ <td><a href="{{ todopkg.pkg.get_absolute_url }}"
+ title="View package details for {{ todopkg.pkg.pkgname }}">{{ todopkg.pkg.pkgname }}</a></td>
+ <td>{{ todopkg.pkg.repo.name }}</td>
+ <td>{{ todopkg.pkg.arch.name }}</td>
+ <td>{{ todopkg.pkg.maintainers|join:', ' }}</td>
+ </tr>
+ {% empty %}
+ <tr><td colspan="4"><em>No incomplete todo list packages to display</em></td></tr>
+ {% endfor %}
+ </tbody>
+ </table>
+
<form id="dash-pkg-notify" method="post" action="/devel/notify/">{% csrf_token %}
<fieldset>
<p><input id="notify" name="notify" type="checkbox" value="yes"