summaryrefslogtreecommitdiffstats
path: root/extensions/BMO/template
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2017-12-19 14:23:53 +0100
committerDylan William Hardison <dylan@hardison.net>2017-12-19 14:23:53 +0100
commit0bef54c7899da717a8c60e1562c838381d014c10 (patch)
treee5cb7713ad88a04b9ff5aa59a240cd6e2d94885a /extensions/BMO/template
parent6bcedf7e2cb411174220bff87e2c8318a210ce48 (diff)
downloadbugzilla-0bef54c7899da717a8c60e1562c838381d014c10.tar.gz
bugzilla-0bef54c7899da717a8c60e1562c838381d014c10.tar.xz
Bug 1420771 - Remove global footer
Diffstat (limited to 'extensions/BMO/template')
-rw-r--r--extensions/BMO/template/en/default/bug/create/create-client-bounty.html.tmpl3
-rw-r--r--extensions/BMO/template/en/default/hook/global/footer-intro.html.tmpl16
-rw-r--r--extensions/BMO/template/en/default/hook/global/header-external-links.html.tmpl29
3 files changed, 29 insertions, 19 deletions
diff --git a/extensions/BMO/template/en/default/bug/create/create-client-bounty.html.tmpl b/extensions/BMO/template/en/default/bug/create/create-client-bounty.html.tmpl
index 5d9d20be8..799b2b35b 100644
--- a/extensions/BMO/template/en/default/bug/create/create-client-bounty.html.tmpl
+++ b/extensions/BMO/template/en/default/bug/create/create-client-bounty.html.tmpl
@@ -81,9 +81,6 @@
#client_bounty_form .form_section {
margin-bottom: 10px;
}
-#useful-links {
- display: none;
-}
[% END %]
[% inline_javascript = BLOCK %]
diff --git a/extensions/BMO/template/en/default/hook/global/footer-intro.html.tmpl b/extensions/BMO/template/en/default/hook/global/footer-intro.html.tmpl
deleted file mode 100644
index cb157ec48..000000000
--- a/extensions/BMO/template/en/default/hook/global/footer-intro.html.tmpl
+++ /dev/null
@@ -1,16 +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.
- #%]
-
-<nav class="org-links">
- <h1><a href="https://www.mozilla.org/">Mozilla</a></h1>
- <ul>
- <li><a href="https://www.mozilla.org/privacy/websites/" target="_blank">Privacy</a></li>
- <li><a href="https://www.mozilla.org/privacy/websites/#cookies" target="_blank">Cookies</a></li>
- <li><a href="https://www.mozilla.org/about/legal/" target="_blank">Legal</a></li>
- </ul>
-</nav>
diff --git a/extensions/BMO/template/en/default/hook/global/header-external-links.html.tmpl b/extensions/BMO/template/en/default/hook/global/header-external-links.html.tmpl
new file mode 100644
index 000000000..6c7d58816
--- /dev/null
+++ b/extensions/BMO/template/en/default/hook/global/header-external-links.html.tmpl
@@ -0,0 +1,29 @@
+[%# 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.
+ #%]
+
+<div id="header-external-links" class="dropdown first">
+ <button type="button" id="header-external-menu-button" class="dropdown-button minor" title="Mozilla"
+ aria-label="Mozilla" aria-expanded="false" aria-haspopup="true" aria-controls="header-external-menu">
+ <img src="extensions/BMO/web/images/moz-fav-bw-rgb.svg" width="32" height="32" alt="">
+ </button>
+ <ul class="dropdown-content right" id="header-external-menu" role="menu" style="display:none;">
+ <li role="presentation">
+ <a href="https://www.mozilla.org/" role="menuitem" tabindex="-1">Mozilla Home</a>
+ </li>
+ <li role="separator" class="dropdown-separator"></li>
+ <li role="presentation">
+ <a href="https://www.mozilla.org/privacy/websites/" role="menuitem" tabindex="-1">Privacy</a>
+ </li>
+ <li role="presentation">
+ <a href="https://www.mozilla.org/privacy/websites/#cookies" role="menuitem" tabindex="-1">Cookies</a>
+ </li>
+ <li role="presentation">
+ <a href="https://www.mozilla.org/about/legal/" role="menuitem" tabindex="-1">Legal</a>
+ </li>
+ </ul>
+</div>