From 50cdda2d571514abf2e8781cb376da199cdb1816 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Mon, 12 Nov 2007 03:57:08 +0000 Subject: Part 3 of bug 182083: add Help for more admin pages - Patch by me, r=Colin --- docs/xml/administration.xml | 4 ++-- 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 ++++- template/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 + template/en/default/admin/groups/edit.html.tmpl | 2 ++ template/en/default/admin/groups/list.html.tmpl | 1 + template/en/default/whine/schedule.html.tmpl | 5 ++++- 11 files changed, 29 insertions(+), 7 deletions(-) diff --git a/docs/xml/administration.xml b/docs/xml/administration.xml index a0c7a7c8b..f8c62913f 100644 --- a/docs/xml/administration.xml +++ b/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/editvalues.cgi b/editvalues.cgi index f60ab634e..9be6b5440 100755 --- a/editvalues.cgi +++ b/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/template/en/default/admin/custom_fields/create.html.tmpl b/template/en/default/admin/custom_fields/create.html.tmpl index 4feb57393..5dd50ce3b 100644 --- a/template/en/default/admin/custom_fields/create.html.tmpl +++ b/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" +%]