From a9622f6e83565710d62edf4230ea6a61c0c9e856 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" Date: Sun, 11 Nov 2007 21:57:10 +0000 Subject: [PATCH] Part 3 of bug 182083: add Help for more admin pages - Patch by me, r=Colin git-svn-id: svn://10.0.0.236/trunk@239164 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/webtools/bugzilla/docs/xml/administration.xml | 4 ++-- mozilla/webtools/bugzilla/editvalues.cgi | 4 ++++ .../template/en/default/admin/custom_fields/create.html.tmpl | 4 +++- .../template/en/default/admin/custom_fields/edit.html.tmpl | 4 +++- .../template/en/default/admin/custom_fields/list.html.tmpl | 5 ++++- .../en/default/admin/groups/confirm-remove.html.tmpl | 5 ++++- .../template/en/default/admin/groups/create.html.tmpl | 1 + .../template/en/default/admin/groups/delete.html.tmpl | 1 + .../bugzilla/template/en/default/admin/groups/edit.html.tmpl | 2 ++ .../bugzilla/template/en/default/admin/groups/list.html.tmpl | 1 + .../bugzilla/template/en/default/whine/schedule.html.tmpl | 5 ++++- 11 files changed, 29 insertions(+), 7 deletions(-) diff --git a/mozilla/webtools/bugzilla/docs/xml/administration.xml b/mozilla/webtools/bugzilla/docs/xml/administration.xml index a0c7a7c8b64..f8c62913f38 100644 --- a/mozilla/webtools/bugzilla/docs/xml/administration.xml +++ b/mozilla/webtools/bugzilla/docs/xml/administration.xml @@ -1692,7 +1692,7 @@ foo: ENTRY, MANDATORY/MANDATORY, CANEDIT and un-checking the box next to either 'Reporter' or 'CC List' (or both). -
+
Creating Groups To create Groups: @@ -1748,7 +1748,7 @@ foo: ENTRY, MANDATORY/MANDATORY, CANEDIT
-
+
Assigning Users to Groups Users can become a member of a group in several ways. diff --git a/mozilla/webtools/bugzilla/editvalues.cgi b/mozilla/webtools/bugzilla/editvalues.cgi index f60ab634e56..9be6b5440f0 100755 --- a/mozilla/webtools/bugzilla/editvalues.cgi +++ b/mozilla/webtools/bugzilla/editvalues.cgi @@ -112,6 +112,10 @@ my $cgi = Bugzilla->cgi; my $template = Bugzilla->template; my $vars = {}; +# Replace this entry by separate entries in templates when +# the documentation about legal values becomes bigger. +$vars->{'doc_section'} = 'edit-values.html'; + print $cgi->header(); exists Bugzilla->user->groups->{'admin'} || diff --git a/mozilla/webtools/bugzilla/template/en/default/admin/custom_fields/create.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/admin/custom_fields/create.html.tmpl index 4feb57393f5..5dd50ce3b47 100644 --- a/mozilla/webtools/bugzilla/template/en/default/admin/custom_fields/create.html.tmpl +++ b/mozilla/webtools/bugzilla/template/en/default/admin/custom_fields/create.html.tmpl @@ -21,7 +21,9 @@ [% PROCESS global/header.html.tmpl title = "Add a new Custom Field" - onload = "document.getElementById('new_bugmail').disabled = true;" %] + onload = "document.getElementById('new_bugmail').disabled = true;" + doc_section = "custom-fields.html#add-custom-fields" +%]