From: Jeremy Kerr Date: Tue, 10 Aug 2010 00:58:12 +0000 (+0800) Subject: templates/patch-list: add default text for patches with no name X-Git-Url: https://git.ozlabs.org/?a=commitdiff_plain;h=16837a924858d296f288a0e9566f16e33f21195c;p=patchwork templates/patch-list: add default text for patches with no name Signed-off-by: Jeremy Kerr --- 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 @@ {% endif %} {{ patch.name }} + >{{ patch.name|default:"[no subject]" }} {{ patch.date|date:"Y-m-d" }} {{ patch.submitter|personify }} {{ patch.delegate.username }}