]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 1097798: Do not display the resolution in the dependency tree for open bugs,...
authorFrédéric Buclin <LpSolit@gmail.com>
Wed, 19 Nov 2014 17:23:22 +0000 (18:23 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Wed, 19 Nov 2014 17:23:22 +0000 (18:23 +0100)
r=dkl a=glob

template/en/default/bug/dependency-tree.html.tmpl

index a4bb0e67216e70d8a3e0e20cc6d3b6c883853b4c..f53663685c02fe8c7e96fe409b43b0d7d6eb39b1 100644 (file)
 [% END %]
 
 [% BLOCK buginfo %]
-  [% display_value("bug_status", bug.bug_status) FILTER html -%] [%+ display_value("resolution", bug.resolution) FILTER html %];
+  [% display_value("bug_status", bug.bug_status) FILTER html -%]
+  [%- IF bug.resolution %] [%+ display_value("resolution", bug.resolution) FILTER html %][% END %];
   [%-%] assigned to [% bug.assigned_to.login FILTER email FILTER html %]
-  [%-%][% "; Target: " _ bug.target_milestone IF bug.target_milestone %]
+  [% IF Param("usetargetmilestone") AND bug.target_milestone %]
+    [%-%]; target: [% bug.target_milestone FILTER html %]
+  [% END %]
 [% END %]
 
 [%###########################################################################%]