]> git.ozlabs.org Git - patchwork/blobdiff - templates/patchwork/patch-list.html
templates/patch-list: add default text for patches with no name
[patchwork] / templates / patchwork / patch-list.html
index d4dd325c61fc4899548dd3cb00edc4495f2c7480..bc9abe943e62364bd1a5fbcea698e9e52c79467b 100644 (file)
     </td>
     {% endif %}
    <td><a href="{% url patchwork.views.patch.patch patch_id=patch.id %}"
-     >{{ patch.name }}</a></td>
+     >{{ patch.name|default:"[no subject]" }}</a></td>
    <td>{{ patch.date|date:"Y-m-d" }}</td>
    <td>{{ patch.submitter|personify }}</td>
    <td>{{ patch.delegate.username }}</td>