diff options
-rw-r--r-- | extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl index 25f785a9d..06b6c801d 100644 --- a/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl +++ b/extensions/BugModal/template/en/default/bug_modal/edit.html.tmpl @@ -166,9 +166,12 @@ view_only = 1 %] <div id="field-value-bug_id"> - <a id="this-bug" href="show_bug.cgi?id=[% bug.id FILTER none %] - [%~ '&format=' _ cgi.param("format") FILTER uri IF cgi.param("format") %]" - > + [% this_bug_href = "show_bug.cgi?id=$bug.id" %] + [% IF cgi.param("format") %] + [% format_uri = cgi.param("format") FILTER uri %] + [% this_bug_href = this_bug_href _ "&format=" _ format_uri %] + [% END %] + <a id="this-bug" href="[% this_bug_href FILTER html %]"> [%~ terms.Bug _ " " _ bug.id FILTER none ~%] </a> [% IF bug.alias %] |