summaryrefslogtreecommitdiffstats
path: root/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl')
-rw-r--r--extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl19
1 files changed, 10 insertions, 9 deletions
diff --git a/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl b/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl
index a8096e391..daf0ea6df 100644
--- a/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl
+++ b/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl
@@ -56,11 +56,6 @@
link => "page.cgi?id=productdashboard.html&product=$url_filtered_product&bug_status=$url_filtered_status&tab=duplicates"
},
{
- name => "popularity",
- label => "Popularity",
- link => "page.cgi?id=productdashboard.html&product=$url_filtered_product&bug_status=$url_filtered_status&tab=popularity"
- },
- {
name => "roadmap",
label => "Road Map",
link => "page.cgi?id=productdashboard.html&product=$url_filtered_product&bug_status=$url_filtered_status&tab=roadmap"
@@ -68,6 +63,16 @@
]
%]
+[% IF product.votesperuser %]
+ [%
+ tabs.push({
+ name => "popularity",
+ label => "Popularity",
+ link => "page.cgi?id=productdashboard.html&product=$url_filtered_product&bug_status=$url_filtered_status&tab=popularity"
+ })
+ %]
+[% END %]
+
[% FOREACH tab IN tabs %]
[% IF tab.name == current_tab_name %]
[% current_tab = tab %]
@@ -152,10 +157,6 @@
current_tab = current_tab
%]
- <div class="current_tab_label">
- [% current_tab.label FILTER html %]
- </div>
-
[% IF current_tab.name == 'summary' %]
[% PROCESS pages/productdashboard/summary.html.tmpl %]
[% END %]