diff options
author | lpsolit%gmail.com <> | 2008-02-28 00:05:23 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2008-02-28 00:05:23 +0000 |
commit | 6e191c3b6af471d7b70027b510673d3190413db4 (patch) | |
tree | e0a877b56bd6b1b67d7bfc9e3604946a53baf55f /template/en/default | |
parent | 56848ce823a61dcb86be3b823ce9e61877e71902 (diff) | |
download | bugs-6e191c3b6af471d7b70027b510673d3190413db4.tar bugs-6e191c3b6af471d7b70027b510673d3190413db4.tar.gz bugs-6e191c3b6af471d7b70027b510673d3190413db4.tar.bz2 bugs-6e191c3b6af471d7b70027b510673d3190413db4.tar.xz bugs-6e191c3b6af471d7b70027b510673d3190413db4.zip |
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/default')
-rw-r--r-- | template/en/default/admin/sanitycheck/messages.html.tmpl | 7 |
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 %] |