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 --- docs/xml/administration.xml | 24 +++++++++++----------- editclassifications.cgi | 3 +++ editcomponents.cgi | 3 +++ editmilestones.cgi | 3 +++ editproducts.cgi | 3 +++ editversions.cgi | 3 +++ template/en/default/admin/admin.html.tmpl | 1 + .../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 + .../en/default/admin/params/editparams.html.tmpl | 1 + template/en/default/admin/sudo.html.tmpl | 1 + .../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 + 17 files changed, 43 insertions(+), 13 deletions(-) diff --git a/docs/xml/administration.xml b/docs/xml/administration.xml index 50ffe43f0..cdb48cdbd 100644 --- a/docs/xml/administration.xml +++ b/docs/xml/administration.xml @@ -1036,9 +1036,9 @@
editcomponentspermission, you will - have
Edit: ... | Flags | ...in your page footer. - Clicking on that link will bring you to the
Administer + If you have theeditcomponentspermission, you can + edit Flag Types from the main administration page. Clicking the +Flagslink will bring you to theAdminister Flag Typespage. Here, you can select whether you want to create (or edit) a Bug flag, or an Attachment flag.
Edit+ link next to the flag's description. That will take you to the same + form as described below (
Edit- link next to the flag's description. That will take you to the same - form described in the
Creating a Flagsection. -
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 %]