]> git.ozlabs.org Git - patchwork/commitdiff
Show patch list checkboxes for all authenticated users
authorJeremy Kerr <jk@ozlabs.org>
Fri, 5 Sep 2008 07:39:23 +0000 (17:39 +1000)
committerJeremy Kerr <jk@ozlabs.org>
Fri, 5 Sep 2008 07:39:23 +0000 (17:39 +1000)
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>
templates/patchwork/patch-list.html

index 14a0f0cfd7cd2e87b6cc701d1efb5eb50bf6dbf2..597806b53d3692abe9cc982d45f48ea27cc5c860 100644 (file)
@@ -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>