diff options
author | Guilherme Salgado <guilherme.salgado@linaro.org> | 2011-06-03 15:03:24 -0300 |
---|---|---|
committer | Guilherme Salgado <guilherme.salgado@linaro.org> | 2011-06-03 15:03:24 -0300 |
commit | fda07b66635209a0d8d9b1b6063a709d14bea8e4 (patch) | |
tree | 1c810d6f17c1759fe3b5db5d149fbdfe6100f144 /templates | |
parent | 3ba004d25141fd4ecbcf70d4d966af2e0e461973 (diff) |
A new page that displays the patches for which the user is waiting feedback
This page shows all patches in a state that requires action and that have been
submitted by the logged in user to a given project.
Also, the profile page now has an extra section with links to this page for
every project on which the user has patches that need feedback.
Signed-off-by: Guilherme Salgado <guilherme.salgado@linaro.org>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/patchwork/profile.html | 13 | ||||
-rw-r--r-- | templates/patchwork/submitted-list.html | 14 |
2 files changed, 27 insertions, 0 deletions
diff --git a/templates/patchwork/profile.html b/templates/patchwork/profile.html index 44df921..d4759c7 100644 --- a/templates/patchwork/profile.html +++ b/templates/patchwork/profile.html @@ -36,6 +36,19 @@ Contributor to </div> <div class="box"> +<h2>Patches for which you are waiting feedback</h2> + {% if patches_waiting_for_feedback %} + {% for project, patches in patches_waiting_for_feedback.items %} + <p><a href="{% url patchwork.views.user.submitted_patches_list project.linkname %}"> + {{ patches.count }} <strong>{{ project.linkname }}</strong> patches</a> + </p> + {% endfor %} + {% else %} + <p>There doesn't seem to be any patches for which you are waiting feedback.</p> + {% endif %} +</div> + +<div class="box"> <h2>Linked email addresses</h2> <p>The following email addresses are associated with this patchwork account. Adding alternative addresses allows patchwork to group contributions that diff --git a/templates/patchwork/submitted-list.html b/templates/patchwork/submitted-list.html new file mode 100644 index 0000000..1604187 --- /dev/null +++ b/templates/patchwork/submitted-list.html @@ -0,0 +1,14 @@ +{% extends "base.html" %} + +{% load person %} + +{% block title %}Your patches for {{ project.name }}{% endblock %} +{% block heading %}Your patches for {{ project.name }}{% endblock %} + +{% block body %} + +<h2>Patches for which you are waiting feedback</h2> + +{% include "patchwork/patch-list.html" %} + +{% endblock %} |