From c8580dff0eea7d9c7a7d822c18d59335eed98010 Mon Sep 17 00:00:00 2001 From: Byron Jones Date: Tue, 21 May 2013 15:25:40 +0800 Subject: Bug 874081: add class to declare which skin is currently used --- template/en/default/global/common-links.html.tmpl | 7 +- template/en/default/global/header.html.tmpl | 90 +++++++++++++++++++++++ 2 files changed, 96 insertions(+), 1 deletion(-) (limited to 'template/en/default') diff --git a/template/en/default/global/common-links.html.tmpl b/template/en/default/global/common-links.html.tmpl index ec8608eed..278364d09 100644 --- a/template/en/default/global/common-links.html.tmpl +++ b/template/en/default/global/common-links.html.tmpl @@ -39,10 +39,12 @@ [%-# Work around FF bug: keep this on one line %] - [?] + [help] +
  • | Reports
  • + [% IF user.settings.skin.value != 'Mozilla' %]
  • [% IF Param('shutdownhtml') || Bugzilla.has_flags %] | @@ -54,9 +56,11 @@ [% END %] [% END %] [%-# Work around FF bug: keep this on one line %]
  • + [% END %] [% Hook.process('action-links') %] + [% IF user.settings.skin.value != 'Mozilla' %] [% IF user.login %]
  • | Preferences
  • [% IF user.in_group('tweakparams') || user.in_group('editusers') || user.can_bless @@ -106,6 +110,7 @@ [% PROCESS "account/auth/login-small.html.tmpl" %] [% END %] [% END %] + [% END %] [% Hook.process("link-row") %] diff --git a/template/en/default/global/header.html.tmpl b/template/en/default/global/header.html.tmpl index 1abd7e8c7..48140f74c 100644 --- a/template/en/default/global/header.html.tmpl +++ b/template/en/default/global/header.html.tmpl @@ -235,6 +235,7 @@ @@ -245,6 +246,92 @@ [%# header %]
    -- cgit v1.2.3-24-g4f1b