From 8e0b7aa5e9fb3920d4283b9582d8cf5a35d51ab1 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Wed, 12 Feb 2014 15:11:36 +0100 Subject: Bug 969881: All "Help" links in the header and footer of pages point to inexistent files r=gerv a=justdave --- template/en/default/account/prefs/prefs.html.tmpl | 23 ++++++++++++++--------- 1 file changed, 14 insertions(+), 9 deletions(-) (limited to 'template/en/default/account/prefs/prefs.html.tmpl') diff --git a/template/en/default/account/prefs/prefs.html.tmpl b/template/en/default/account/prefs/prefs.html.tmpl index 4681299dd..faa18d581 100644 --- a/template/en/default/account/prefs/prefs.html.tmpl +++ b/template/en/default/account/prefs/prefs.html.tmpl @@ -25,15 +25,20 @@ [% filtered_login = user.login FILTER html %] [% tabs = [{ name => "settings", label => "General Preferences", - link => "userprefs.cgi?tab=settings", saveable => "1" }, - { name => "email", label => "Email Preferences", - link => "userprefs.cgi?tab=email", saveable => "1" }, - { name => "saved-searches", label => "Saved Searches", - link => "userprefs.cgi?tab=saved-searches", saveable => "1" }, + link => "userprefs.cgi?tab=settings", saveable => "1", + doc_section => "using.html#general-preferences" }, + { name => "email", label => "Email Preferences", + link => "userprefs.cgi?tab=email", saveable => "1", + doc_section => "using.html#email-preferences" }, + { name => "saved-searches", label => "Saved Searches", + link => "userprefs.cgi?tab=saved-searches", saveable => "1", + doc_section => "using.html#saved-searches" }, { name => "account", label => "Account Information", - link => "userprefs.cgi?tab=account", saveable => "1" }, - { name => "permissions", label => "Permissions", - link => "userprefs.cgi?tab=permissions", saveable => "0" } ] %] + link => "userprefs.cgi?tab=account", saveable => "1", + doc_section => "using.html#account-information" }, + { name => "permissions", label => "Permissions", + link => "userprefs.cgi?tab=permissions", saveable => "0", + doc_section => "using.html#permissions" } ] %] [% Hook.process('tabs') %] @@ -49,7 +54,7 @@ subheader = filtered_login style_urls = ['skins/standard/admin.css'] javascript_urls = ['js/util.js', 'js/field.js'] - doc_section = "userpreferences.html" + doc_section = current_tab.doc_section yui = ['autocomplete'] %] -- cgit v1.2.3-24-g4f1b