diff options
author | lpsolit%gmail.com <> | 2007-04-10 22:33:10 +0000 |
---|---|---|
committer | lpsolit%gmail.com <> | 2007-04-10 22:33:10 +0000 |
commit | edcc538e961a21c18566bf71fea02c0ef5bbd256 (patch) | |
tree | 95e8a888d9fbbba60eb6e0774dfcfcf6c87866f4 /template/en/default/pages/fields.html.tmpl | |
parent | 8918a55e52c9badc177a791a4e70b1033c6615b7 (diff) | |
download | bugs-edcc538e961a21c18566bf71fea02c0ef5bbd256.tar bugs-edcc538e961a21c18566bf71fea02c0ef5bbd256.tar.gz bugs-edcc538e961a21c18566bf71fea02c0ef5bbd256.tar.bz2 bugs-edcc538e961a21c18566bf71fea02c0ef5bbd256.tar.xz bugs-edcc538e961a21c18566bf71fea02c0ef5bbd256.zip |
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 <LpSolit@gmail.com> r=gerv a=LpSolit
Diffstat (limited to 'template/en/default/pages/fields.html.tmpl')
-rw-r--r-- | template/en/default/pages/fields.html.tmpl | 50 |
1 files changed, 27 insertions, 23 deletions
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 %]. <td> <dl> <dt> - <b>[% status_descs.UNCONFIRMED FILTER html %]</b> + <b>[% get_status("UNCONFIRMED") FILTER html %]</b> </dt> <dd> 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 %]. </dd> <dt> - <b>[% status_descs.NEW FILTER html %]</b> + <b>[% get_status("NEW") FILTER html %]</b> </dt> <dd> 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 <b>[% status_descs.ASSIGNED FILTER html %]</b>, passed - on to someone else, and remain <b>[% status_descs.NEW FILTER html %]</b>, or resolved and marked - <b>[% status_descs.RESOLVED FILTER html %]</b>. + this state may be accepted, and become <b>[% get_status("ASSIGNED") FILTER html %]</b>, passed + on to someone else, and remain <b>[% get_status("NEW") FILTER html %]</b>, or resolved and marked + <b>[% get_status("RESOLVED") FILTER html %]</b>. </dd> <dt> - <b>[% status_descs.ASSIGNED FILTER html %]</b> + <b>[% get_status("ASSIGNED") FILTER html %]</b> </dt> <dd> 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 <b>[% status_descs.NEW FILTER html %]</b>, or resolved and become <b>[% status_descs.RESOLVED FILTER html %]</b>. + person and become <b>[% get_status("NEW") FILTER html %]</b>, or + resolved and become <b>[% get_status("RESOLVED") FILTER html %]</b>. </dd> <dt> - <b>[% status_descs.REOPENED FILTER html %]</b> + <b>[% get_status("REOPENED") FILTER html %]</b> </dt> <dd> This [% terms.bug %] was once resolved, but the resolution was - deemed incorrect. For example, a <b>[% status_descs.WORKSFORME FILTER html %]</b> [% terms.bug %] is - <b>[% status_descs.REOPENED FILTER html %]</b> when more information shows up and + deemed incorrect. For example, a <b>[% get_status("WORKSFORME") FILTER html %]</b> [% terms.bug %] is + <b>[% get_status("REOPENED") FILTER html %]</b> when more information shows up and the [% terms.bug %] is now reproducible. From here [% terms.bugs %] are - either marked <b>[% status_descs.ASSIGNED FILTER html %]</b> or <b>[% status_descs.RESOLVED FILTER html %]</b>. + either marked <b>[% get_status("ASSIGNED") FILTER html %]</b> or + <b>[% get_status("RESOLVED") FILTER html %]</b>. </dd> </dl> </td> @@ -114,33 +116,34 @@ cycle of [% terms.abug %]. <td> <dl> <dt> - <b>[% status_descs.RESOLVED FILTER html %]</b> + <b>[% get_status("RESOLVED") FILTER html %]</b> </dt> <dd> A resolution has been taken, and it is awaiting verification by QA. From here [% terms.bugs %] are either re-opened and become - <b>[% status_descs.REOPENED FILTER html %]</b>, are marked <b>[% status_descs.VERIFIED FILTER html %]</b>, or are closed for - good and marked <b>[% status_descs.CLOSED FILTER html %]</b>. + <b>[% get_status("REOPENED") FILTER html %]</b>, are marked + <b>[% get_status("VERIFIED") FILTER html %]</b>, or are closed for + good and marked <b>[% get_status("CLOSED") FILTER html %]</b>. </dd> <dt> - <b>[% status_descs.VERIFIED FILTER html %]</b> + <b>[% get_status("VERIFIED") FILTER html %]</b> </dt> <dd> 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 - <b>[% status_descs.CLOSED FILTER html %]</b>. + <b>[% get_status("CLOSED") FILTER html %]</b>. </dd> <dt> - <b>[% status_descs.CLOSED FILTER html %]</b> + <b>[% get_status("CLOSED") FILTER html %]</b> </dt> <dd> 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 <b>[% status_descs.REOPENED FILTER html %]</b>. + do so by becoming <b>[% get_status("REOPENED") FILTER html %]</b>. </dd> </dl> </td> @@ -292,12 +295,13 @@ others. <p> This is the person in charge of resolving the [% terms.bug %]. Every time -this field changes, the status changes to <b>[% status_descs.NEW FILTER html %]</b> to make it +this field changes, the status changes to <b>[% get_status("NEW") FILTER html %]</b> to make it easy to see which new [% terms.bugs %] have appeared on a person's list.</p> <p> -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. </p> |