From: Stephen Finucane Date: Tue, 15 Mar 2016 21:14:39 +0000 (+0000) Subject: templates: Fix regression in reversed URL X-Git-Tag: v2.0.0-rc1~411 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7885d3f3d7311ad573ca0c6cf4f2980340acea7;p=thirdparty%2Fpatchwork.git templates: Fix regression in reversed URL 'f8cc68d' introduced a regression on the changes made in 'fd3bfaa'. Namely, Python path-style reversing was used, rather than reverse by name. Resolve this regression. Signed-off-by: Stephen Finucane --- diff --git a/patchwork/templates/patchwork/patch-list.html b/patchwork/templates/patchwork/patch-list.html index 167363e7..afa36210 100644 --- a/patchwork/templates/patchwork/patch-list.html +++ b/patchwork/templates/patchwork/patch-list.html @@ -172,7 +172,7 @@ $(document).ready(function() { {% endif %} - + {{ patch.name|default:"[no subject]"|truncatechars:100 }}