From f7b1c511e04eadfe10af75a84225b441b4abadd2 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 23 Oct 2007 02:41:58 +0000 Subject: Part 2 of bug 182083: add Help for more admin pages - Patch by me, r=Colin --- template/en/default/admin/admin.html.tmpl | 1 + template/en/default/admin/flag-type/confirm-delete.html.tmpl | 5 ++++- template/en/default/admin/flag-type/edit.html.tmpl | 3 +++ template/en/default/admin/flag-type/list.html.tmpl | 1 + template/en/default/admin/params/editparams.html.tmpl | 1 + template/en/default/admin/sudo.html.tmpl | 1 + template/en/default/admin/users/confirm-delete.html.tmpl | 1 + template/en/default/admin/users/create.html.tmpl | 1 + template/en/default/admin/users/edit.html.tmpl | 1 + template/en/default/admin/users/list.html.tmpl | 1 + template/en/default/admin/users/search.html.tmpl | 1 + 11 files changed, 16 insertions(+), 1 deletion(-) (limited to 'template') diff --git a/template/en/default/admin/admin.html.tmpl b/template/en/default/admin/admin.html.tmpl index 0a1aed289..dc8859537 100644 --- a/template/en/default/admin/admin.html.tmpl +++ b/template/en/default/admin/admin.html.tmpl @@ -22,6 +22,7 @@ [% PROCESS global/header.html.tmpl title = title style_urls = ['skins/standard/admin.css'] + doc_section = "administration.html" %]
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 131dc73d9..cc6a064a9 100644 --- a/template/en/default/admin/flag-type/confirm-delete.html.tmpl +++ b/template/en/default/admin/flag-type/confirm-delete.html.tmpl @@ -22,7 +22,10 @@ [% title = BLOCK %]Confirm Deletion of Flag Type '[% flag_type.name FILTER html %]'[% END %] -[% PROCESS global/header.html.tmpl title = title %] +[% PROCESS global/header.html.tmpl + title = title + doc_section = "flags-overview.html#flags-delete" +%]

There are [% flag_type.flag_count %] flags of type [% flag_type.name FILTER html %]. diff --git a/template/en/default/admin/flag-type/edit.html.tmpl b/template/en/default/admin/flag-type/edit.html.tmpl index 609e3db9d..ebebf5082 100644 --- a/template/en/default/admin/flag-type/edit.html.tmpl +++ b/template/en/default/admin/flag-type/edit.html.tmpl @@ -33,10 +33,12 @@ [% typeLabelLowerSingular = BLOCK %]attachment[% END %] [% END %] +[% doc_section = "flags-overview.html#flags-create" %] [% IF last_action == "copy" %] [% title = BLOCK %]Create Flag Type Based on [% type.name FILTER html %][% END %] [% ELSIF last_action == "edit" %] [% title = BLOCK %]Edit Flag Type [% type.name FILTER html %][% END %] + [% doc_section = "flags-overview.html#flags-edit" %] [% END %] [% PROCESS global/header.html.tmpl @@ -47,6 +49,7 @@ " onload="var f = document.forms[0]; selectProduct(f.product, f.component, null, null, '__Any__');" javascript_urls=["js/productform.js"] + doc_section = doc_section %]

diff --git a/template/en/default/admin/flag-type/list.html.tmpl b/template/en/default/admin/flag-type/list.html.tmpl index 6f9fe4d0d..d4bba945a 100644 --- a/template/en/default/admin/flag-type/list.html.tmpl +++ b/template/en/default/admin/flag-type/list.html.tmpl @@ -32,6 +32,7 @@ " onload="var f = document.forms[0]; selectProduct(f.product, f.component, null, null, '__All__');" javascript_urls=["js/productform.js"] + doc_section = "flags-overview.html#flag-types" %]

diff --git a/template/en/default/admin/params/editparams.html.tmpl b/template/en/default/admin/params/editparams.html.tmpl index ac646f97b..a35ec0f4a 100644 --- a/template/en/default/admin/params/editparams.html.tmpl +++ b/template/en/default/admin/params/editparams.html.tmpl @@ -57,6 +57,7 @@ message = message style_urls = ['skins/standard/params.css'] javascript_urls = ['js/params.js'] + doc_section = "parameters.html" %] diff --git a/template/en/default/admin/sudo.html.tmpl b/template/en/default/admin/sudo.html.tmpl index 3bdbd9fab..4dc70f95a 100644 --- a/template/en/default/admin/sudo.html.tmpl +++ b/template/en/default/admin/sudo.html.tmpl @@ -23,6 +23,7 @@ [% PROCESS global/header.html.tmpl title = "Begin sudo session" style_urls = ['skins/standard/admin.css'] + doc_section = "useradmin.html#impersonatingusers" %] [% 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 d6607c397..52c98f0b1 100644 --- a/template/en/default/admin/users/confirm-delete.html.tmpl +++ b/template/en/default/admin/users/confirm-delete.html.tmpl @@ -48,6 +48,7 @@ title = title style_urls = ['skins/standard/admin.css', 'skins/standard/editusers.css'] + doc_section = "useradmin.html#user-account-deletion" %] [% 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 dd674b723..6fd5b67e7 100644 --- a/template/en/default/admin/users/create.html.tmpl +++ b/template/en/default/admin/users/create.html.tmpl @@ -23,6 +23,7 @@ title = "Add user" style_urls = ['skins/standard/editusers.css'] onload = "document.forms['f'].login.focus()" + doc_section = "useradmin.html#createnewusers" %] [% 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 37c0a74b2..3efa4b8bf 100644 --- a/template/en/default/admin/users/edit.html.tmpl +++ b/template/en/default/admin/users/edit.html.tmpl @@ -30,6 +30,7 @@ title = title message = message style_urls = ['skins/standard/admin.css', 'skins/standard/editusers.css'] + doc_section = "useradmin.html#modifyusers" %] [% PROCESS admin/users/listselectvars.html.tmpl diff --git a/template/en/default/admin/users/list.html.tmpl b/template/en/default/admin/users/list.html.tmpl index 4ccc1464d..4788e527d 100644 --- a/template/en/default/admin/users/list.html.tmpl +++ b/template/en/default/admin/users/list.html.tmpl @@ -24,6 +24,7 @@ [% PROCESS global/header.html.tmpl title = "Select user" style_urls = ['skins/standard/editusers.css'] + doc_section = "useradmin.html" %] [% 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 ff1419d98..82e0afda7 100644 --- a/template/en/default/admin/users/search.html.tmpl +++ b/template/en/default/admin/users/search.html.tmpl @@ -27,6 +27,7 @@ title = "Search users" style_urls = ['skins/standard/editusers.css'] onload = "document.forms['f'].matchstr.focus()" + doc_section = "useradmin.html#user-account-search" %] [% PROCESS admin/users/listselectvars.html.tmpl -- cgit v1.2.3-24-g4f1b