From 2e5d910d9401c4fa8f105d8f9502d9e4ea27bb99 Mon Sep 17 00:00:00 2001 From: Kohei Yoshino Date: Wed, 13 Dec 2017 16:06:06 -0500 Subject: Bug 1376826 - New HTML Header for BMO --- .../en/default/hook/global/header-badge.html.tmpl | 23 ++++++++++++++++++++++ 1 file changed, 23 insertions(+) create mode 100644 extensions/Review/template/en/default/hook/global/header-badge.html.tmpl (limited to 'extensions/Review/template/en/default/hook/global/header-badge.html.tmpl') diff --git a/extensions/Review/template/en/default/hook/global/header-badge.html.tmpl b/extensions/Review/template/en/default/hook/global/header-badge.html.tmpl new file mode 100644 index 000000000..aca61561e --- /dev/null +++ b/extensions/Review/template/en/default/hook/global/header-badge.html.tmpl @@ -0,0 +1,23 @@ +[%# 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 + user.review_request_count + || user.feedback_request_count + || user.needinfo_request_count +%] + + + [%- user.review_request_count + user.feedback_request_count + user.needinfo_request_count ~%] + -- cgit v1.2.3-24-g4f1b