From 078bff5ad35277f31e7db5fe1761e41e1c76d1de Mon Sep 17 00:00:00 2001 From: Dylan William Hardison Date: Thu, 27 Jul 2017 16:47:59 -0700 Subject: Bug 1369211 - Remove the product dashboard extension as it exists --- .../global/common-links-action-links.html.tmpl | 9 - .../hook/global/user-error-errors.html.tmpl | 12 -- .../en/default/pages/productdashboard.html.tmpl | 236 --------------------- .../pages/productdashboard/components.html.tmpl | 146 ------------- .../pages/productdashboard/duplicates.html.tmpl | 34 --- .../pages/productdashboard/popularity.html.tmpl | 38 ---- .../pages/productdashboard/recents.html.tmpl | 87 -------- .../pages/productdashboard/roadmap.html.tmpl | 27 --- .../pages/productdashboard/summary.html.tmpl | 122 ----------- 9 files changed, 711 deletions(-) delete mode 100644 extensions/ProductDashboard/template/en/default/hook/global/common-links-action-links.html.tmpl delete mode 100644 extensions/ProductDashboard/template/en/default/hook/global/user-error-errors.html.tmpl delete mode 100644 extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl delete mode 100644 extensions/ProductDashboard/template/en/default/pages/productdashboard/components.html.tmpl delete mode 100644 extensions/ProductDashboard/template/en/default/pages/productdashboard/duplicates.html.tmpl delete mode 100644 extensions/ProductDashboard/template/en/default/pages/productdashboard/popularity.html.tmpl delete mode 100644 extensions/ProductDashboard/template/en/default/pages/productdashboard/recents.html.tmpl delete mode 100644 extensions/ProductDashboard/template/en/default/pages/productdashboard/roadmap.html.tmpl delete mode 100644 extensions/ProductDashboard/template/en/default/pages/productdashboard/summary.html.tmpl (limited to 'extensions/ProductDashboard/template/en') diff --git a/extensions/ProductDashboard/template/en/default/hook/global/common-links-action-links.html.tmpl b/extensions/ProductDashboard/template/en/default/hook/global/common-links-action-links.html.tmpl deleted file mode 100644 index e9be8a13d..000000000 --- a/extensions/ProductDashboard/template/en/default/hook/global/common-links-action-links.html.tmpl +++ /dev/null @@ -1,9 +0,0 @@ -[%# This Source Code Form is subject to the terms of the Mozilla Public - # License, v. 2.0. If a copy of the MPL was not distributed with this - # file, You can obtain one at http://mozilla.org/MPL/2.0/. - # - # This Source Code Form is "Incompatible With Secondary Licenses", as - # defined by the Mozilla Public License, v. 2.0. - #%] - -
  • | Product Dashboard
  • diff --git a/extensions/ProductDashboard/template/en/default/hook/global/user-error-errors.html.tmpl b/extensions/ProductDashboard/template/en/default/hook/global/user-error-errors.html.tmpl deleted file mode 100644 index d8af64d31..000000000 --- a/extensions/ProductDashboard/template/en/default/hook/global/user-error-errors.html.tmpl +++ /dev/null @@ -1,12 +0,0 @@ -[%# This Source Code Form is subject to the terms of the Mozilla Public - # License, v. 2.0. If a copy of the MPL was not distributed with this - # file, You can obtain one at http://mozilla.org/MPL/2.0/. - # - # This Source Code Form is "Incompatible With Secondary Licenses", as - # defined by the Mozilla Public License, v. 2.0. - #%] - -[% IF error == "product_dashboard_invalid_recent_days" %] - [% title = "Invalid Recent Days" %] - Invalid value for recent days. -[% END %] diff --git a/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl b/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl deleted file mode 100644 index 413239b6c..000000000 --- a/extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl +++ /dev/null @@ -1,236 +0,0 @@ -[%# This Source Code Form is subject to the terms of the Mozilla Public - # License, v. 2.0. If a copy of the MPL was not distributed with this - # file, You can obtain one at http://mozilla.org/MPL/2.0/. - # - # This Source Code Form is "Incompatible With Secondary Licenses", as - # defined by the Mozilla Public License, v. 2.0. - #%] - -[% PROCESS global/variables.none.tmpl %] - -[% javascript_urls = [ "js/yui3.js", - "js/util.js", - "js/field.js" ] -%] - -[% IF current_tab_name == 'summary' %] - [% javascript_urls.push("extensions/ProductDashboard/web/js/summary.js") %] -[% ELSIF current_tab_name == 'recents' %] - [% javascript_urls.push("js/field.js") %] - [% javascript_urls.push("js/util.js") %] - [% javascript_urls.push("extensions/ProductDashboard/web/js/recents.js") %] -[% ELSIF current_tab_name == 'components' %] - [% javascript_urls.push("extensions/ProductDashboard/web/js/components.js") %] -[% ELSIF current_tab_name == 'duplicates' %] - [% javascript_urls.push("extensions/ProductDashboard/web/js/duplicates.js") %] -[% ELSIF current_tab_name == 'popularity' %] - [% javascript_urls.push("extensions/ProductDashboard/web/js/popularity.js") %] -[% ELSIF current_tab_name == 'roadmap' && Param('usetargetmilestone') %] - [% javascript_urls.push("extensions/ProductDashboard/web/js/roadmap.js") %] -[% END %] - -[% js = BLOCK %] - PD = {}; - [%# Set up severities list for proper sorting %] - PD.severities = new Array(); - [% sort_count = 0 %] - [% FOREACH s = severities %] - PD.severities['[% s FILTER js %]'] = [% sort_count FILTER js %]; - [% sort_count = sort_count + 1 %] - [% END %] -[% END %] - -[% filtered_product = product.name FILTER html %] -[% PROCESS global/header.html.tmpl - title = "Product Dashboard: $filtered_product" - generate_api_token = 1 - javascript = js - style_urls = [ "skins/yui3.css", - "skins/standard/buglist.css", - "extensions/ProductDashboard/web/styles/productdashboard.css" ] -%] - -[% url_filtered_product = product.name FILTER uri %] -[% url_filtered_status = bug_status FILTER uri %] - -[% tabs = [ - { - name => "summary", - label => "Summary", - link => "page.cgi?id=productdashboard.html&product=$url_filtered_product&bug_status=$url_filtered_status&tab=summary" - }, - { - name => "recents", - label => "Recents", - link => "page.cgi?id=productdashboard.html&product=$url_filtered_product&bug_status=$url_filtered_status&tab=recents" - }, - { - name => "components", - label => "Components/Versions", - link => "page.cgi?id=productdashboard.html&product=$url_filtered_product&bug_status=$url_filtered_status&tab=components" - }, - { - name => "duplicates", - label => "Duplicates", - link => "page.cgi?id=productdashboard.html&product=$url_filtered_product&bug_status=$url_filtered_status&tab=duplicates" - }, - { - name => "roadmap", - label => "Road Map", - link => "page.cgi?id=productdashboard.html&product=$url_filtered_product&bug_status=$url_filtered_status&tab=roadmap" - }, - ] -%] - -[% 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 %] - [% LAST %] - [% END %] -[% END %] - -[% full_bug_count = 0 %] -[% IF bug_status == 'open' %] - [% full_bug_count = total_open_bugs %] -[% ELSIF bug_status == 'closed' %] - [% full_bug_count = total_closed_bugs %] -[% ELSE %] - [% full_bug_count = total_bugs %] -[% END %] - -[% bug_link = bug_link_all %] -[% IF bug_status == 'open' %] - [% bug_link = bug_link_open %] -[% ELSIF bug_status == 'closed' %] - [% bug_link = bug_link_closed %] -[% END %] - -
    - - -
    - - - - [% IF summary.keys %] - - [% END %] - - [% IF product %] - - - - [% END %] - - Choose product: - - - - - - [% IF product %] -
    - [% product.name FILTER html %] -
    - -
    - [% product.description FILTER none %] -
    - - [% WRAPPER global/tabs.html.tmpl - tabs = tabs - current_tab = current_tab - %] - - [% IF current_tab.name == 'summary' %] - [% PROCESS pages/productdashboard/summary.html.tmpl %] - [% END %] - - [% IF current_tab.name == 'recents' %] - [% PROCESS pages/productdashboard/recents.html.tmpl %] - [% END %] - - [% IF current_tab.name == 'components' %] - [% PROCESS pages/productdashboard/components.html.tmpl %] - [% END %] - - [% IF current_tab.name == 'duplicates' %] - [% PROCESS pages/productdashboard/duplicates.html.tmpl %] - [% END %] - - [% IF current_tab.name == 'popularity' %] - [% PROCESS pages/productdashboard/popularity.html.tmpl %] - [% END %] - - [% IF current_tab.name == 'roadmap' && Param('usetargetmilestone') %] - [% PROCESS pages/productdashboard/roadmap.html.tmpl %] - [% END %] - - [% END %][%# END WRAPPER %] - [% END %] - -
    -
    - -[% PROCESS global/footer.html.tmpl %] - -[% BLOCK bar_graph %] - [% IF full_bug_count > 0 %][%# No divide by zero %] - [% percentage_bugs = (count / full_bug_count) * 100 FILTER format('%02.2f') %] - [% ELSE %] - [% percentage_bugs = 0 %] - [% END %] -
    - - - - - -
    - - - - -
    - - - -
    -
       [% percentage_bugs FILTER html %]%
    -
    -[% END %] - diff --git a/extensions/ProductDashboard/template/en/default/pages/productdashboard/components.html.tmpl b/extensions/ProductDashboard/template/en/default/pages/productdashboard/components.html.tmpl deleted file mode 100644 index d46fbc982..000000000 --- a/extensions/ProductDashboard/template/en/default/pages/productdashboard/components.html.tmpl +++ /dev/null @@ -1,146 +0,0 @@ -[%# This Source Code Form is subject to the terms of the Mozilla Public - # License, v. 2.0. If a copy of the MPL was not distributed with this - # file, You can obtain one at http://mozilla.org/MPL/2.0/. - # - # This Source Code Form is "Incompatible With Secondary Licenses", as - # defined by the Mozilla Public License, v. 2.0. - #%] - -[% IF summary.keys %] - -

    Summary for [% summary.type FILTER html %]: [% summary.value FILTER html %]

    - - - -[% IF user.is_timetracker %] -

    - Past Due | - Updated Recently -

    -[% END %] - -
    - - [% IF user.is_timetracker %] - - [% summary.past_due.size FILTER html %] Past Due [% terms.Bugs %] (deadline is before today's date) - (full list) -
    -
    - [% END %] - - - [% summary.updated_recently.size FILTER html %] Most Recently Updated [% terms.Bugs %] - [% IF user.is_timetracker %](back to top)[% END %] - (full list) -
    -
    - -[% ELSE %] - - - -

    [% terms.Bug %] counts per component, version and milestone.

    - -

    - Component | - Version | - Milestone -

    - -

    Click on a value to show a list of most recently updated [% terms.bugs %].

    - -
    - - Component -
    -
    - - Version - (back to top) -
    - [% IF Param('usetargetmilestone') %] -
    - - Milestone - (back to top) -
    - [% END %] -
    - -[% END %] diff --git a/extensions/ProductDashboard/template/en/default/pages/productdashboard/duplicates.html.tmpl b/extensions/ProductDashboard/template/en/default/pages/productdashboard/duplicates.html.tmpl deleted file mode 100644 index 8d9d240ed..000000000 --- a/extensions/ProductDashboard/template/en/default/pages/productdashboard/duplicates.html.tmpl +++ /dev/null @@ -1,34 +0,0 @@ -[%# This Source Code Form is subject to the terms of the Mozilla Public - # License, v. 2.0. If a copy of the MPL was not distributed with this - # file, You can obtain one at http://mozilla.org/MPL/2.0/. - # - # This Source Code Form is "Incompatible With Secondary Licenses", as - # defined by the Mozilla Public License, v. 2.0. - #%] - - - -

    Most duplicated [% terms.bugs %]

    - -[% IF by_duplicate.size %] - [% by_duplicate.size FILTER html %] [% terms.Bugs %] Found -
    -
    -
    -[% ELSE %] - No duplicate [% terms.bugs %] found. -[% END %] diff --git a/extensions/ProductDashboard/template/en/default/pages/productdashboard/popularity.html.tmpl b/extensions/ProductDashboard/template/en/default/pages/productdashboard/popularity.html.tmpl deleted file mode 100644 index dd895f078..000000000 --- a/extensions/ProductDashboard/template/en/default/pages/productdashboard/popularity.html.tmpl +++ /dev/null @@ -1,38 +0,0 @@ -[%# This Source Code Form is subject to the terms of the Mozilla Public - # License, v. 2.0. If a copy of the MPL was not distributed with this - # file, You can obtain one at http://mozilla.org/MPL/2.0/. - # - # This Source Code Form is "Incompatible With Secondary Licenses", as - # defined by the Mozilla Public License, v. 2.0. - #%] - - - - - -

    Most voted on [% terms.bugs %]

    - -[% IF by_popularity.size %] - [% by_popularity.size FILTER html %] [% terms.Bugs %] Found -
    -
    -
    -[% ELSE %] - No [% terms.bugs %] found. -[% END %] diff --git a/extensions/ProductDashboard/template/en/default/pages/productdashboard/recents.html.tmpl b/extensions/ProductDashboard/template/en/default/pages/productdashboard/recents.html.tmpl deleted file mode 100644 index 0f4a2dcf2..000000000 --- a/extensions/ProductDashboard/template/en/default/pages/productdashboard/recents.html.tmpl +++ /dev/null @@ -1,87 +0,0 @@ -[%# This Source Code Form is subject to the terms of the Mozilla Public - # License, v. 2.0. If a copy of the MPL was not distributed with this - # file, You can obtain one at http://mozilla.org/MPL/2.0/. - # - # This Source Code Form is "Incompatible With Secondary Licenses", as - # defined by the Mozilla Public License, v. 2.0. - #%] - - - -

    Most recently opened and closed [% terms.bugs %]

    - -

    - Activity within the last - days (between 1 and 100) or from - - - - to - - - - - -

    -

    - Recently Opened - | - Recently Closed -

    - -
    - - [% recently_opened.size FILTER html %] Recently Opened [% terms.Bugs %] -
    -
    - - [% recently_closed.size FILTER html %] Recently Closed [% terms.Bugs %] - (back to top) -
    -
    diff --git a/extensions/ProductDashboard/template/en/default/pages/productdashboard/roadmap.html.tmpl b/extensions/ProductDashboard/template/en/default/pages/productdashboard/roadmap.html.tmpl deleted file mode 100644 index b31827fbd..000000000 --- a/extensions/ProductDashboard/template/en/default/pages/productdashboard/roadmap.html.tmpl +++ /dev/null @@ -1,27 +0,0 @@ -[%# This Source Code Form is subject to the terms of the Mozilla Public - # License, v. 2.0. If a copy of the MPL was not distributed with this - # file, You can obtain one at http://mozilla.org/MPL/2.0/. - # - # This Source Code Form is "Incompatible With Secondary Licenses", as - # defined by the Mozilla Public License, v. 2.0. - #%] - - - -

    Percentage of [% terms.bug %] closure per milestone

    - -
    -
    -
    diff --git a/extensions/ProductDashboard/template/en/default/pages/productdashboard/summary.html.tmpl b/extensions/ProductDashboard/template/en/default/pages/productdashboard/summary.html.tmpl deleted file mode 100644 index 30b6f3dca..000000000 --- a/extensions/ProductDashboard/template/en/default/pages/productdashboard/summary.html.tmpl +++ /dev/null @@ -1,122 +0,0 @@ -[%# This Source Code Form is subject to the terms of the Mozilla Public - # License, v. 2.0. If a copy of the MPL was not distributed with this - # file, You can obtain one at http://mozilla.org/MPL/2.0/. - # - # This Source Code Form is "Incompatible With Secondary Licenses", as - # defined by the Mozilla Public License, v. 2.0. - #%] - - - -

    Summary of [% terms.bug %] counts

    - -

    - Counts - | - Status - | - Priority - | - Severity - | - Assignee -

    - -
    - - [% terms.Bug %] Counts -
    -
    - - Status - (back to top) -
    -
    - - Priority - (back to top) -
    -
    - - Severity - (back to top) -
    -
    - - Assignee - (back to top) -
    -
    -- cgit v1.2.3-24-g4f1b