From d8395124b3664e9216e47234b0000ef81341f520 Mon Sep 17 00:00:00 2001 From: Simon Green Date: Tue, 3 Dec 2013 08:36:04 +1000 Subject: Bug 944586 - URLs in the query results are not links r=glob, a=sgreen --- template/en/default/list/table.html.tmpl | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'template/en/default/list') diff --git a/template/en/default/list/table.html.tmpl b/template/en/default/list/table.html.tmpl index e68542515..17eade1fe 100644 --- a/template/en/default/list/table.html.tmpl +++ b/template/en/default/list/table.html.tmpl @@ -206,6 +206,11 @@ [%- bug.$column.truncate(col_abbrev.maxlength, col_abbrev.ellipsis) FILTER html -%] + [% ELSIF column == 'bug_file_loc' && is_safe_url(bug.bug_file_loc) %] + + [%- display_value(column, bug.$column).truncate(col_abbrev.maxlength, col_abbrev.ellipsis) FILTER html -%] + [% ELSE %] [%- display_value(column, bug.$column).truncate(col_abbrev.maxlength, col_abbrev.ellipsis) FILTER html -%] [% END %] -- cgit v1.2.3-24-g4f1b