From 06e7baa3fb12979c60b6c5ba59322d33a73e3e58 Mon Sep 17 00:00:00 2001 From: Frédéric Buclin Date: Wed, 24 Feb 2010 13:39:34 +0100 Subject: Bug 547496: Add IDs to some form elements r=pyrzak a=LpSolit --- template/en/default/admin/admin.html.tmpl | 26 +++++++++++++------------- template/en/default/global/tabs.html.tmpl | 8 ++++++-- template/en/default/reports/menu.html.tmpl | 11 ++++++----- 3 files changed, 25 insertions(+), 20 deletions(-) (limited to 'template') diff --git a/template/en/default/admin/admin.html.tmpl b/template/en/default/admin/admin.html.tmpl index 15f126ba5..2606b1c5e 100644 --- a/template/en/default/admin/admin.html.tmpl +++ b/template/en/default/admin/admin.html.tmpl @@ -37,39 +37,39 @@
[% class = user.in_group('tweakparams') ? "" : "forbidden" %] -
Parameters
+
Parameters
Set core parameters of the installation. That's the place where you specify the URL to access this installation, determine how users authenticate, choose which [% terms.bug %] fields to display, select the mail transfer agent to send email notifications, choose which group of users can use charts and share queries, and much more.
-
Default Preferences
+
Default Preferences
Set the default user preferences. These are the values which will be used by default for all users. Users will be able to edit their own preferences from the Preferences.
[% class = user.in_group('editcomponents') ? "" : "forbidden" %] -
Sanity Check
+
Sanity Check
Run sanity checks to locate problems in your database. This may take several tens of minutes depending on the size of your installation. You can also automate this check by running sanitycheck.pl from a cron job. A notification will be sent per email to the specified user if errors are detected.
[% class = (user.in_group('editusers') || user.can_bless) ? "" : "forbidden" %] -
Users
+
Users
Create new user accounts or edit existing ones. You can also add and remove users from groups (also known as "user privileges").
[% class = (Param('useclassification') && user.in_group('editclassifications')) ? "" : "forbidden" %] -
Classifications
+
Classifications
If your installation has to manage many products at once, it's a good idea to group these products into distinct categories. This lets users find information more easily when doing searches or when filing new [% terms.bugs %].
[% class = (user.in_group('editcomponents') || user.get_products_by_permission("editcomponents").size) ? "" : "forbidden" %] -
Products
+
Products
Edit all aspects of products, including group restrictions which let you define who can access [% terms.bugs %] being in these products. You can also edit some specific attributes of products such as @@ -77,7 +77,7 @@ and milestones directly.
[% class = user.in_group('editcomponents') ? "" : "forbidden" %] -
Flags
+
Flags
A flag is a custom 4-states attribute of [% terms.bugs %] and/or attachments. These states are: granted, denied, requested and undefined. You can set as many flags as desired per [% terms.bug %], and define which users @@ -88,7 +88,7 @@
[% class = user.in_group('admin') ? "" : "forbidden" %] -
Custom Fields
+
Custom Fields
[% terms.Bugzilla %] lets you define fields which are not implemented by default, based on your local and specific requirements. These fields can then be used as any other field, meaning that you can set @@ -97,29 +97,29 @@ interface more complex and harder to use. Be sure you have investigated other ways to satisfy your needs before doing this.
-
Field Values
+
Field Values
Define legal values for fields whose values must belong to some given list. This is also the place where you define legal values for some types of custom fields.
-
[%terms.Bug %] Status Workflow
+
[%terms.Bug %] Status Workflow
Customize your workflow and choose initial [% terms.bug %] statuses available on [% terms.bug %] creation and allowed [% terms.bug %] status transitions when editing existing [% terms.bugs %].
[% class = user.in_group('creategroups') ? "" : "forbidden" %] -
Groups
+
Groups
Define groups which will be used in the installation. They can either be used to define new user privileges or to restrict the access to some [% terms.bugs %].
[% class = user.in_group('editkeywords') ? "" : "forbidden" %] -
Keywords
+
Keywords
Set keywords to be used with [% terms.bugs %]. Keywords are an easy way to "tag" [% terms.bugs %] to let you find them more easily later.
[% class = user.in_group('bz_canusewhines') ? "" : "forbidden" %] -
Whining
+
Whining
Set queries which will be run at some specified date and time, and get the result of these queries directly per email. This is a good way to create reminders and to keep track of the activity in your installation.
diff --git a/template/en/default/global/tabs.html.tmpl b/template/en/default/global/tabs.html.tmpl index 4f363c222..85556c482 100644 --- a/template/en/default/global/tabs.html.tmpl +++ b/template/en/default/global/tabs.html.tmpl @@ -35,9 +35,13 @@ [% FOREACH tab = tabs %] [% IF tab.name == current_tab_name %] - [% tab.label FILTER html %] + + [% tab.label FILTER html %] [% ELSE %] - [% tab.label FILTER html %] + + [% tab.label FILTER html %] + [% END %] [% END %] diff --git a/template/en/default/reports/menu.html.tmpl b/template/en/default/reports/menu.html.tmpl index 12c95d93e..5f26ac335 100644 --- a/template/en/default/reports/menu.html.tmpl +++ b/template/en/default/reports/menu.html.tmpl @@ -28,6 +28,7 @@ [% PROCESS global/header.html.tmpl title = "Reporting and Charting Kitchen" doc_section = "reporting.html" + style_urls = ['skins/standard/reports.css'] %]

@@ -38,18 +39,18 @@

Current State

    -
  • +
  • -
  • +
  • Tabular reports - tables of [% terms.bug %] counts in 1, 2 or 3 dimensions, as HTML or CSV.
  • [% IF feature_enabled('graphical_reports') %] -
  • +
  • Graphical reports - @@ -64,14 +65,14 @@
      [% IF feature_enabled('old_charts') %] -
    • +
    • Old Charts - plot the status and/or resolution of [% terms.bugs %] against time, for each product in your database.
    • [% END %] [% IF feature_enabled('new_charts') AND user.in_group(Param("chartgroup")) %] -
    • +
    • New Charts - plot any arbitrary search against time. Far more powerful.
    • -- cgit v1.2.3-24-g4f1b