]> 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:20:00 +0000 (18:20 +0100)
committerFrédéric Buclin <LpSolit@gmail.com>
Wed, 19 Nov 2014 17:20:00 +0000 (18:20 +0100)
r=dkl a=glob

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

index 16299c121c6951eecf850f98629099d5fd34151b..a2730f3c91ab5def17c7a4f64b9ea536a528ae33 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 %]
 
 [%###########################################################################%]