summaryrefslogtreecommitdiffstats
path: root/templates/patchwork
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2008-09-05 17:39:23 +1000
committerJeremy Kerr <jk@ozlabs.org>2008-09-05 17:39:23 +1000
commite3fadcd6476158e57577a0b4ab69e33b0824ae6d (patch)
treebd57aea3558604d5718531c4771fbc3aa2e1a447 /templates/patchwork
parent3d3b4b3d8f694df76b7be490ca025302f8ba19ae (diff)
downloadpatchwork-e3fadcd6476158e57577a0b4ab69e33b0824ae6d.tar.bz2
patchwork-e3fadcd6476158e57577a0b4ab69e33b0824ae6d.tar.xz
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>
Diffstat (limited to 'templates/patchwork')
-rw-r--r--templates/patchwork/patch-list.html4
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>