summaryrefslogtreecommitdiffstats
path: root/template/en
diff options
context:
space:
mode:
authorlpsolit%gmail.com <>2008-02-28 01:05:23 +0100
committerlpsolit%gmail.com <>2008-02-28 01:05:23 +0100
commit6e191c3b6af471d7b70027b510673d3190413db4 (patch)
treee0a877b56bd6b1b67d7bfc9e3604946a53baf55f /template/en
parent56848ce823a61dcb86be3b823ce9e61877e71902 (diff)
downloadbugzilla-6e191c3b6af471d7b70027b510673d3190413db4.tar.gz
bugzilla-6e191c3b6af471d7b70027b510673d3190413db4.tar.xz
Bug 417146: Sanitycheck recurses into global/message.txt.tmpl - Patch by Frédéric Buclin <LpSolit@gmail.com> r=justdave a=LpSolit
Diffstat (limited to 'template/en')
-rw-r--r--template/en/default/admin/sanitycheck/messages.html.tmpl7
1 files changed, 6 insertions, 1 deletions
diff --git a/template/en/default/admin/sanitycheck/messages.html.tmpl b/template/en/default/admin/sanitycheck/messages.html.tmpl
index 0e44b2125..2ec043c4c 100644
--- a/template/en/default/admin/sanitycheck/messages.html.tmpl
+++ b/template/en/default/admin/sanitycheck/messages.html.tmpl
@@ -281,7 +281,12 @@
[% BLOCK bug_list %]
[% FOREACH bug_id = badbugs %]
- [%+ bug_id FILTER bug_link(bug_id) FILTER none %][% ", " IF !loop.last %]
+ [%# Do not use FILTER bug_link() here, because bug_link() calls get_text()
+ # which itself calls this template again, generating a recursion error.
+ # I doubt having a tooltip with the bug status and summary is so
+ # important here anyway, as you can click the "(as buglist)" link. %]
+ <a href="show_bug.cgi?id=[% bug_id FILTER url_quote %]">[% bug_id FILTER html %]</a>
+ [% ", " IF !loop.last %]
[% END %]
(<a href="buglist.cgi?bug_id=[% badbugs.join(",") FILTER url_quote %]">as buglist</a>).
[% END %]