]> git.ozlabs.org Git - patchwork/blobdiff - patchwork/templates/patchwork/patch-list.html
Add patch tag infrastructure
[patchwork] / patchwork / templates / patchwork / patch-list.html
index 675f67ff22885c7738d1b3235c3c360032c236f5..718949e020bbbe84719c5f703a552b07e8fd038e 100644 (file)
@@ -1,5 +1,6 @@
 {% load person %}
 {% load listurl %}
+{% load patch %}
 {% load static %}
 
 {% 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 %}