summaryrefslogtreecommitdiffstats
path: root/extensions/ProductDashboard/template/en/default/pages/productdashboard
diff options
context:
space:
mode:
Diffstat (limited to 'extensions/ProductDashboard/template/en/default/pages/productdashboard')
-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
6 files changed, 0 insertions, 454 deletions
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>