diff options
author | Jeremy Kerr <jk@ozlabs.org> | 2010-08-10 08:58:12 +0800 |
---|---|---|
committer | Jeremy Kerr <jk@ozlabs.org> | 2010-08-10 08:58:12 +0800 |
commit | 16837a924858d296f288a0e9566f16e33f21195c (patch) | |
tree | 65e210cbd307f71a621be9ddf6a2200188fc1104 /templates | |
parent | d2da1d19f82462bf0b357772bbab174281fc788a (diff) | |
download | patchwork-16837a924858d296f288a0e9566f16e33f21195c.tar patchwork-16837a924858d296f288a0e9566f16e33f21195c.tar.gz |
templates/patch-list: add default text for patches with no name
Signed-off-by: Jeremy Kerr <jk@ozlabs.org>
Diffstat (limited to 'templates')
-rw-r--r-- | templates/patchwork/patch-list.html | 2 |
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> |