From b109a7d8394fc7e50b9a065b5b7ff58e64c8ea45 Mon Sep 17 00:00:00 2001 From: David Lawrence Date: Wed, 12 Aug 2015 14:00:08 +0000 Subject: Bug 1192854: change tabs on user preferences from horizontal to vertical layout --- template/en/default/account/prefs/prefs.html.tmpl | 2 +- template/en/default/account/prefs/tabs.html.tmpl | 30 +++++++++++++++++++++++ 2 files changed, 31 insertions(+), 1 deletion(-) create mode 100644 template/en/default/account/prefs/tabs.html.tmpl (limited to 'template/en/default/account') diff --git a/template/en/default/account/prefs/prefs.html.tmpl b/template/en/default/account/prefs/prefs.html.tmpl index e898738b7..9610752ed 100644 --- a/template/en/default/account/prefs/prefs.html.tmpl +++ b/template/en/default/account/prefs/prefs.html.tmpl @@ -95,7 +95,7 @@ END; %] -[% WRAPPER global/tabs.html.tmpl +[% WRAPPER account/prefs/tabs.html.tmpl tabs = tabs current_tab = current_tab %] diff --git a/template/en/default/account/prefs/tabs.html.tmpl b/template/en/default/account/prefs/tabs.html.tmpl new file mode 100644 index 000000000..14a0ccad6 --- /dev/null +++ b/template/en/default/account/prefs/tabs.html.tmpl @@ -0,0 +1,30 @@ +[%# 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. + #%] + +[%# INTERFACE: + # tabs: List of hashes. Must have at least one item. Each hash has: + # name: string. Name of the tab. + # link: string. relative URL to the tab's resource on this installation. + # label: string. text displayed in the tab. + # current_tab_name: string. name of the currently selected tab + #%] + +
+
+ +
+
+ [% content FILTER none %] +
+
-- cgit v1.2.3-24-g4f1b