diff options
author | Frédéric Buclin <LpSolit@gmail.com> | 2011-08-07 02:31:57 +0200 |
---|---|---|
committer | Frédéric Buclin <LpSolit@gmail.com> | 2011-08-07 02:31:57 +0200 |
commit | fa8fd93aa2a2625b87f17cf4b61f60a774f8b8b4 (patch) | |
tree | 86c6f527aa08d9d1b5b05abb3c50ce89cacaae13 /template/en | |
parent | 9f377584a44739183c3ce1eced8ed33f4f0894d4 (diff) | |
download | bugzilla-fa8fd93aa2a2625b87f17cf4b61f60a774f8b8b4.tar.gz bugzilla-fa8fd93aa2a2625b87f17cf4b61f60a774f8b8b4.tar.xz |
Bug 55436: Implement list of duplicate bug numbers on show_bug.cgi
r=mkanat a=LpSolit
Diffstat (limited to 'template/en')
-rw-r--r-- | template/en/default/bug/edit.html.tmpl | 31 |
1 files changed, 28 insertions, 3 deletions
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 %] </table> @@ -625,8 +627,31 @@ [% END %] [%############################################################################%] -[%# Block for Depends On / Blocks #%] +[%# Block for Duplicates #%] +[%############################################################################%] + +[% BLOCK section_duplicates %] + [% RETURN UNLESS bug.duplicates.size %] + <tr> + <td class="field_label"> + <label for="duplicates">Duplicates</label>: + </td> + <td class="field_value" colspan="2"> + <span id="duplicates"> + [% FOREACH dupe = bug.duplicates %] + [% dupe.id FILTER bug_link(dupe, use_alias => 1) FILTER none %][% " " %] + [% END %] + </span> + (<a href="buglist.cgi?bug_id=[% bug.duplicate_ids.join(",") FILTER html %]"> + [%-%]view as [% terms.bug %] list</a>) + </td> + </tr> +[% END %] + +[%############################################################################%] +[%# Block for Depends On / Blocks #%] [%############################################################################%] + [% BLOCK section_dependson_blocks %] <tr> [% INCLUDE dependencies |