Commit 50e95ca1 authored by gerv%gerv.net's avatar gerv%gerv.net

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.
parent e5b4b821
...@@ -170,7 +170,7 @@ ...@@ -170,7 +170,7 @@
[% IF Param("usetargetmilestone") && bug.target_milestone %] [% IF Param("usetargetmilestone") && bug.target_milestone %]
<td align="right"> <td align="right">
<b> <b>
<a href="[% bug.milestoneurl %]">Target Milestone</a>: <a href="[% bug.milestoneurl filter uri %]">Target Milestone</a>:
</b> </b>
</td> </td>
[% PROCESS select selname = "target_milestone" %] [% PROCESS select selname = "target_milestone" %]
...@@ -196,10 +196,11 @@ ...@@ -196,10 +196,11 @@
<td align="right"> <td align="right">
<b> <b>
[% IF bug.url %] [% IF bug.url %]
<a href="[% bug.url FILTER url %]">URL:</a> <a href="[% bug.bug_file_loc FILTER uri %]">URL:</a>
[% ELSE %] [% ELSE %]
URL: URL:
[% END %] [% END %]
</b>
</td> </td>
<td colspan="7"> <td colspan="7">
<input name="bug_file_loc" value="[% bug.bug_file_loc %]" size="60"> <input name="bug_file_loc" value="[% bug.bug_file_loc %]" size="60">
...@@ -244,7 +245,8 @@ ...@@ -244,7 +245,8 @@
[%# *** Attachments *** %] [%# *** Attachments *** %]
[% INCLUDE attachment/list.atml [% INCLUDE attachment/list.atml
attachments = bug.attachments %] attachments = bug.attachments
bugid = bug.bug_id %]
[%# *** Dependencies Votes *** %] [%# *** Dependencies Votes *** %]
...@@ -297,7 +299,7 @@ ...@@ -297,7 +299,7 @@
accesskey="c"></textarea> accesskey="c"></textarea>
<br> <br>
[% IF groups %] [% IF groups.size > 0 %]
<br> <br>
<b>Only users in the selected groups can view this bug:</b> <b>Only users in the selected groups can view this bug:</b>
<br> <br>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment