]> git.ozlabs.org Git - patchwork/blobdiff - patchwork/templates/patchwork/patch-list.html
trivial: Remove Python < 2.5 code
[patchwork] / patchwork / templates / patchwork / patch-list.html
index 675f67ff22885c7738d1b3235c3c360032c236f5..4b3cb23afe7217c075995a042fd5c305a9327f08 100644 (file)
@@ -1,7 +1,10 @@
 {% load person %}
 {% load listurl %}
+{% load patch %}
 {% load static %}
 
+{% load cycle from future %}
+
 {% include "patchwork/pagination.html" %}
 
 
     {% endifequal %}
    </th>
 
+   <th>
+    <span
+     title="{% for tag in project.tags %}{{tag.name}}{% if not forloop.last %} / {% endif %}{% endfor %}"
+     >{% for tag in project.tags %}{{tag.abbrev}}{% if not forloop.last %}/{% endif %}{% endfor %}</span>
+   </th>
+
    <th>
     {% ifequal order.name "date" %}
      <a class="colactive"
     {% endif %}
    <td><a href="{% url 'patchwork.views.patch.patch' patch_id=patch.id %}"
      >{{ patch.name|default:"[no subject]" }}</a></td>
+   <td style="white-space: nowrap;">{{ patch|patch_tags }}</td>
    <td>{{ patch.date|date:"Y-m-d" }}</td>
    <td>{{ patch.submitter|personify:project }}</td>
    <td>{{ patch.delegate.username }}</td>
 
 {% else %}
  <tr>
-  <td colspan="5">No patches to display</td>
+  <td colspan="6">No patches to display</td>
  </tr>
 {% endif %}