[bugzilla-gnome-org-customizations] [Browse] Only show Priority section if more than one value exists



commit b93af7c12e1d717be1f9e458c45e9ada7208dbba
Author: Andre Klapper <a9016009 gmx de>
Date:   Wed Feb 11 01:32:56 2015 +0100

    [Browse] Only show Priority section if more than one value exists

 .../template/en/default/pages/browse.html.tmpl     |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/extensions/Browse/template/en/default/pages/browse.html.tmpl 
b/extensions/Browse/template/en/default/pages/browse.html.tmpl
index 7aefc10..6d516f9 100644
--- a/extensions/Browse/template/en/default/pages/browse.html.tmpl
+++ b/extensions/Browse/template/en/default/pages/browse.html.tmpl
@@ -257,11 +257,11 @@ Browse:
   <th>Milestones</th>
   <td>&nbsp;</td>
   [% END %]
-  [% IF by_priority.size %]
+  [% IF by_priority.size > 1 %]
   <th>Priority</th>
+  <td>&nbsp;</td>
   [% END %]
   [% IF by_severity.size %]
-  <td>&nbsp;</td>
   <th>Severity</th>
   [% END %]
 </tr>
@@ -285,7 +285,7 @@ Browse:
   <td>&nbsp;</td>
   [% END %]
 
-  [% IF by_priority.size %]
+  [% IF by_priority.size > 1 %]
   <td valign="top">
   <table border="0" cellpadding="0" cellspacing="0" class="figures">
   [% FOREACH col = by_priority %]
@@ -303,10 +303,10 @@ Browse:
   [% END %]
   </table>
   </td>
+  <td>&nbsp;</td>
   [% END %]
 
   [% IF by_severity.size %]
-  <td>&nbsp;</td>
   <td valign="top">
   <table border="0" cellpadding="0" cellspacing="0" class="figures">
   [% FOREACH col = by_severity %]


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]