Commit 50cdda2d authored by lpsolit%gmail.com's avatar lpsolit%gmail.com

Part 3 of bug 182083: add Help for more admin pages - Patch by me, r=Colin

parent a730795d
......@@ -1692,7 +1692,7 @@ foo: ENTRY, MANDATORY/MANDATORY, CANEDIT
and un-checking the box next to either 'Reporter' or 'CC List' (or both).
</para>
</note>
<section>
<section id="create-groups">
<title>Creating Groups</title>
<para>To create Groups:</para>
......@@ -1748,7 +1748,7 @@ foo: ENTRY, MANDATORY/MANDATORY, CANEDIT
</orderedlist>
</section>
<section>
<section id="edit-groups">
<title>Assigning Users to Groups</title>
<para>Users can become a member of a group in several ways.</para>
<orderedlist>
......
......@@ -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'} ||
......
......@@ -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"
%]
<script type="text/javascript">
<!--
......
......@@ -25,7 +25,9 @@
[% PROCESS global/header.html.tmpl
title = title
onload = "toggleCheckbox(document.getElementById('enter_bug'), 'new_bugmail');" %]
onload = "toggleCheckbox(document.getElementById('enter_bug'), 'new_bugmail');"
doc_section = "custom-fields.html#edit-custom-fields"
%]
<script type="text/javascript">
<!--
......
......@@ -19,7 +19,10 @@
[% PROCESS "global/field-descs.none.tmpl" %]
[% PROCESS global/header.html.tmpl title = "Custom Fields" %]
[% PROCESS global/header.html.tmpl
title = "Custom Fields"
doc_section = "custom-fields.html"
%]
[% columns = [
{
......
......@@ -33,7 +33,10 @@
[% title = "Confirm: Remove All Explicit Members?" %]
[% END %]
[% PROCESS global/header.html.tmpl %]
[% PROCESS global/header.html.tmpl
title = title
doc_section = "groups.html"
%]
[% IF regexp %]
<p>This option will remove all users from '[% group.name FILTER html %]'
......
......@@ -28,6 +28,7 @@
[% PROCESS global/header.html.tmpl
title = "Add group"
subheader = "This page allows you to define a new user group."
doc_section = "groups.html#create-groups"
%]
<form method="post" action="editgroups.cgi">
......
......@@ -36,6 +36,7 @@
[% PROCESS global/header.html.tmpl
title = "Delete group"
doc_section = "groups.html"
%]
<table border="1">
......
......@@ -33,6 +33,8 @@
[% title = BLOCK %]Change Group: [% group.name FILTER html %][% END %]
[% PROCESS global/header.html.tmpl
title = title
doc_section = "groups.html#edit-groups"
style = "
.grant_table { border-collapse: collapse; }
.grant_table td, .grant_table th {
......
......@@ -34,6 +34,7 @@
[% PROCESS global/header.html.tmpl
title = "Edit Groups"
subheader = "This lets you edit the groups available to put users in."
doc_section = "groups.html"
%]
[% edit_contentlink = "editgroups.cgi?action=changeform&amp;group=%%id%%" %]
......
......@@ -35,7 +35,10 @@
[% PROCESS global/variables.none.tmpl %]
[% title = "Set up whining" %]
[% PROCESS global/header.html.tmpl %]
[% PROCESS global/header.html.tmpl
title = title
doc_section = "whining.html"
%]
<p>
"Whining" is when [% terms.Bugzilla %] executes a saved query at a regular interval
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment