diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2008-09-05 17:39:23 +1000 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2008-09-05 17:39:23 +1000 |
commit | e3fadcd6476158e57577a0b4ab69e33b0824ae6d (patch) | |
tree | bd57aea3558604d5718531c4771fbc3aa2e1a447 | |
parent | 3d3b4b3d8f694df76b7be490ca025302f8ba19ae (diff) | |
download | patchwork-e3fadcd6476158e57577a0b4ab69e33b0824ae6d.tar patchwork-e3fadcd6476158e57577a0b4ab69e33b0824ae6d.tar.gz |
Show patch list checkboxes for all authenticated users
Although only some users can alter patches, others still need the
checkboxes to select patches to bundle.
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
-rw-r--r-- | templates/patchwork/patch-list.html | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/templates/patchwork/patch-list.html b/templates/patchwork/patch-list.html index 14a0f0c..597806b 100644 --- a/templates/patchwork/patch-list.html +++ b/templates/patchwork/patch-list.html @@ -24,7 +24,7 @@ <input type="hidden" name="project" value="{{project.id}}"/> <table class="patchlist"> <tr> - {% if patchform or bundle %} + {% if user.is_authenticated %} <th/> {% endif %} @@ -98,7 +98,7 @@ {% if page %} {% for patch in page.object_list %} <tr class="{% cycle 'odd' 'even' %}"> - {% if patchform or bundle %} + {% if user.is_authenticated %} <td> <input type="checkbox" name="patch_id:{{patch.id}}"/> </td> |