From fa8fd93aa2a2625b87f17cf4b61f60a774f8b8b4 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Sun, 7 Aug 2011 02:31:57 +0200 Subject: Bug 55436: Implement list of duplicate bug numbers on show_bug.cgi r=mkanat a=LpSolit --- template/en/default/bug/edit.html.tmpl | 31 ++++++++++++++++++++++++++++--- 1 file changed, 28 insertions(+), 3 deletions(-) (limited to 'template/en/default/bug') diff --git a/template/en/default/bug/edit.html.tmpl b/template/en/default/bug/edit.html.tmpl index ab150dd31..c2f8894d7 100644 --- a/template/en/default/bug/edit.html.tmpl +++ b/template/en/default/bug/edit.html.tmpl @@ -164,8 +164,10 @@ [% PROCESS section_url_keyword_whiteboard %] [% PROCESS section_spacer %] - - [%# *** Dependencies *** %] + + [%# *** Dependencies and duplicates *** %] + [% PROCESS section_duplicates %] + [% PROCESS section_dependson_blocks %] @@ -625,8 +627,31 @@ [% END %] [%############################################################################%] -[%# Block for Depends On / Blocks #%] +[%# Block for Duplicates #%] +[%############################################################################%] + +[% BLOCK section_duplicates %] + [% RETURN UNLESS bug.duplicates.size %] + + + : + + + + [% FOREACH dupe = bug.duplicates %] + [% dupe.id FILTER bug_link(dupe, use_alias => 1) FILTER none %][% " " %] + [% END %] + + ( + [%-%]view as [% terms.bug %] list) + + +[% END %] + +[%############################################################################%] +[%# Block for Depends On / Blocks #%] [%############################################################################%] + [% BLOCK section_dependson_blocks %] [% INCLUDE dependencies -- cgit v1.2.3-24-g4f1b