summaryrefslogtreecommitdiffstats
path: root/extensions/MozReview/template/en/default/hook/bug_modal
diff options
context:
space:
mode:
authorByron Jones <glob@mozilla.com>2015-05-04 17:35:53 +0200
committerByron Jones <glob@mozilla.com>2015-05-04 17:35:53 +0200
commit5ff4a99bb9f9547f92a53b87489237464d7b4962 (patch)
treeeb4732df158c910f252ae260af9382246d32beaf /extensions/MozReview/template/en/default/hook/bug_modal
parent4d442598cd891fdf45b0ac25a7757f8494bbfcbb (diff)
downloadbugzilla-5ff4a99bb9f9547f92a53b87489237464d7b4962.tar.gz
bugzilla-5ff4a99bb9f9547f92a53b87489237464d7b4962.tar.xz
Bug 1153100: add mozreview's table to bug-modal
Diffstat (limited to 'extensions/MozReview/template/en/default/hook/bug_modal')
-rw-r--r--extensions/MozReview/template/en/default/hook/bug_modal/edit-module.html.tmpl21
-rw-r--r--extensions/MozReview/template/en/default/hook/bug_modal/header-end.html.tmpl13
2 files changed, 34 insertions, 0 deletions
diff --git a/extensions/MozReview/template/en/default/hook/bug_modal/edit-module.html.tmpl b/extensions/MozReview/template/en/default/hook/bug_modal/edit-module.html.tmpl
new file mode 100644
index 000000000..9785fa0bd
--- /dev/null
+++ b/extensions/MozReview/template/en/default/hook/bug_modal/edit-module.html.tmpl
@@ -0,0 +1,21 @@
+[%# 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.
+ #%]
+
+[% RETURN UNLESS mozreview %]
+
+[% WRAPPER bug_modal/module.html.tmpl
+ title = "MozReview Requests"
+ collapsed = 0
+%]
+ [% INCLUDE moz_review/table.html.tmpl %]
+ <div class="mozreview-hide-discarded-row bz_default_hidden">
+ <button type="button" class="minor mozreview-hide-discarded-link">
+ <span class="mozreview-discarded-action">Show</span> discarded requests
+ </button>
+ </div>
+[% END %]
diff --git a/extensions/MozReview/template/en/default/hook/bug_modal/header-end.html.tmpl b/extensions/MozReview/template/en/default/hook/bug_modal/header-end.html.tmpl
new file mode 100644
index 000000000..d70e36b57
--- /dev/null
+++ b/extensions/MozReview/template/en/default/hook/bug_modal/header-end.html.tmpl
@@ -0,0 +1,13 @@
+[%# 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 mozreview;
+ PROCESS moz_review/header.html.tmpl;
+ END;
+%]