summaryrefslogtreecommitdiffstats
path: root/templates/patchwork
diff options
context:
space:
mode:
authorJeremy Kerr <jk@ozlabs.org>2010-08-10 08:58:12 +0800
committerJeremy Kerr <jk@ozlabs.org>2010-08-10 08:58:12 +0800
commit16837a924858d296f288a0e9566f16e33f21195c (patch)
tree65e210cbd307f71a621be9ddf6a2200188fc1104 /templates/patchwork
parentd2da1d19f82462bf0b357772bbab174281fc788a (diff)
downloadpatchwork-16837a924858d296f288a0e9566f16e33f21195c.tar.bz2
patchwork-16837a924858d296f288a0e9566f16e33f21195c.tar.xz
templates/patch-list: add default text for patches with no name
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'templates/patchwork')
-rw-r--r--templates/patchwork/patch-list.html2
1 files changed, 1 insertions, 1 deletions
diff --git a/templates/patchwork/patch-list.html b/templates/patchwork/patch-list.html
index d4dd325..bc9abe9 100644
--- a/templates/patchwork/patch-list.html
+++ b/templates/patchwork/patch-list.html
@@ -142,7 +142,7 @@
</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>