diff options
author | gerv%gerv.net <> | 2002-03-26 08:03:55 +0100 |
---|---|---|
committer | gerv%gerv.net <> | 2002-03-26 08:03:55 +0100 |
commit | 50e95ca16df99d270f6b99abbf0eee3a6ab654d1 (patch) | |
tree | a9a26d83eccb1a1e83713775d2e833b0d034d384 /template/default | |
parent | e5b4b8214a6a181cc0fca8a6438d47c672cdce40 (diff) | |
download | bugzilla-50e95ca16df99d270f6b99abbf0eee3a6ab654d1.tar.gz bugzilla-50e95ca16df99d270f6b99abbf0eee3a6ab654d1.tar.xz |
Fixes to small issues with show_bug.cgi templatisation.
Bug 133276 - groups test is wrong. Patch by ddk, 2xr=gerv.
Bug 133333 - create new attachment link broken. Patch by ddk, 2xr=gerv.
Bug 109029 - show_bug should generate valid HTML. Patch by gerv, r=afranke, bbaetz.
Diffstat (limited to 'template/default')
-rw-r--r-- | template/default/show/show_bug.html.tmpl | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/template/default/show/show_bug.html.tmpl b/template/default/show/show_bug.html.tmpl index a91de24b9..3e5950e99 100644 --- a/template/default/show/show_bug.html.tmpl +++ b/template/default/show/show_bug.html.tmpl @@ -170,7 +170,7 @@ [% IF Param("usetargetmilestone") && bug.target_milestone %] <td align="right"> <b> - <a href="[% bug.milestoneurl %]">Target Milestone</a>: + <a href="[% bug.milestoneurl filter uri %]">Target Milestone</a>: </b> </td> [% PROCESS select selname = "target_milestone" %] @@ -195,11 +195,12 @@ <tr> <td align="right"> <b> - [% IF bug.url %] - <a href="[% bug.url FILTER url %]">URL:</a> - [% ELSE %] - URL: - [% END %] + [% IF bug.url %] + <a href="[% bug.bug_file_loc FILTER uri %]">URL:</a> + [% ELSE %] + URL: + [% END %] + </b> </td> <td colspan="7"> <input name="bug_file_loc" value="[% bug.bug_file_loc %]" size="60"> @@ -244,7 +245,8 @@ [%# *** Attachments *** %] [% INCLUDE attachment/list.atml - attachments = bug.attachments %] + attachments = bug.attachments + bugid = bug.bug_id %] [%# *** Dependencies Votes *** %] @@ -297,7 +299,7 @@ accesskey="c"></textarea> <br> - [% IF groups %] + [% IF groups.size > 0 %] <br> <b>Only users in the selected groups can view this bug:</b> <br> |