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

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

index 627c89d6002ea365461ba2b701de93aa4bfb4203..1f73e34a7c7614d3a4fbbbc41d089aee1a31f735 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 %]
 
 [%###########################################################################%]