summaryrefslogtreecommitdiffstats
path: root/extensions/ProductDashboard/template/en
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/ProductDashboard/template/en')
-rw-r--r--extensions/ProductDashboard/template/en/default/hook/global/common-links-action-links.html.tmpl9
-rw-r--r--extensions/ProductDashboard/template/en/default/hook/global/user-error-errors.html.tmpl12
-rw-r--r--extensions/ProductDashboard/template/en/default/pages/productdashboard.html.tmpl236
-rw-r--r--extensions/ProductDashboard/template/en/default/pages/productdashboard/components.html.tmpl146
-rw-r--r--extensions/ProductDashboard/template/en/default/pages/productdashboard/duplicates.html.tmpl34
-rw-r--r--extensions/ProductDashboard/template/en/default/pages/productdashboard/popularity.html.tmpl38
-rw-r--r--extensions/ProductDashboard/template/en/default/pages/productdashboard/recents.html.tmpl87
-rw-r--r--extensions/ProductDashboard/template/en/default/pages/productdashboard/roadmap.html.tmpl27
-rw-r--r--extensions/ProductDashboard/template/en/default/pages/productdashboard/summary.html.tmpl122
9 files changed, 0 insertions, 711 deletions
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.
- #%]
-
- <li><span class="separator"> | </span><a href="page.cgi?id=productdashboard.html">Product Dashboard</a></li>
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 %]
-
-<div class="yui3-skin-sam">
- <a name="top"></a>
-
- <form action="page.cgi" method="get">
- <input type="hidden" name="id" value="productdashboard.html">
- <input type="hidden" name="tab" value="[% current_tab.name FILTER html %]">
-
- [% IF summary.keys %]
- <input type="hidden" name="[% summary.type FILTER html %]" value="[% summary.value FILTER html %]">
- [% END %]
-
- [% IF product %]
- <span id="product_dashboard_links">
- <ul>
- <li><a href="[% urlbase FILTER none %]enter_bug.cgi?product=[% product.name FILTER uri %]">
- Create a new [% terms.bug %] in this product</a></li>
- <li><a href="[% urlbase FILTER none %]describecomponents.cgi?product=[% product.name FILTER uri %]">
- Show full component descriptions for this product</a></li>
- </ul>
- </span>
- [% END %]
-
- <strong>Choose product:</strong>
- <select name="product">
- [% FOREACH c = classifications %]
- <optgroup label="[% c.name FILTER html %]">
- [% FOREACH p = c.products %]
- <option value="[% p.name FILTER html %]"
- [% IF p.name == product.name %]selected="selected"[% END %]>
- [% p.name FILTER html %]</option>
- [% END %]</optgroup>
- [% END %]
- </select>
- <select name="bug_status" id="bug_status">
- [% statuses = [ { name = 'open', label = "Open $terms.Bugs" },
- { name = 'closed', label = "Closed $terms.Bugs" },
- { name = 'all', label = "All $terms.Bugs" } ] %]
- [% FOREACH status = statuses %]
- <option value="[% status.name FILTER html %]"
- [% " selected" IF bug_status == "${status.name}" %]>
- [% status.label FILTER html %]
- </option>
- [% END %]
- </select>
-
- <input type="submit" value="[% IF product %]Change[% ELSE %]Submit[% END %]">
-
- [% IF product %]
- <div class="product_name">
- [% product.name FILTER html %]
- </div>
-
- <div class="product_description">
- [% product.description FILTER none %]
- </div>
-
- [% 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 %]
-
- </form>
-</div>
-
-[% 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 %]
- <div class="bar_graph">
- <table cellpadding="0" cellspacing="0" width="300px">
- <tr>
- <td width="[% percentage_bugs FILTER html %]%">
- <table cellpadding="0" cellspacing="0" width="100%">
- <tr>
- <td bgcolor="#3c78b5">
- <a title="[% percentage_bugs FILTER html %]%">
- <img src="extensions/ProductDashboard/web/images/spacer.gif" height=10 width="100%" title="[% percentage_bugs FILTER html %]%">
- </a>
- </td>
- </tr>
- </table>
- </td>
- <td width="[% 100 - percentage_bugs FILTER html %]%">&nbsp;&nbsp;&nbsp;[% percentage_bugs FILTER html %]%</td>
- </tr>
- </table>
- </div>
-[% 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 %]
-
-<h3>Summary for [% summary.type FILTER html %]: [% summary.value FILTER html %]</h3>
-
-<script>
-<!--
- // Past due
- [% IF user.is_timetracker %]
- PD.past_due = [
- [% FOREACH bug = summary.past_due %]
- {
- id: [% bug.id FILTER js %],
- bug_status: '[% bug.status FILTER js %]',
- version: '[% bug.version FILTER js %]',
- component: '[% bug.component FILTER js %]',
- severity: '[% bug.severity FILTER js %]',
- summary: '[% bug.summary FILTER js %]'
- },
- [% END %]
- ];
- [% END %]
-
- // Updated recently
- PD.updated_recently = [
- [% FOREACH bug = summary.updated_recently %]
- {
- id: [% bug.id FILTER js %],
- bug_status: '[% bug.status FILTER js %]',
- version: '[% bug.version FILTER js %]',
- component: '[% bug.component FILTER js %]',
- severity: '[% bug.severity FILTER js %]',
- summary: '[% bug.summary FILTER js %]'
- },
- [% END %]
- ];
--->
-</script>
-
-[% IF user.is_timetracker %]
- <p>
- <a href="#past_due">Past Due</a> |
- <a href="#updated_recently">Updated Recently</a>
- </p>
-[% END %]
-
-<div class="yui3-skin-sam">
-
- [% IF user.is_timetracker %]
- <a name="past_due"></a>
- <b>[% summary.past_due.size FILTER html %] Past Due [% terms.Bugs %]</b> (deadline is before today's date)
- (<a href="[% bug_link FILTER html %]&amp;[% summary.type FILTER uri %]=[% summary.value FILTER uri %]&field0-0-0=deadline&type0-0-0=lessthan&value0-0-0=[% summary.timestamp FILTER uri %]&order=deadline">full list</a>)
- <div id="past_due"></div>
- <br>
- [% END %]
-
- <a name="updated_recently"></a>
- <b>[% summary.updated_recently.size FILTER html %] Most Recently Updated [% terms.Bugs %]</b>
- [% IF user.is_timetracker %](<a href="#top">back to top</a>)[% END %]
- (<a href="[% bug_link FILTER html %]&amp;[% summary.type FILTER uri %]=[% summary.value FILTER uri %]&order=changeddate DESC">full list</a>)
- <div id="updated_recently"></div>
-</div>
-
-[% ELSE %]
-
-<script type="text/javascript">
-<!--
- PD.product_name = '[% product.name FILTER js %]';
- PD.bug_status = '[% bug_status FILTER js %]';
-
- // Component counts
- PD.component_counts = [
- [% FOREACH col = by_component %]
- {
- name: "[% col.0 FILTER js %]",
- count: [% col.1 || 0 FILTER js %],
- percentage: [% col.2 || 0 FILTER js %],
- link: '<a href="[% bug_link FILTER html %]&amp;component=[% col.0 FILTER uri %]">Link</a>'
- },
- [% END %]
- ];
-
- // Version counts
- PD.version_counts = [
- [% FOREACH col = by_version %]
- {
- name: "[% col.0 FILTER js %]",
- count: [% col.1 || 0 FILTER js %],
- percentage: [% col.2 || 0 FILTER js %],
- link: '<a href="[% bug_link FILTER html %]&amp;version=[% col.0 FILTER uri %]">Link</a>'
- },
- [% END %]
- ];
-
- [% IF Param('usetargetmilestone') %]
- // Milestone counts
- PD.milestone_counts = [
- [% FOREACH col = by_milestone %]
- {
- name: "[% col.0 FILTER js %]",
- count: [% col.1 || 0 FILTER js %],
- percentage: [% col.2 || 0 FILTER js %],
- link: '<a href="[% bug_link FILTER html %]&amp;target_milestone=[% col.0 FILTER uri %]">Link</a>'
- },
- [% END %]
- ];
- [% END %]
--->
-</script>
-
-<h3>[% terms.Bug %] counts per component, version and milestone.</h3>
-
-<p>
- <a href="#component">Component</a> |
- <a href="#version">Version</a> |
- <a href="#milestone">Milestone</a>
-</p>
-
-<p>Click on a value to show a list of most recently updated [% terms.bugs %].</p>
-
-<div class="yui3-skin-sam">
- <a name="component"></a>
- <b>Component</b>
- <div id="component_counts"></div>
- <br>
- <a name="version"></a>
- <b>Version</b>
- (<a href="#top">back to top</a>)
- <div id="version_counts"></div>
- [% IF Param('usetargetmilestone') %]
- <br>
- <a name="milestone"></a>
- <b>Milestone</b>
- (<a href="#top">back to top</a>)
- <div id="milestone_counts"></div>
- [% END %]
-</div>
-
-[% 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.
- #%]
-
-<script type="text/javascript">
- PD.duplicates = [
- [% FOREACH bug = by_duplicate %]
- {
- id: [% bug.id FILTER js %],
- count: [% bug.dupe_count FILTER js %],
- status: '[% bug.status FILTER js %]',
- version: '[% bug.version FILTER js %]',
- component: '[% bug.component FILTER js %]',
- severity: '[% bug.severity FILTER js %]',
- summary: '[% bug.summary FILTER js %]'
- },
- [% END %]
- ];
-</script>
-
-<h3>Most duplicated [% terms.bugs %]</h3>
-
-[% IF by_duplicate.size %]
- <b>[% by_duplicate.size FILTER html %]&nbsp;[% terms.Bugs %] Found</b>
- <div class="yui3-skin-sam">
- <div id="duplicates"></div>
- </div>
-[% ELSE %]
- <b>No duplicate [% terms.bugs %] found.</b>
-[% 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.
- #%]
-
-<style>
- .yui-skin-sam .yui-dt table {width:100%;}
-</style>
-
-<script type="text/javascript">
- PD.popularity = [
- [% FOREACH bug = by_popularity %]
- {
- id: [% bug.id FILTER js %],
- count: [% bug.votes FILTER js %],
- status: '[% bug.status FILTER js %]',
- version: '[% bug.version FILTER js %]',
- component: '[% bug.component FILTER js %]',
- severity: '[% bug.severity FILTER js %]',
- summary: '[% bug.summary FILTER js %]'
- },
- [% END %]
- ];
-</script>
-
-<h3>Most voted on [% terms.bugs %]</h3>
-
-[% IF by_popularity.size %]
- <b>[% by_popularity.size FILTER html %]&nbsp;[% terms.Bugs %] Found</b>
- <div class="yui3-skin-sam">
- <div id="popularity"></div>
- </div>
-[% ELSE %]
- <b>No [% terms.bugs %] found.</b>
-[% 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.
- #%]
-
-<script type="text/javascript">
- PD.recents = {};
-
- // Recently opened
- PD.recents.opened = [
- [% FOREACH bug = recently_opened %]
- {
- id: [% bug.id FILTER js %],
- status: '[% bug.status FILTER js %]',
- version: '[% bug.version FILTER js %]',
- component: '[% bug.component FILTER js %]',
- severity: '[% bug.severity FILTER js %]',
- summary: '[% bug.summary FILTER js %]'
- },
- [% END %]
- ];
-
- // Recently closed
- PD.recents.closed = [
- [% FOREACH bug = recently_closed %]
- {
- id: [% bug.id FILTER js %],
- status: '[% bug.status FILTER js %]',
- version: '[% bug.version FILTER js %]',
- component: '[% bug.component FILTER js %]',
- severity: '[% bug.severity FILTER js %]',
- summary: '[% bug.summary FILTER js %]'
- },
- [% END %]
- ];
-</script>
-
-<h3>Most recently opened and closed [% terms.bugs %]</h3>
-
-<p>
- Activity within the last <input type="text" size="4" name="recent_days"
- value="[% recent_days FILTER html %]">
- days (between 1 and 100) or from
- <input name="date_from" size="10" id="date_from"
- value="[% date_from FILTER html %]"
- onchange="updateCalendarFromField(this)">
- <button type="button" class="calendar_button"
- id="button_calendar_date_from"
- onclick="showCalendar('date_from')">
- <span>Calendar</span>
- </button>
- <span id="con_calendar_date_from"></span>
- to
- <input name="date_to" size="10" id="date_to"
- value="[% date_to FILTER html %]"
- onchange="updateCalendarFromField(this)">
- <button type="button" class="calendar_button"
- id="button_calendar_date_to"
- onclick="showCalendar('date_to')">
- <span>Calendar</span>
- </button>
- <span id="con_calendar_date_to"></span>
- <script type="text/javascript">
- createCalendar('date_from')
- createCalendar('date_to')
- </script>
- <input type="submit" name="change" value="Change">
-</p>
-<p>
- <a href="#recently_opened">Recently Opened</a>
- <span class="separator"> | </span>
- <a href="#recently_closed">Recently Closed</a>
-</p>
-
-<div class="yui-skin-sam">
- <a name="recently_opened"></a>
- <b>[% recently_opened.size FILTER html %] Recently Opened [% terms.Bugs %]</b>
- <div id="recently_opened"></div>
- <br>
- <a name="recently_closed"></a>
- <b>[% recently_closed.size FILTER html %] Recently Closed [% terms.Bugs %]</b>
- (<a href="#top">back to top</a>)
- <div id="recently_closed"></div>
-</div>
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.
- #%]
-
-<script type="text/javascript">
-<!--
- PD.roadmap = [
- [% FOREACH milestone = by_roadmap %]
- {
- name: '[% milestone.name FILTER js %]',
- percentage: '[% milestone.percentage FILTER js %]',
- link: '<a href="[% milestone.link_closed FILTER html %]">[% milestone.closed_bugs FILTER html %]</a> of <a href="[% milestone.link_total FILTER html %]"> [% milestone.total_bugs FILTER html %]</a> [% terms.bugs %] have been closed',
- },
- [% END %]
- ];
--->
-</script>
-
-<h3>Percentage of [% terms.bug %] closure per milestone</h3>
-
-<div class="yui3-skin-sam">
- <div id="bug_milestones"></div>
-</div>
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.
- #%]
-
-<script>
- PD.summary = {};
-
- // global counts
- PD.summary.bug_counts = [
- {
- name: "Total [% terms.Bugs %]",
- count: [% total_bugs || 0 FILTER js %],
- percentage: [% total_bugs ? "100" : "0" %],
- link: '<a href="[% bug_link_all FILTER js %]">Link</a>',
- },
- {
- name: "Open [% terms.Bugs %]",
- count: [% total_open_bugs || 0 FILTER js %],
- percentage: [% open_bugs_percentage FILTER js %],
- link: '<a href="[% bug_link_open FILTER js %]">Link</a>',
- },
- {
- name: "Closed [% terms.Bugs %]",
- count: [% total_closed_bugs || 0 FILTER js %],
- percentage: [% closed_bugs_percentage FILTER js %],
- link: '<a href="[% bug_link_closed FILTER js %]">Link</a>',
- }
- ];
-
- // Status counts
- PD.summary.status_counts = [
- [% FOREACH col = by_status %]
- [% NEXT IF col.0 == 'CLOSED' %]
- {
- name: "[% col.0 FILTER js %]",
- count: [% col.1 || 0 FILTER js %],
- percentage: [% col.2 || 0 FILTER js %],
- link: '<a href="[% bug_link_all FILTER js %]&amp;bug_status=[% col.0 FILTER uri FILTER js %]">Link</a>'
- },
- [% END %]
- ];
-
- // Priority counts
- PD.summary.priority_counts = [
- [% FOREACH col = by_priority %]
- {
- name: "[% col.0 FILTER js %]",
- count: [% col.1 || 0 FILTER js %],
- percentage: [% col.2 || 0 FILTER js %],
- link: '<a href="[% bug_link FILTER js %]&amp;priority=[% col.0 FILTER uri FILTER js %]">Link</a>'
- },
- [% END %]
- ];
-
- // Severity counts
- PD.summary.severity_counts = [
- [% FOREACH col = by_severity %]
- {
- name: "[% col.0 FILTER js %]",
- count: [% col.1 || 0 FILTER js %],
- percentage: [% col.2 || 0 FILTER js %],
- link: '<a href="[% bug_link FILTER js %]&amp;bug_severity=[% col.0 FILTER uri FILTER js %]">Link</a>'
- },
- [% END %]
- ];
-
- // Assignee counts
- PD.summary.assignee_counts = [
- [% FOREACH col = by_assignee %]
- {
- name: "[% IF user.id %][% col.0.email FILTER js %][% ELSE %][% col.0.realname || 'No Name' FILTER js %][% END %]",
- count: [% col.1 || 0 FILTER js %],
- percentage: [% col.2 || 0 FILTER js %],
- link: '[% IF user.id %]<a href="[% bug_link FILTER js %]&amp;emailassigned_to1=1&amp;emailtype1=exact&amp;email1=[% col.0.email FILTER uri FILTER js %]">Link</a>[% END %]'
- },
- [% END %]
- ];
-</script>
-
-<h3>Summary of [% terms.bug %] counts</h3>
-
-<p>
- <a href="#counts">Counts</a>
- <span class="separator"> | </span>
- <a href="#status">Status</a>
- <span class="separator"> | </span>
- <a href="#priority">Priority</a>
- <span class="separator"> | </span>
- <a href="#severity">Severity</a>
- <span class="separator"> | </span>
- <a href="#assignee">Assignee</a>
-</p>
-
-<div class="yui3-skin-sam">
- <a name="counts"></a>
- <b>[% terms.Bug %] Counts</b>
- <div id="bug_counts"></div>
- <br>
- <a name="status"></a>
- <b>Status</b>
- (<a href="#top">back to top</a>)
- <div id="status_counts"></div>
- <br>
- <a name="priority"></a>
- <b>Priority</b>
- (<a href="#top">back to top</a>)
- <div id="priority_counts"></div>
- <br>
- <a name="severity"></a>
- <b>Severity</b>
- (<a href="#top">back to top</a>)
- <div id="severity_counts"></div>
- <br>
- <a name="assignee"></a>
- <b>Assignee</b>
- (<a href="#top">back to top</a>)
- <div id="assignee_counts"></div>
-</div>