summaryrefslogtreecommitdiffstats
path: root/template/en/default/bug
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2014-11-19 18:20:00 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2014-11-19 18:20:00 +0100
commitca99361e17e2ebc0a5bbb017a5c9cb347c49caae (patch)
treeee47c6c80f4efe3dc776e96a344ca5e6ecce128d /template/en/default/bug
parent259615dd0912f238868a78be5ed5f9c73e588964 (diff)
downloadbugzilla-ca99361e17e2ebc0a5bbb017a5c9cb347c49caae.tar.gz
bugzilla-ca99361e17e2ebc0a5bbb017a5c9cb347c49caae.tar.xz
Bug 1097798: Do not display the resolution in the dependency tree for open bugs, nor the target milestone if usetargetmilestone is off
r=dkl a=glob
Diffstat (limited to 'template/en/default/bug')
-rw-r--r--template/en/default/bug/dependency-tree.html.tmpl7
1 files changed, 5 insertions, 2 deletions
diff --git a/template/en/default/bug/dependency-tree.html.tmpl b/template/en/default/bug/dependency-tree.html.tmpl
index 16299c121..a2730f3c9 100644
--- a/template/en/default/bug/dependency-tree.html.tmpl
+++ b/template/en/default/bug/dependency-tree.html.tmpl
@@ -152,9 +152,12 @@
[% 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 %]
[%###########################################################################%]