From 832be61ce419f06cc682e7afc07d9197592a6bf5 Mon Sep 17 00:00:00 2001 From: "mkanat%bugzilla.org" <> Date: Wed, 30 Sep 2009 22:34:31 +0000 Subject: Bug 512623: Change get_status and get_resolution to display_value everywhere. Patch by Max Kanat-Alexander r=LpSolit, a=LpSolit --- template/en/default/pages/fields.html.tmpl | 64 +++++++++++++++--------------- 1 file changed, 32 insertions(+), 32 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 7487841c8..9e938bbcb 100644 --- a/template/en/default/pages/fields.html.tmpl +++ b/template/en/default/pages/fields.html.tmpl @@ -54,47 +54,47 @@ cycle of [% terms.abug %].
- [% get_status("UNCONFIRMED") FILTER html %] + [% display_value("bug_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 [% get_status("NEW") FILTER html %]. Or, it may be - directly resolved and marked [% get_status("RESOLVED") FILTER html %]. + this [% terms.bug %], changing its state to [% display_value("bug_status", "NEW") FILTER html %]. Or, it may be + directly resolved and marked [% display_value("bug_status", "RESOLVED") FILTER html %].
- [% get_status("NEW") FILTER html %] + [% display_value("bug_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 [% 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 %]. + this state may be accepted, and become [% display_value("bug_status", "ASSIGNED") FILTER html %], passed + on to someone else, and remain [% display_value("bug_status", "NEW") FILTER html %], or resolved and marked + [% display_value("bug_status", "RESOLVED") FILTER html %].
- [% get_status("ASSIGNED") FILTER html %] + [% display_value("bug_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 [% get_status("NEW") FILTER html %], or - resolved and become [% get_status("RESOLVED") FILTER html %]. + person and become [% display_value("bug_status", "NEW") FILTER html %], or + resolved and become [% display_value("bug_status", "RESOLVED") FILTER html %].
- [% get_status("REOPENED") FILTER html %] + [% display_value("bug_status", "REOPENED") FILTER html %]
This [% terms.bug %] was once resolved, but the resolution was - deemed incorrect. For example, a [% get_resolution("WORKSFORME") FILTER html %] [% terms.bug %] is - [% get_status("REOPENED") FILTER html %] when more information shows up and + deemed incorrect. For example, a [% display_value("resolution", "WORKSFORME") FILTER html %] [% terms.bug %] is + [% display_value("bug_status", "REOPENED") FILTER html %] when more information shows up and the [% terms.bug %] is now reproducible. From here [% terms.bugs %] are - either marked [% get_status("ASSIGNED") FILTER html %] or - [% get_status("RESOLVED") FILTER html %]. + either marked [% display_value("bug_status", "ASSIGNED") FILTER html %] or + [% display_value("bug_status", "RESOLVED") FILTER html %].
@@ -115,34 +115,34 @@ cycle of [% terms.abug %].
- [% get_status("RESOLVED") FILTER html %] + [% display_value("bug_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 - [% get_status("REOPENED") FILTER html %], are marked - [% get_status("VERIFIED") FILTER html %], or are closed for - good and marked [% get_status("CLOSED") FILTER html %]. + [% display_value("bug_status", "REOPENED") FILTER html %], are marked + [% display_value("bug_status", "VERIFIED") FILTER html %], or are closed for + good and marked [% display_value("bug_status", "CLOSED") FILTER html %].
- [% get_status("VERIFIED") FILTER html %] + [% display_value("bug_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 - [% get_status("CLOSED") FILTER html %]. + [% display_value("bug_status", "CLOSED") FILTER html %].
- [% get_status("CLOSED") FILTER html %] + [% display_value("bug_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 [% get_status("REOPENED") FILTER html %]. + do so by becoming [% display_value("bug_status", "REOPENED") FILTER html %].
@@ -150,7 +150,7 @@ cycle of [% terms.abug %].
- [% get_resolution("FIXED") FILTER html %] + [% display_value("resolution", "FIXED") FILTER html %]
A fix for this [% terms.bug %] is checked into the tree and @@ -158,14 +158,14 @@ cycle of [% terms.abug %].
- [% get_resolution("INVALID") FILTER html %] + [% display_value("resolution", "INVALID") FILTER html %]
The problem described is not [% terms.abug %].
- [% get_resolution("WONTFIX") FILTER html %] + [% display_value("resolution", "WONTFIX") FILTER html %]
The problem described is [% terms.abug %] which will never be @@ -173,7 +173,7 @@ cycle of [% terms.abug %].
- [% get_resolution("DUPLICATE") FILTER html %] + [% display_value("resolution", "DUPLICATE") FILTER html %]
The problem is a duplicate of an existing [% terms.bug %]. @@ -183,7 +183,7 @@ cycle of [% terms.abug %].
- [% get_resolution("WORKSFORME") FILTER html %] + [% display_value("resolution", "WORKSFORME") FILTER html %]
All attempts at reproducing this [% terms.bug %] were futile, @@ -193,7 +193,7 @@ cycle of [% terms.abug %].
- [% get_resolution("MOVED") FILTER html %] + [% display_value("resolution", "MOVED") FILTER html %]
The problem was specific to a related product @@ -303,12 +303,12 @@ others.

This is the person in charge of resolving the [% terms.bug %]. Every time -this field changes, the status changes to [% get_status("NEW") FILTER html %] to make it +this field changes, the status changes to [% display_value("bug_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 [% get_status("NEW") FILTER html %], -[%+ get_status("ASSIGNED") FILTER html %] and [% get_status("REOPENED") FILTER html %]. +The default status for queries is set to [% display_value("bug_status", "NEW") FILTER html %], +[%+ display_value("bug_status", "ASSIGNED") FILTER html %] and [% display_value("bug_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