diff options
-rw-r--r-- | template/en/default/admin/sanitycheck/messages.html.tmpl | 14 |
1 files changed, 9 insertions, 5 deletions
diff --git a/template/en/default/admin/sanitycheck/messages.html.tmpl b/template/en/default/admin/sanitycheck/messages.html.tmpl index 2ec043c4c..f493e403c 100644 --- a/template/en/default/admin/sanitycheck/messages.html.tmpl +++ b/template/en/default/admin/sanitycheck/messages.html.tmpl @@ -120,7 +120,7 @@ [%+ table FILTER html %].[% field FILTER html %] [% IF keyname %] [% IF keyname == "bug_id" %] - ([% "$terms.bug $key" FILTER bug_link(key) FILTER none %]) + ([% PROCESS bug_link bug_id = key %]) [% ELSE %] ([% keyname FILTER html %] == '[% key FILTER html %]') [% END %] @@ -148,7 +148,7 @@ [%+ table FILTER html %].[% field2 FILTER html %]. [% IF keyname %] [% IF keyname == "bug_id" %] - ([% "$terms.bug $key" FILTER bug_link(key) FILTER none %]) + ([% PROCESS bug_link bug_id = key %]) [% ELSE %] ([% keyname FILTER html %] == '[% key FILTER html %]') [% END %] @@ -168,7 +168,7 @@ [% IF attach_id %] attachment [% attach_id FILTER html %] in [% END %] - [%+ "$terms.bug $bug_id" FILTER bug_link(bug_id) FILTER none %]. + [%+ PROCESS bug_link bug_id = bug_id %]. [% ELSIF san_tag == "flag_fix" %] <a href="sanitycheck.cgi?remove_invalid_flags=1">Click @@ -205,7 +205,7 @@ Bogus keywordids [% id FILTER html %] found in keywords table. [% ELSIF san_tag == "keyword_check_duplicated_ids" %] - Duplicate keyword IDs found in [% "$terms.bug $id" FILTER bug_link(id) FILTER none %]. + Duplicate keyword IDs found in [% PROCESS bug_link bug_id = id %]. [% ELSIF san_tag == "keyword_cache_start" %] Checking cached keywords. @@ -265,7 +265,7 @@ rebuild the vote cache</a> [% ELSIF san_tag == "vote_cache_alert" %] - Bad vote cache for [% "$terms.bug $id" FILTER bug_link(id) FILTER none %] + Bad vote cache for [% PROCESS bug_link bug_id = id %] [% ELSIF san_tag == "vote_count_start" %] Checking cached vote counts. @@ -290,3 +290,7 @@ [% END %] (<a href="buglist.cgi?bug_id=[% badbugs.join(",") FILTER url_quote %]">as buglist</a>). [% END %] + +[% BLOCK bug_link %] + <a href="show_bug.cgi?id=[% bug_id FILTER url_quote %]">[% terms.bug %] [%+ bug_id FILTER html %]</a> +[% END %] |