summaryrefslogtreecommitdiffstats
path: root/extensions/MyDashboard/template/en/default/hook/global/header-action-links.html.tmpl
diff options
context:
space:
mode:
authorKohei Yoshino <kohei.yoshino@gmail.com>2017-12-13 22:06:06 +0100
committerDylan William Hardison <dylan@hardison.net>2017-12-13 22:06:06 +0100
commit2e5d910d9401c4fa8f105d8f9502d9e4ea27bb99 (patch)
treeaba81e2eedc8af3136af73af3beba04c092ff80c /extensions/MyDashboard/template/en/default/hook/global/header-action-links.html.tmpl
parent48fe3a1e0a4a833aa14e7f95136d0e4542959eb8 (diff)
downloadbugzilla-2e5d910d9401c4fa8f105d8f9502d9e4ea27bb99.tar.gz
bugzilla-2e5d910d9401c4fa8f105d8f9502d9e4ea27bb99.tar.xz
Bug 1376826 - New HTML Header for BMO
Diffstat (limited to 'extensions/MyDashboard/template/en/default/hook/global/header-action-links.html.tmpl')
-rw-r--r--extensions/MyDashboard/template/en/default/hook/global/header-action-links.html.tmpl16
1 files changed, 16 insertions, 0 deletions
diff --git a/extensions/MyDashboard/template/en/default/hook/global/header-action-links.html.tmpl b/extensions/MyDashboard/template/en/default/hook/global/header-action-links.html.tmpl
new file mode 100644
index 000000000..bf25e7a88
--- /dev/null
+++ b/extensions/MyDashboard/template/en/default/hook/global/header-action-links.html.tmpl
@@ -0,0 +1,16 @@
+[%# 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 user.login %]
+ <li class="link-dashboard">
+ <a href="[% urlbase FILTER none %]page.cgi?id=mydashboard.html" title="Show My Dashboard">
+ <span class="icon" aria-hidden="true"></span>
+ <span class="label">My Dashboard</span>
+ </a>
+ </li>
+[% END %]