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 +++++++++++++--------- .../admin/custom_fields/confirm-delete.html.tmpl | 2 +- .../default/admin/custom_fields/create.html.tmpl | 2 +- .../en/default/admin/custom_fields/edit.html.tmpl | 2 +- .../en/default/admin/custom_fields/list.html.tmpl | 2 +- .../admin/flag-type/confirm-delete.html.tmpl | 2 +- template/en/default/admin/flag-type/edit.html.tmpl | 4 +--- template/en/default/admin/flag-type/list.html.tmpl | 2 +- .../default/admin/groups/confirm-remove.html.tmpl | 2 +- template/en/default/admin/groups/create.html.tmpl | 2 +- template/en/default/admin/groups/delete.html.tmpl | 2 +- template/en/default/admin/groups/edit.html.tmpl | 2 +- template/en/default/admin/groups/list.html.tmpl | 2 +- .../en/default/admin/params/editparams.html.tmpl | 2 +- template/en/default/admin/sudo.html.tmpl | 2 +- .../default/admin/users/confirm-delete.html.tmpl | 2 +- template/en/default/admin/users/create.html.tmpl | 2 +- template/en/default/admin/users/edit.html.tmpl | 2 +- template/en/default/admin/users/list.html.tmpl | 2 +- template/en/default/admin/users/search.html.tmpl | 2 +- .../en/default/attachment/confirm-delete.html.tmpl | 2 +- template/en/default/attachment/create.html.tmpl | 2 +- .../en/default/attachment/diff-header.html.tmpl | 2 +- template/en/default/attachment/edit.html.tmpl | 2 +- template/en/default/bug/dependency-tree.html.tmpl | 2 +- template/en/default/bug/show-header.html.tmpl | 2 +- template/en/default/bug/show-multiple.html.tmpl | 2 +- template/en/default/bug/summarize-time.html.tmpl | 2 +- template/en/default/list/list.html.tmpl | 2 +- template/en/default/reports/menu.html.tmpl | 2 +- template/en/default/reports/old-charts.html.tmpl | 2 +- .../en/default/search/search-advanced.html.tmpl | 2 +- .../default/search/search-create-series.html.tmpl | 2 +- .../default/search/search-report-graph.html.tmpl | 2 +- .../default/search/search-report-table.html.tmpl | 2 +- template/en/default/whine/schedule.html.tmpl | 2 +- 36 files changed, 49 insertions(+), 46 deletions(-) (limited to 'template') 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'] %] diff --git a/template/en/default/admin/custom_fields/confirm-delete.html.tmpl b/template/en/default/admin/custom_fields/confirm-delete.html.tmpl index 471d7a1c4..43f33512a 100644 --- a/template/en/default/admin/custom_fields/confirm-delete.html.tmpl +++ b/template/en/default/admin/custom_fields/confirm-delete.html.tmpl @@ -20,7 +20,7 @@ [% PROCESS global/header.html.tmpl title = title style_urls = ['skins/standard/admin.css'] - doc_section = "custom-fields.html#delete-custom-fields" + doc_section = "administration.html#deleting-custom-fields" %] diff --git a/template/en/default/admin/custom_fields/create.html.tmpl b/template/en/default/admin/custom_fields/create.html.tmpl index d610a68dc..1f6f71360 100644 --- a/template/en/default/admin/custom_fields/create.html.tmpl +++ b/template/en/default/admin/custom_fields/create.html.tmpl @@ -18,7 +18,7 @@ title = "Add a new Custom Field" onload = "document.getElementById('new_bugmail').disabled = true;" javascript_urls = [ 'js/util.js' ] - doc_section = "custom-fields.html#add-custom-fields" + doc_section = "administration.html#adding-custom-fields" style_urls = ['skins/standard/admin.css'] %] diff --git a/template/en/default/admin/custom_fields/edit.html.tmpl b/template/en/default/admin/custom_fields/edit.html.tmpl index 7cc09e6ec..b8365b300 100644 --- a/template/en/default/admin/custom_fields/edit.html.tmpl +++ b/template/en/default/admin/custom_fields/edit.html.tmpl @@ -22,7 +22,7 @@ title = title onload = "toggleCheckbox(document.getElementById('enter_bug'), 'new_bugmail');" javascript_urls = [ 'js/util.js' ] - doc_section = "custom-fields.html#edit-custom-fields" + doc_section = "administration.html#editing-custom-fields" style_urls = ['skins/standard/admin.css'] %] diff --git a/template/en/default/admin/custom_fields/list.html.tmpl b/template/en/default/admin/custom_fields/list.html.tmpl index 7d54926b0..918b440ad 100644 --- a/template/en/default/admin/custom_fields/list.html.tmpl +++ b/template/en/default/admin/custom_fields/list.html.tmpl @@ -15,7 +15,7 @@ [% PROCESS global/header.html.tmpl title = "Custom Fields" style_urls = ['skins/standard/admin.css'] - doc_section = "custom-fields.html" + doc_section = "administration.html#custom-fields" %] [% delete_contentlink = BLOCK %]editfields.cgi?action=del&name=%%name%%[% END %] diff --git a/template/en/default/admin/flag-type/confirm-delete.html.tmpl b/template/en/default/admin/flag-type/confirm-delete.html.tmpl index 72a928b42..4cc5890ed 100644 --- a/template/en/default/admin/flag-type/confirm-delete.html.tmpl +++ b/template/en/default/admin/flag-type/confirm-delete.html.tmpl @@ -11,7 +11,7 @@ [% PROCESS global/header.html.tmpl title = title style_urls = ['skins/standard/admin.css'] - doc_section = "flags-overview.html#flags-delete" + doc_section = "administration.html#deleting-a-flag" %]

diff --git a/template/en/default/admin/flag-type/edit.html.tmpl b/template/en/default/admin/flag-type/edit.html.tmpl index 2c71180f3..e52d58a9a 100644 --- a/template/en/default/admin/flag-type/edit.html.tmpl +++ b/template/en/default/admin/flag-type/edit.html.tmpl @@ -15,10 +15,8 @@ Based on [% type.name FILTER html %] [% END %] [% END %] - [% doc_section = "flags-overview.html#flags-create" %] [% ELSE %] [% title = BLOCK %]Edit Flag Type [% type.name FILTER html %][% END %] - [% doc_section = "flags-overview.html#flags-edit" %] [% END %] [% PROCESS global/header.html.tmpl @@ -27,7 +25,7 @@ onload="var f = document.forms['flagtype_properties']; selectProduct(f.product, f.component, null, null, '__Any__');" javascript_urls=["js/productform.js"] - doc_section = doc_section + doc_section = "administration.html#administering-flags" %]
diff --git a/template/en/default/admin/flag-type/list.html.tmpl b/template/en/default/admin/flag-type/list.html.tmpl index 375f62978..3783cade8 100644 --- a/template/en/default/admin/flag-type/list.html.tmpl +++ b/template/en/default/admin/flag-type/list.html.tmpl @@ -13,7 +13,7 @@ style_urls = ['skins/standard/admin.css'] onload="var f = document.flagtype_form; selectProduct(f.product, f.component, null, null, '__All__');" javascript_urls=["js/productform.js"] - doc_section = "flags-overview.html#flag-types" + doc_section = "administration.html#two-types-of-flags" %]

diff --git a/template/en/default/admin/groups/confirm-remove.html.tmpl b/template/en/default/admin/groups/confirm-remove.html.tmpl index bc9698aee..d626ca2ba 100644 --- a/template/en/default/admin/groups/confirm-remove.html.tmpl +++ b/template/en/default/admin/groups/confirm-remove.html.tmpl @@ -19,7 +19,7 @@ [% PROCESS global/header.html.tmpl title = title - doc_section = "groups.html" + doc_section = "administration.html#groups-and-group-security" %] [% IF regexp %] diff --git a/template/en/default/admin/groups/create.html.tmpl b/template/en/default/admin/groups/create.html.tmpl index ca95bab56..06396926c 100644 --- a/template/en/default/admin/groups/create.html.tmpl +++ b/template/en/default/admin/groups/create.html.tmpl @@ -14,7 +14,7 @@ title = "Add group" subheader = "This page allows you to define a new user group." style_urls = ['skins/standard/admin.css'] - doc_section = "groups.html#create-groups" + doc_section = "administration.html#creating-groups" %] diff --git a/template/en/default/admin/groups/delete.html.tmpl b/template/en/default/admin/groups/delete.html.tmpl index 915a88b72..78a1352d3 100644 --- a/template/en/default/admin/groups/delete.html.tmpl +++ b/template/en/default/admin/groups/delete.html.tmpl @@ -17,7 +17,7 @@ [% PROCESS global/header.html.tmpl title = title style_urls = ['skins/standard/admin.css'] - doc_section = "groups.html" + doc_section = "administration.html#groups-and-group-security" %]

diff --git a/template/en/default/admin/groups/edit.html.tmpl b/template/en/default/admin/groups/edit.html.tmpl index a14795be7..c9883ce42 100644 --- a/template/en/default/admin/groups/edit.html.tmpl +++ b/template/en/default/admin/groups/edit.html.tmpl @@ -19,7 +19,7 @@ [% PROCESS global/header.html.tmpl title = title style_urls = ['skins/standard/admin.css'] - doc_section = "groups.html#edit-groups" + doc_section = "administration.html#editing-groups-and-assigning-group-permissions" %] diff --git a/template/en/default/admin/groups/list.html.tmpl b/template/en/default/admin/groups/list.html.tmpl index ba61da3ee..7a15703df 100644 --- a/template/en/default/admin/groups/list.html.tmpl +++ b/template/en/default/admin/groups/list.html.tmpl @@ -20,7 +20,7 @@ title = "Edit Groups" subheader = "This lets you edit the groups available to put users in." style_urls = ['skins/standard/admin.css'] - doc_section = "groups.html" + doc_section = "administration.html#groups-and-group-security" %] [% edit_contentlink = "editgroups.cgi?action=changeform&group=%%id%%" %] diff --git a/template/en/default/admin/params/editparams.html.tmpl b/template/en/default/admin/params/editparams.html.tmpl index 2e7d2245a..4cc22da99 100644 --- a/template/en/default/admin/params/editparams.html.tmpl +++ b/template/en/default/admin/params/editparams.html.tmpl @@ -37,7 +37,7 @@ message = message style_urls = ['skins/standard/params.css'] javascript_urls = ['js/params.js', 'js/util.js'] - doc_section = "parameters.html" + doc_section = "administration.html#bugzilla-configuration" %]
diff --git a/template/en/default/admin/sudo.html.tmpl b/template/en/default/admin/sudo.html.tmpl index 9065206d5..a5f13a015 100644 --- a/template/en/default/admin/sudo.html.tmpl +++ b/template/en/default/admin/sudo.html.tmpl @@ -9,7 +9,7 @@ [% PROCESS global/header.html.tmpl title = "Begin sudo session" style_urls = ['skins/standard/admin.css'] - doc_section = "useradmin.html#impersonatingusers" + doc_section = "administration.html#impersonating-users" %] [% DEFAULT target_login = "" %] diff --git a/template/en/default/admin/users/confirm-delete.html.tmpl b/template/en/default/admin/users/confirm-delete.html.tmpl index 20100a86b..e59c01534 100644 --- a/template/en/default/admin/users/confirm-delete.html.tmpl +++ b/template/en/default/admin/users/confirm-delete.html.tmpl @@ -40,7 +40,7 @@ title = title style_urls = ['skins/standard/admin.css', 'skins/standard/editusers.css'] - doc_section = "useradmin.html#user-account-deletion" + doc_section = "administration.html#deleting-users" %] [% PROCESS admin/users/listselectvars.html.tmpl diff --git a/template/en/default/admin/users/create.html.tmpl b/template/en/default/admin/users/create.html.tmpl index 279c610a7..497616745 100644 --- a/template/en/default/admin/users/create.html.tmpl +++ b/template/en/default/admin/users/create.html.tmpl @@ -15,7 +15,7 @@ [% PROCESS global/header.html.tmpl title = "Add user" style_urls = ['skins/standard/editusers.css'] - doc_section = "useradmin.html#createnewusers" + doc_section = "administration.html#creating-new-users" %] [% PROCESS admin/users/listselectvars.html.tmpl diff --git a/template/en/default/admin/users/edit.html.tmpl b/template/en/default/admin/users/edit.html.tmpl index 3f4fb76b9..3e0eb3c34 100644 --- a/template/en/default/admin/users/edit.html.tmpl +++ b/template/en/default/admin/users/edit.html.tmpl @@ -23,7 +23,7 @@ title = title message = message style_urls = ['skins/standard/admin.css', 'skins/standard/editusers.css'] - doc_section = "useradmin.html#modifyusers" + doc_section = "administration.html#modifying-users" javascript_urls = [ 'js/field.js' ] %] diff --git a/template/en/default/admin/users/list.html.tmpl b/template/en/default/admin/users/list.html.tmpl index 38f36f57f..3fcb6ca81 100644 --- a/template/en/default/admin/users/list.html.tmpl +++ b/template/en/default/admin/users/list.html.tmpl @@ -17,7 +17,7 @@ [% PROCESS global/header.html.tmpl title = "Select user" style_urls = ['skins/standard/admin.css', 'skins/standard/editusers.css'] - doc_section = "useradmin.html" + doc_section = "administration.html#user-administration" %] [% PROCESS admin/users/listselectvars.html.tmpl diff --git a/template/en/default/admin/users/search.html.tmpl b/template/en/default/admin/users/search.html.tmpl index 97431bcad..2d3bb819a 100644 --- a/template/en/default/admin/users/search.html.tmpl +++ b/template/en/default/admin/users/search.html.tmpl @@ -18,7 +18,7 @@ [% PROCESS global/header.html.tmpl title = "Search users" style_urls = ['skins/standard/editusers.css'] - doc_section = "useradmin.html#user-account-search" + doc_section = "administration.html#managing-other-users" %] [% PROCESS admin/users/listselectvars.html.tmpl diff --git a/template/en/default/attachment/confirm-delete.html.tmpl b/template/en/default/attachment/confirm-delete.html.tmpl index fe6135679..dfc95c8f8 100644 --- a/template/en/default/attachment/confirm-delete.html.tmpl +++ b/template/en/default/attachment/confirm-delete.html.tmpl @@ -18,7 +18,7 @@ [% PROCESS global/header.html.tmpl title = title style_urls = ['skins/standard/admin.css'] - doc_section = "attachments.html" + doc_section = "using.html#attachments" %]
diff --git a/template/en/default/attachment/create.html.tmpl b/template/en/default/attachment/create.html.tmpl index abc0f97bf..5c2384d51 100644 --- a/template/en/default/attachment/create.html.tmpl +++ b/template/en/default/attachment/create.html.tmpl @@ -19,7 +19,7 @@ style_urls = [ 'skins/standard/attachment.css' ] yui = [ 'autocomplete' ] javascript_urls = [ "js/attachment.js", 'js/field.js', "js/util.js", "js/TUI.js" ] - doc_section = "attachments.html" + doc_section = "using.html#attachments" %]