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 %]