Commit 79f40fb4 authored by Sunil Joshi's avatar Sunil Joshi Committed by Simon Green

Bug 465678 - userprefs.cgi title should indicate which tab i'm on

r=simon, a=glob
parent 53819ace
......@@ -23,14 +23,6 @@
#%]
[% filtered_login = user.login FILTER html %]
[% PROCESS global/header.html.tmpl
title = "User Preferences"
subheader = filtered_login
style_urls = ['skins/standard/admin.css']
javascript_urls = ['js/util.js', 'js/field.js']
doc_section = "userpreferences.html"
yui = ['autocomplete']
%]
[% tabs = [{ name => "settings", label => "General Preferences",
link => "userprefs.cgi?tab=settings", saveable => "1" },
......@@ -52,6 +44,15 @@
[% END %]
[% END %]
[% PROCESS global/header.html.tmpl
title = current_tab.label
subheader = filtered_login
style_urls = ['skins/standard/admin.css']
javascript_urls = ['js/util.js', 'js/field.js']
doc_section = "userpreferences.html"
yui = ['autocomplete']
%]
[% WRAPPER global/tabs.html.tmpl
tabs = tabs
current_tab = current_tab
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment