From edcc538e961a21c18566bf71fea02c0ef5bbd256 Mon Sep 17 00:00:00 2001 From: "lpsolit%gmail.com" <> Date: Tue, 10 Apr 2007 22:33:10 +0000 Subject: Bug 377026: Replace all occurences of status_descs.FOO by get_status("FOO") (next step in supporting custom bug statuses) - Patch by Frédéric Buclin r=gerv a=LpSolit MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- template/en/default/pages/fields.html.tmpl | 50 ++++++++++++++++-------------- 1 file changed, 27 insertions(+), 23 deletions(-) (limited to 'template/en/default/pages/fields.html.tmpl') diff --git a/template/en/default/pages/fields.html.tmpl b/template/en/default/pages/fields.html.tmpl index 6b77f8b2e..2f200f8b8 100644 --- a/template/en/default/pages/fields.html.tmpl +++ b/template/en/default/pages/fields.html.tmpl @@ -55,45 +55,47 @@ cycle of [% terms.abug %].
- [% status_descs.UNCONFIRMED FILTER html %] + [% get_status("UNCONFIRMED") FILTER html %]
This [% terms.bug %] has recently been added to the database. Nobody has validated that this [% terms.bug %] is true. Users who have the "canconfirm" permission set may confirm - this [% terms.bug %], changing its state to [% status_descs.NEW FILTER html %]. Or, it may be - directly resolved and marked [% status_descs.RESOLVED FILTER html %]. + this [% terms.bug %], changing its state to [% get_status("NEW") FILTER html %]. Or, it may be + directly resolved and marked [% get_status("RESOLVED") FILTER html %].
- [% status_descs.NEW FILTER html %] + [% get_status("NEW") FILTER html %]
This [% terms.bug %] has recently been added to the assignee's list of [% terms.bugs %] and must be processed. [% terms.Bugs %] in - this state may be accepted, and become [% status_descs.ASSIGNED FILTER html %], passed - on to someone else, and remain [% status_descs.NEW FILTER html %], or resolved and marked - [% status_descs.RESOLVED FILTER html %]. + this state may be accepted, and become [% get_status("ASSIGNED") FILTER html %], passed + on to someone else, and remain [% get_status("NEW") FILTER html %], or resolved and marked + [% get_status("RESOLVED") FILTER html %].
- [% status_descs.ASSIGNED FILTER html %] + [% get_status("ASSIGNED") FILTER html %]
This [% terms.bug %] is not yet resolved, but is assigned to the proper person. From here [% terms.bugs %] can be given to another - person and become [% status_descs.NEW FILTER html %], or resolved and become [% status_descs.RESOLVED FILTER html %]. + person and become [% get_status("NEW") FILTER html %], or + resolved and become [% get_status("RESOLVED") FILTER html %].
- [% status_descs.REOPENED FILTER html %] + [% get_status("REOPENED") FILTER html %]
This [% terms.bug %] was once resolved, but the resolution was - deemed incorrect. For example, a [% status_descs.WORKSFORME FILTER html %] [% terms.bug %] is - [% status_descs.REOPENED FILTER html %] when more information shows up and + deemed incorrect. For example, a [% get_status("WORKSFORME") FILTER html %] [% terms.bug %] is + [% get_status("REOPENED") FILTER html %] when more information shows up and the [% terms.bug %] is now reproducible. From here [% terms.bugs %] are - either marked [% status_descs.ASSIGNED FILTER html %] or [% status_descs.RESOLVED FILTER html %]. + either marked [% get_status("ASSIGNED") FILTER html %] or + [% get_status("RESOLVED") FILTER html %].
@@ -114,33 +116,34 @@ cycle of [% terms.abug %].
- [% status_descs.RESOLVED FILTER html %] + [% get_status("RESOLVED") FILTER html %]
A resolution has been taken, and it is awaiting verification by QA. From here [% terms.bugs %] are either re-opened and become - [% status_descs.REOPENED FILTER html %], are marked [% status_descs.VERIFIED FILTER html %], or are closed for - good and marked [% status_descs.CLOSED FILTER html %]. + [% get_status("REOPENED") FILTER html %], are marked + [% get_status("VERIFIED") FILTER html %], or are closed for + good and marked [% get_status("CLOSED") FILTER html %].
- [% status_descs.VERIFIED FILTER html %] + [% get_status("VERIFIED") FILTER html %]
QA has looked at the [% terms.bug %] and the resolution and agrees that the appropriate resolution has been taken. [% terms.Bugs %] remain in this state until the product they were reported against actually ships, at which point they become - [% status_descs.CLOSED FILTER html %]. + [% get_status("CLOSED") FILTER html %].
- [% status_descs.CLOSED FILTER html %] + [% get_status("CLOSED") FILTER html %]
The [% terms.bug %] is considered dead, the resolution is correct. Any zombie [% terms.bugs %] who choose to walk the earth again must - do so by becoming [% status_descs.REOPENED FILTER html %]. + do so by becoming [% get_status("REOPENED") FILTER html %].
@@ -292,12 +295,13 @@ others.

This is the person in charge of resolving the [% terms.bug %]. Every time -this field changes, the status changes to [% status_descs.NEW FILTER html %] to make it +this field changes, the status changes to [% get_status("NEW") FILTER html %] to make it easy to see which new [% terms.bugs %] have appeared on a person's list.

-The default status for queries is set to [% status_descs.NEW FILTER html %], [% descs.bug_status_descs.ASSIGNED FILTER html %] and -[% status_descs.REOPENED FILTER html %]. When searching for [% terms.bugs %] that have been resolved or +The default status for queries is set to [% get_status("NEW") FILTER html %], +[%+ get_status("ASSIGNED") FILTER html %] and [% get_status("REOPENED") FILTER html %]. +When searching for [% terms.bugs %] that have been resolved or verified, remember to set the status field appropriately.

-- cgit v1.2.3-24-g4f1b