From cb14de16717a12c32632d15a95e34b36edb7d178 Mon Sep 17 00:00:00 2001 From: Dave Lawrence Date: Tue, 7 Aug 2012 14:32:38 -0400 Subject: Initial checkin of Product Dashboard --- .../pages/productdashboard/components.html.tmpl | 259 +++++++++++++++++++++ .../pages/productdashboard/duplicates.html.tmpl | 73 ++++++ .../pages/productdashboard/popularity.html.tmpl | 73 ++++++ .../pages/productdashboard/recents.html.tmpl | 132 +++++++++++ .../pages/productdashboard/roadmap.html.tmpl | 54 +++++ .../pages/productdashboard/summary.html.tmpl | 205 ++++++++++++++++ 6 files changed, 796 insertions(+) create mode 100644 extensions/ProductDashboard/template/en/default/pages/productdashboard/components.html.tmpl create mode 100644 extensions/ProductDashboard/template/en/default/pages/productdashboard/duplicates.html.tmpl create mode 100644 extensions/ProductDashboard/template/en/default/pages/productdashboard/popularity.html.tmpl create mode 100644 extensions/ProductDashboard/template/en/default/pages/productdashboard/recents.html.tmpl create mode 100644 extensions/ProductDashboard/template/en/default/pages/productdashboard/roadmap.html.tmpl create mode 100644 extensions/ProductDashboard/template/en/default/pages/productdashboard/summary.html.tmpl (limited to 'extensions/ProductDashboard/template/en/default/pages/productdashboard') diff --git a/extensions/ProductDashboard/template/en/default/pages/productdashboard/components.html.tmpl b/extensions/ProductDashboard/template/en/default/pages/productdashboard/components.html.tmpl new file mode 100644 index 000000000..7f5a05568 --- /dev/null +++ b/extensions/ProductDashboard/template/en/default/pages/productdashboard/components.html.tmpl @@ -0,0 +1,259 @@ +[%# 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) +
+ + + + [% FOREACH column = [ "ID", "Status", "Version", "Component", "Severity" "Summary" ] %] + + [% END %] + + + + [% FOREACH bug = summary.past_due %] + [% count = loop.count() %] + + + + + + + + + [% END %] + +
[% column FILTER html %]
+ [% bug.id FILTER html %][% bug.status FILTER html %][% bug.version FILTER html %][% bug.component FILTER html %][% bug.severity FILTER html %][% bug.summary FILTER html %]
+
+
+ [% END %] + + + [% summary.updated_recently.size FILTER html %] Most Recently Updated [% terms.Bugs %] + [% IF user.is_timetracker %](back to top)[% END %] + (full list) +
+ + + + [% FOREACH column = [ "ID", "Status", "Version", "Component", "Severity" "Summary" ] %] + + [% END %] + + + + [% FOREACH bug = summary.updated_recently %] + [% count = loop.count() %] + + + + + + + + + [% END %] + +
[% column FILTER html %]
+ [% bug.id FILTER html %][% bug.status FILTER html %][% bug.version FILTER html %][% bug.component FILTER html %][% bug.severity FILTER html %][% bug.summary FILTER html %]
+
+
+ +[% ELSE %] + + [% summary_url = "page.cgi?id=productdashboard.html&product=$url_filtered_product&bug_status=$url_filtered_status&tab=components" %] + + + +

+ Component | + Version | + Milestone +

+ +

Click on value to show additional information

+ +
+ + Component +
+ + + + + + + + + + + [% FOREACH col = by_component %] + + + + + + + [% END %] + +
NameCountPercentage[% terms.Bug %] List
+ + [% col.0 FILTER html %] + + [% col.1 FILTER html %] + + [% INCLUDE bar_graph count = col.1 %] + + View +
+
+
+ + Version + (back to top) +
+ + + + + + + + + + + [% FOREACH col = by_version %] + + + + + + + [% END %] + +
NameCountPercentage[% terms.Bug %] List
+ + [% col.0 FILTER html %] + + [% col.1 FILTER html %] + + [% INCLUDE bar_graph count = col.1 %] + + View +
+
+ + [% IF Param('usetargetmilestone') %] +
+ + Milestone + (back to top) +
+ + + + + + + + + + + [% FOREACH col = by_milestone %] + + + + + + + [% END %] + +
NameCountPercentage[% terms.Bug %] List
+ + [% col.0 FILTER html %] + + [% col.1 FILTER html %] + + [% INCLUDE bar_graph count = col.1 %] + + View +
+
+ [% 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 new file mode 100644 index 000000000..36a820300 --- /dev/null +++ b/extensions/ProductDashboard/template/en/default/pages/productdashboard/duplicates.html.tmpl @@ -0,0 +1,73 @@ +[%# 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 by_duplicate.size %] + [% by_duplicate.size FILTER html %] [% terms.Bugs %] Found +
+
+ + + + [% FOREACH column = [ "ID", "Dupe Count", "Status", "Version" + "Component", "Severity" "Summary" ] %] + + + [% END %] + + + + [% FOREACH bug = by_duplicate %] + [% count = loop.count() %] + + + + + + + + + + [% END %] + +
[% column FILTER html %]
+ [% bug.id FILTER html %][% bug.dupe_count FILTER html %][% bug.status FILTER html %][% bug.version FILTER html %][% bug.component FILTER html %][% bug.severity FILTER html %][% bug.summary FILTER html %]
+
+
+[% 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 new file mode 100644 index 000000000..9c7c42563 --- /dev/null +++ b/extensions/ProductDashboard/template/en/default/pages/productdashboard/popularity.html.tmpl @@ -0,0 +1,73 @@ +[%# 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 by_popularity.size %] + [% by_popularity.size FILTER html %] [% terms.Bugs %] Found +
+
+ + + + [% FOREACH column = [ "ID", "Count", "Status", "Version" + "Component", "Severity" "Summary" ] %] + + + [% END %] + + + + [% FOREACH bug = by_popularity %] + [% count = loop.count() %] + + + + + + + + + + [% END %] + +
[% column FILTER html %]
+ [% bug.id FILTER html %][% bug.votes FILTER html %][% bug.status FILTER html %][% bug.version FILTER html %][% bug.component FILTER html %][% bug.severity FILTER html %][% bug.summary FILTER html %]
+
+
+[% 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 new file mode 100644 index 000000000..4350e7472 --- /dev/null +++ b/extensions/ProductDashboard/template/en/default/pages/productdashboard/recents.html.tmpl @@ -0,0 +1,132 @@ +[%# 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. + #%] + + + + + +

+ 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 %] +
+ + + + [% FOREACH column = [ "ID", "Status", "Version", "Component", "Severity" "Summary" ] %] + + [% END %] + + + + [% FOREACH bug = recently_opened %] + [% count = loop.count() %] + + + + + + + + + [% END %] + +
[% column FILTER html %]
+ [% bug.id FILTER html %][% bug.status FILTER html %][% bug.version FILTER html %][% bug.component FILTER html %][% bug.severity FILTER html %][% bug.summary FILTER html %]
+
+
+ + [% recently_closed.size FILTER html %] Recently Closed [% terms.Bugs %] + (back to top) +
+ + + + [% FOREACH column = [ "ID", "Status", "Version", "Component", "Severity" "Summary" ] %] + + [% END %] + + + + [% FOREACH bug = recently_closed %] + [% count = loop.count() %] + + + + + + + + + [% END %] + +
[% column FILTER html %]
+ [% bug.id FILTER html %][% bug.status FILTER html %][% bug.version FILTER html %][% bug.component FILTER html %][% bug.severity FILTER html %][% bug.summary FILTER html %]
+
+
diff --git a/extensions/ProductDashboard/template/en/default/pages/productdashboard/roadmap.html.tmpl b/extensions/ProductDashboard/template/en/default/pages/productdashboard/roadmap.html.tmpl new file mode 100644 index 000000000..fad1cafa5 --- /dev/null +++ b/extensions/ProductDashboard/template/en/default/pages/productdashboard/roadmap.html.tmpl @@ -0,0 +1,54 @@ +[%# 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. + #%] + + + +
+
+ + + + + + + + + + [% FOREACH milestone = by_roadmap %] + + + + + + [% END %] + +
MilestonePercentage CompleteLinks
[% milestone.name FILTER html %] + [% INCLUDE bar_graph count = milestone.closed_bugs full_bug_count = milestone.total_bugs %] + + + [% milestone.closed_bugs FILTER html %] of  + + [% milestone.total_bugs FILTER html %] bugs have been closed +
+
+
diff --git a/extensions/ProductDashboard/template/en/default/pages/productdashboard/summary.html.tmpl b/extensions/ProductDashboard/template/en/default/pages/productdashboard/summary.html.tmpl new file mode 100644 index 000000000..c1b0a8854 --- /dev/null +++ b/extensions/ProductDashboard/template/en/default/pages/productdashboard/summary.html.tmpl @@ -0,0 +1,205 @@ +[%# 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. + #%] + + + +

+ Counts + | + Status + | + Priority + | + Severity + | + Assignee +

+ +
+ + [% terms.Bug %] Counts +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
NameCountPercentage
Total [% terms.Bugs %][% total_bugs FILTER html %] 
Open [% terms.Bugs %][% total_open_bugs FILTER html %] + [% INCLUDE bar_graph count = total_open_bugs full_bug_count = total_bugs %] +
Closed [% terms.Bugs %][% total_closed_bugs FILTER html %] + [% INCLUDE bar_graph count = total_closed_bugs full_bug_count = total_bugs %] +
+
+
+ + Status + (back to top) +
+ + + + + + + + + + [% FOREACH col = by_status %] + [% NEXT IF col.0 == 'CLOSED' %] + + + + + + [% END %] + +
NameCountPercentage
+ + [% col.0 FILTER html %] + + [% col.1 FILTER html %] + + [% INCLUDE bar_graph count = col.1 %] +
+
+
+ + Priority + (back to top) +
+ + + + + + + + + + [% FOREACH col = by_priority %] + + + + + + [% END %] + +
NameCountPercentage
+ + [% col.0 FILTER html %] + + [% col.1 FILTER html %] + + [% INCLUDE bar_graph count = col.1 %] +
+
+
+ + Severity + (back to top) +
+ + + + + + + + + + [% FOREACH col = by_severity %] + + + + + + [% END %] + +
NameCountPercentage
+ + [% col.0 FILTER html %] + + [% col.1 FILTER html %] + + [% INCLUDE bar_graph count = col.1 %] +
+
+
+ + Assignee + (back to top) +
+ + + + + + + + + + [% FOREACH col = by_assignee %] + + + + + + [% END %] + +
NameCountPercentage
+ [% IF user.id %] + + [% col.0.email FILTER html %] + [% ELSE %] + [% col.0.realname || "No Name" FILTER html %] + [% END %] + + [% col.1 FILTER html %] + + [% INCLUDE bar_graph count = col.1 %] +
+
+
-- cgit v1.2.3-24-g4f1b