[bugzilla-gnome-org-customizations/production] [Browse] Only display Target Milestones section if used in project
- From: Andrea Veri <av src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [bugzilla-gnome-org-customizations/production] [Browse] Only display Target Milestones section if used in project
- Date: Wed, 11 Feb 2015 11:49:01 +0000 (UTC)
commit 41142b35700eb32e1c8eb9f380bfc74567bd904b
Author: Andre Klapper <a9016009 gmx de>
Date: Wed Feb 11 01:31:05 2015 +0100
[Browse] Only display Target Milestones section if used in project
.../template/en/default/pages/browse.html.tmpl | 9 +++++++--
1 files changed, 7 insertions(+), 2 deletions(-)
---
diff --git a/extensions/Browse/template/en/default/pages/browse.html.tmpl
b/extensions/Browse/template/en/default/pages/browse.html.tmpl
index 7ac9b8d..7aefc10 100644
--- a/extensions/Browse/template/en/default/pages/browse.html.tmpl
+++ b/extensions/Browse/template/en/default/pages/browse.html.tmpl
@@ -253,9 +253,11 @@ Browse:
<table cellpadding="3" cellspacing="0">
<tr>
+ [% IF by_target.size > 0 %]
<th>Milestones</th>
- [% IF by_priority.size %]
<td> </td>
+ [% END %]
+ [% IF by_priority.size %]
<th>Priority</th>
[% END %]
[% IF by_severity.size %]
@@ -264,6 +266,8 @@ Browse:
[% END %]
</tr>
<tr>
+
+ [% IF by_target.size > 0 %]
<td valign="top">
<table border="0" cellpadding="0" cellspacing="0" class="figures">
[% FOREACH col = by_target %]
@@ -278,9 +282,10 @@ Browse:
[% END %]
</table>
</td>
+ <td> </td>
+ [% END %]
[% IF by_priority.size %]
- <td> </td>
<td valign="top">
<table border="0" cellpadding="0" cellspacing="0" class="figures">
[% FOREACH col = by_priority %]
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]