diff options
author | Sunil Joshi <joshi_sunil@in.com> | 2013-11-05 00:37:27 +0100 |
---|---|---|
committer | Simon Green <sgreen@redhat.com> | 2013-11-05 00:37:27 +0100 |
commit | 79f40fb447c372e2a44cb40dae3ea632f2158109 (patch) | |
tree | 0df9f9dcb8e2d99a3b3533550d79c9d76f076e51 /template/en/default | |
parent | 53819aceb30501345fcec6b93b8a1980f0659545 (diff) | |
download | bugzilla-79f40fb447c372e2a44cb40dae3ea632f2158109.tar.gz bugzilla-79f40fb447c372e2a44cb40dae3ea632f2158109.tar.xz |
Bug 465678 - userprefs.cgi title should indicate which tab i'm on
r=simon, a=glob
Diffstat (limited to 'template/en/default')
-rw-r--r-- | template/en/default/account/prefs/prefs.html.tmpl | 17 |
1 files changed, 9 insertions, 8 deletions
diff --git a/template/en/default/account/prefs/prefs.html.tmpl b/template/en/default/account/prefs/prefs.html.tmpl index ae3f9c842..2c560f5b6 100644 --- a/template/en/default/account/prefs/prefs.html.tmpl +++ b/template/en/default/account/prefs/prefs.html.tmpl @@ -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 |