From 50e95ca16df99d270f6b99abbf0eee3a6ab654d1 Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Tue, 26 Mar 2002 07:03:55 +0000 Subject: 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. --- template/default/show/show_bug.html.tmpl | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) (limited to 'template') 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 %] - Target Milestone: + Target Milestone: [% PROCESS select selname = "target_milestone" %] @@ -195,11 +195,12 @@ - [% IF bug.url %] - URL: - [% ELSE %] - URL: - [% END %] + [% IF bug.url %] + URL: + [% ELSE %] + URL: + [% END %] + @@ -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">
- [% IF groups %] + [% IF groups.size > 0 %]
Only users in the selected groups can view this bug:
-- cgit v1.2.3-24-g4f1b