aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFrédéric Buclin <LpSolit@gmail.com>2014-11-19 18:23:22 +0100
committerFrédéric Buclin <LpSolit@gmail.com>2014-11-19 18:23:22 +0100
commit83d0d0e9e69d338159bb25c38e6ebdded22cfd83 (patch)
tree32ebbec99c23725d47fe8c5f473cd361e3b4a6e2
parentBug 1001462: Bug.search causes error when using simple token auth and specify... (diff)
downloadbugzilla-83d0d0e9e69d338159bb25c38e6ebdded22cfd83.tar.gz
bugzilla-83d0d0e9e69d338159bb25c38e6ebdded22cfd83.tar.bz2
bugzilla-83d0d0e9e69d338159bb25c38e6ebdded22cfd83.zip
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
-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 a4bb0e672..f53663685 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 %]
[%###########################################################################%]