]> git.ipfire.org Git - thirdparty/bugzilla.git/commitdiff
Bug 377026: Replace all occurences of status_descs.FOO by get_status("FOO") (next...
authorlpsolit%gmail.com <>
Tue, 10 Apr 2007 22:33:10 +0000 (22:33 +0000)
committerlpsolit%gmail.com <>
Tue, 10 Apr 2007 22:33:10 +0000 (22:33 +0000)
19 files changed:
template/en/default/admin/products/edit-common.html.tmpl
template/en/default/bug/activity/table.html.tmpl
template/en/default/bug/create/create.html.tmpl
template/en/default/bug/knob.html.tmpl
template/en/default/bug/show-multiple.html.tmpl
template/en/default/email/whine.txt.tmpl
template/en/default/global/field-descs.none.tmpl
template/en/default/list/edit-multiple.html.tmpl
template/en/default/list/table.html.tmpl
template/en/default/pages/bug-writing.html.tmpl
template/en/default/pages/fields.html.tmpl
template/en/default/reports/report-bar.png.tmpl
template/en/default/reports/report-line.png.tmpl
template/en/default/reports/report-pie.png.tmpl
template/en/default/reports/report-table.csv.tmpl
template/en/default/reports/report-table.html.tmpl
template/en/default/search/form.html.tmpl
template/en/default/whine/mail.html.tmpl
template/en/default/whine/mail.txt.tmpl

index 1a1ecab3f0c4c20d7f6fe3f5819c7a9f3cff9be5..4c90601cf2aca80f359e51222b5513d1dc706b70 100644 (file)
   <td>
     Enter the number of votes [% terms.abug %] in this product needs to
     automatically get out of the
-    <a href="page.cgi?id=fields.html#status">[% status_descs.UNCONFIRMED FILTER html %]</a>
+    <a href="page.cgi?id=fields.html#status">[% get_status("UNCONFIRMED") FILTER html %]</a>
     state.<br>
     <input size="5" maxlength="5" name="votestoconfirm" 
            value="[% product.votestoconfirm FILTER html %]">
index 5bfb79f377e2d08dbb783460b3886abcea865734..b15925555fbfe24463b1ca40867cdcc7928713b7 100644 (file)
@@ -83,7 +83,7 @@
                       change.fieldname == 'work_time' %]
                   [% PROCESS formattimeunit time_unit=change.removed %]
                 [% ELSIF change.fieldname == 'bug_status' %]
-                  [% status_descs.${change.removed} FILTER html %]
+                  [% get_status(change.removed) FILTER html %]
                 [% ELSIF change.fieldname == 'resolution' %]
                   [% get_resolution(change.removed) FILTER html %]
                 [% ELSIF change.fieldname == 'blocked' ||
                       change.fieldname == 'work_time' %]
                   [% PROCESS formattimeunit time_unit=change.added %]
                 [% ELSIF change.fieldname == 'bug_status' %]
-                  [% status_descs.${change.added} FILTER html %]
+                  [% get_status(change.added) FILTER html %]
                 [% ELSIF change.fieldname == 'resolution' %]
                   [% get_resolution(change.added) FILTER html %]
                 [% ELSIF change.fieldname == 'blocked' ||
index fc6024a9e676c50e833197f638192c884462bc2d..af7285cacdb375110ec23b0f5fc19abac79982ea 100644 (file)
@@ -264,7 +264,7 @@ function handleWantsAttachment(wants_attachment) {
   <input type="hidden" name="bug_status" 
          value="[% default.bug_status FILTER html %]">
     <td align="right" valign="top"><strong>Initial State:</strong></td>
-    <td valign="top">[% status_descs.${default.bug_status} FILTER html %]</td>
+    <td valign="top">[% get_status(default.bug_status) FILTER html %]</td>
 [% ELSE %]
     [% sel = { description => 'Initial State', name => 'bug_status' } %]
     [% INCLUDE select %]
@@ -600,7 +600,7 @@ function handleWantsAttachment(wants_attachment) {
       <option value="[% x FILTER html %]"
         [% " selected=\"selected\"" IF x == default.${sel.name} %]>
         [% IF sel.name == "bug_status" %]
-          [% status_descs.$x FILTER html %]
+          [% get_status(x) FILTER html %]
         [% ELSE %]
           [% x FILTER html %]
         [% END %]</option>
index 03084ddd4737e5a627811bd6f0076ad6bf189251..12f1adf6529e814b79adbca624034e7cdbb13f66 100644 (file)
@@ -35,7 +35,7 @@
     [% PROCESS initial_action %]
     <input type="radio" id="knob-confirm" name="knob" value="confirm">
     <label for="knob-confirm">
-      Confirm [% terms.bug %] (change status to <b>[% status_descs.NEW FILTER html %]</b>)
+      Confirm [% terms.bug %] (change status to <b>[% get_status("NEW") FILTER html %]</b>)
     </label>
     <br>
     [% knum = knum + 1 %]
@@ -48,7 +48,7 @@
     <label for="knob-accept">
       Accept [% terms.bug %] (
       [% IF bug.isunconfirmed %]confirm [% terms.bug %], and [% END %]change
-      status to <b>[% status_descs.ASSIGNED FILTER html %]</b>)
+      status to <b>[% get_status("ASSIGNED") FILTER html %]</b>)
     </label>
     <br>
     [% knum = knum + 1 %]
@@ -61,7 +61,7 @@
         <input type="radio" id="knob-clear" name="knob" value="clearresolution">
         <label for="knob-clear">
           Clear the resolution (remove the current resolution of
-          <b>[% resolution_descs.${bug.resolution} FILTER html %]</b>)
+          <b>[% get_resolution(bug.resolution) FILTER html %]</b>)
         </label>
         <br>
         [% knum = knum + 1 %]
@@ -97,7 +97,7 @@
         [% IF bug.isunconfirmed && bug.user.canconfirm %]
           &nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" id="andconfirm" name="andconfirm">
           <label for="andconfirm">
-            and confirm [% terms.bug %] (change status to <b>[% status_descs.NEW FILTER html %]</b>)
+            and confirm [% terms.bug %] (change status to <b>[% get_status("NEW") FILTER html %]</b>)
           </label>
           <br>
         [% END %]
         [% IF bug.isunconfirmed && bug.user.canconfirm %]
           &nbsp;&nbsp;&nbsp;&nbsp;<input type="checkbox" id="compconfirm" name="compconfirm">
           <label for="compconfirm">
-            and confirm [% terms.bug %] (change status to <b>[% status_descs.NEW FILTER html %]</b>)
+            and confirm [% terms.bug %] (change status to <b>[% get_status("NEW") FILTER html %]</b>)
           </label>
           <br>
         [% END %]
         [% PROCESS initial_action %]
         <input type="radio" id="knob-verify" name="knob" value="verify">
         <label for="knob-verify">
-          Mark [% terms.bug %] as <b>[% status_descs.VERIFIED FILTER html %]</b>
+          Mark [% terms.bug %] as <b>[% get_status("VERIFIED") FILTER html %]</b>
         </label>
         <br>
         [% knum = knum + 1 %]
         [% PROCESS initial_action %]
         <input type="radio" id="knob-close" name="knob" value="close">
         <label for="knob-close">
-          Mark [% terms.bug %] as <b>[% status_descs.CLOSED FILTER html %]</b>
+          Mark [% terms.bug %] as <b>[% get_status("CLOSED") FILTER html %]</b>
         </label>
         <br>
         [% knum = knum + 1 %]
   [% IF !initial_action_shown %]
     <input type="radio" id="knob-leave" name="knob" value="none" checked="checked">
     <label for="knob-leave">
-      Leave as <b>[% status_descs.${bug.bug_status} FILTER html %]&nbsp;
+      Leave as <b>[% get_status(bug.bug_status) FILTER html %]&nbsp;
                   [% get_resolution(bug.resolution) FILTER html %]</b>
     </label>
     <br>
index d9dc627d265d6b009b30740c48a153d294ffa0df..50256965c119357b47d84832751cf460b274b892 100644 (file)
     <tr>
       <th>[% field_descs.bug_status  FILTER html %]:</th>
       <td>
-        [% status_descs.${bug.bug_status} FILTER html %]
+        [% get_status(bug.bug_status) FILTER html %]
         [%+ get_resolution(bug.resolution) FILTER html %]
       </td>
 
index e50964e8a5b1b6705f689c29ed22535df3ca27bd..764b581e83b561b3a7c5943e9a173ecfcc3ebf7c 100644 (file)
@@ -31,8 +31,8 @@ You have one or more [% terms.bugs %] assigned to you in the [% terms.Bugzilla %
 [% terms.bug %] tracking system ([% Param("urlbase") %]) that require
 attention.
 
-All of these [% terms.bugs %] are in the [% status_descs.NEW %] or 
-[% status_descs.REOPENED %] state, and have not been
+All of these [% terms.bugs %] are in the [% get_status("NEW") %] or
+[% get_status("REOPENED") %] state, and have not been
 touched in [% Param("whinedays") %] days or more.
 You need to take a look at them, and decide on an initial action.
 
@@ -47,7 +47,7 @@ Generally, this means one of three things:
 (3) You decide the [% terms.bug %] belongs to you, but you can't solve it this moment.
     Just use the "Accept [% terms.bug %]" command.
 
-To get a list of all [% status_descs.NEW %]/[% status_descs.REOPENED %] [%+ terms.bugs %], you can use this URL (bookmark
+To get a list of all [% get_status("NEW") %]/[% get_status("REOPENED") %] [%+ terms.bugs %], you can use this URL (bookmark
 it if you like!):
 
  [% Param("urlbase") %]buglist.cgi?bug_status=NEW&bug_status=REOPENED&assigned_to=[% email %]
@@ -55,7 +55,7 @@ it if you like!):
 Or, you can use the general query page, at 
 [%+ Param("urlbase") %]query.cgi
 
-Appended below are the individual URLs to get to all of your [% status_descs.NEW %] [%+ terms.bugs %]
+Appended below are the individual URLs to get to all of your [% get_status("NEW") %] [%+ terms.bugs %]
 that haven't been touched for a week or more.
 
 You will get this message once a day until you've dealt with these [% terms.bugs %]!
index 94ba948d6c77a631dd35c574d7f3e9bb9b85dd31..317c76039e5ae5c4377365b4781cae924ea73155 100644 (file)
@@ -92,6 +92,8 @@
                     "VERIFIED"    => "VERIFIED",
                     "CLOSED"      => "CLOSED" } %]
 
+[% MACRO get_status(status) GET status_descs.$status || status %]
+
 [% resolution_descs = { "FIXED"      => "FIXED",
                         "INVALID"    => "INVALID",
                         "WONTFIX"    => "WONTFIX",
index 38e4e930f33c2756856c5c84ed27637191a28f39..0dc91681c3104d73ae38dd5e9859745b2ce9a445 100644 (file)
   [% knum = knum + 1 %]
   <input id="knob-confirm" type="radio" name="knob" value="confirm">
   <label for="knob-confirm">
-    Confirm [% terms.bugs %] (change status to <b>[% status_descs.NEW FILTER html %]</b>)
+    Confirm [% terms.bugs %] (change status to <b>[% get_status("NEW") FILTER html %]</b>)
   </label><br>
 [% END %]
 
   [% knum = knum + 1 %]
   <input id="knob-accept" type="radio" name="knob" value="accept">
   <label for="knob-accept">
-    Accept [% terms.bugs %] (change status to <b>[% status_descs.ASSIGNED FILTER html %]</b>)
+    Accept [% terms.bugs %] (change status to <b>[% get_status("ASSIGNED") FILTER html %]</b>)
   </label><br>
 
   [% knum = knum + 1 %]
   [% IF bugstatuses.contains('RESOLVED') %]
     [% knum = knum + 1 %]
     <input id="knob-verify" type="radio" name="knob" value="verify">
-    <label for="knob-verify">Mark [% terms.bugs %] as <b>[% status_descs.VERIFIED FILTER html %]</b></label><br>
+    <label for="knob-verify">Mark [% terms.bugs %] as <b>[% get_status("VERIFIED") FILTER html %]</b></label><br>
   [% END %]
 [% END %]
 
 [% IF !bugstatuses.containsany(openstates) AND !bugstatuses.contains('CLOSED') %]
   [% knum = knum + 1 %]
   <input id="knob-close" type="radio" name="knob" value="close">
-  <label for="knob-close">Mark [% terms.bugs %] as <b>[% status_descs.CLOSED FILTER html %]</b></label><br>
+  <label for="knob-close">Mark [% terms.bugs %] as <b>[% get_status("CLOSED") FILTER html %]</b></label><br>
 [% END %]
 
 [% knum = knum + 1 %]
index 2918007c19be1adbf932006124b280be6f8fbd00..eb9e641ae47a6f1163a8bd428e7497a2b0674b74 100644 (file)
                column == 'estimated_time' %]
         [% PROCESS formattimeunit time_unit=bug.$column %] 
       [% ELSIF column == 'bug_status' %]
-        [%- status_descs.${bug.$column}.truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html %]
+        [%- get_status(bug.$column).truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html %]
       [% ELSIF column == 'resolution' %]
         [%- get_resolution(bug.$column).truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html %]
       [% ELSE %]
index d0cfb625dd7063017db0953e639f71783b7752b2..6df5d5fef472a1dd6a5c66de3aa9b56534309a99 100644 (file)
@@ -57,8 +57,8 @@
   <ul>
     <li><b>It's Reproducible.</b> Engineers usually prefer to fix [% terms.bugs %]
     they can actually see. If an engineer can't reproduce the [% terms.bug %],
-    it'll probably be stamped "[% resolution_descs.WORKSFORME FILTER html %]" or
-    "[% resolution_descs.INVALID FILTER html %]".<br>
+    it'll probably be stamped "[% get_resolution("WORKSFORME") FILTER html %]" or
+    "[% get_resolution("INVALID") FILTER html %]".<br>
     <br>
     </li>
 
index 6b77f8b2eee6fcae3bf1707d2b593142141d04e2..2f200f8b8a4424dd7667f8c78d88040fc1f3743b 100644 (file)
@@ -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>
 
index 2c29a3558c6f85ec27faf8436bf1437a1fefe221..f830e71da24824b40dd248797b8233370dfce5ee 100644 (file)
@@ -29,7 +29,7 @@
 
 [% IF col_field == 'bug_status' %]
   [% FOR i IN [ 0 .. data.0.0.max ] %]
-    [% data.0.0.$i = status_descs.${data.0.0.$i} %]
+    [% data.0.0.$i = get_status(data.0.0.$i) %]
   [% END %]
 [% END %]
 
@@ -41,7 +41,7 @@
 
 [% IF row_field == 'bug_status' %]
   [% FOR i IN [ 0 .. row_names.max ] %]
-    [% row_names.$i = status_descs.${row_names.$i} %]
+    [% row_names.$i = get_status(row_names.$i) %]
   [% END %]
 [% END %]
 
index 24215af98fd45cc4efc71f93685842a00f7de879..16d8eb0c1f858796497239973101e892765d65cc 100644 (file)
@@ -29,7 +29,7 @@
 
 [% IF col_field == 'bug_status' %]
   [% FOR i IN [ 0 .. data.0.0.max ] %]
-    [% data.0.0.$i = status_descs.${data.0.0.$i} %]
+    [% data.0.0.$i = get_status(data.0.0.$i) %]
   [% END %]
 [% END %]
 
@@ -41,7 +41,7 @@
 
 [% IF row_field == 'bug_status' %]
   [% FOR i IN [ 0 .. row_names.max ] %]
-    [% row_names.$i = status_descs.${row_names.$i} %]
+    [% row_names.$i = get_status(row_names.$i) %]
   [% END %]
 [% END %]
 
index 3eb73b1b0f6a35cfaa91f835ef33f22b04260f44..d5fb593ea2d869aded870935ac6f827a22a8b474 100644 (file)
@@ -25,7 +25,7 @@
 
 [% IF col_field == 'bug_status' %]
   [% FOR i IN [ 0 .. data.0.0.max ] %]
-    [% data.0.0.$i = status_descs.${data.0.0.$i} %]
+    [% data.0.0.$i = get_status(data.0.0.$i) %]
   [% END %]
 [% END %]
 
index 2f7f867af80f38c820ab898e75da42f998e625e3..c57ef7733a6c54c29c1d4cfcb4acaad03ca17a3b 100644 (file)
@@ -42,7 +42,7 @@
   [% FOREACH col = col_names -%]
     [% colsepchar %]
     [% IF col_field == 'bug_status' %]
-      [% status_descs.$col FILTER csv -%]
+      [% get_status(col) FILTER csv -%]
     [% ELSIF col_field == 'resolution' %]
       [% get_resolution(col) FILTER csv -%]
     [% ELSE %]
@@ -55,7 +55,7 @@
 
 [% FOREACH row = row_names %]
   [% IF row_field == 'bug_status' %]
-    [% status_descs.$row FILTER csv -%]
+    [% get_status(row) FILTER csv -%]
   [% ELSIF row_field == 'resolution' %]
     [% get_resolution(row) FILTER csv -%]
   [% ELSE %]
index 60965d5021107f216ca2ef8d3db9988370317014..4ed384259223a36a5e0a870a60095e7eb772d85c 100644 (file)
@@ -86,7 +86,7 @@
         [% col_idx = 1 - col_idx %]
         <td class="[% classes.$row_idx.$col_idx %]">
           [% IF col_field == 'bug_status' %]
-            [% status_descs.$col FILTER html FILTER replace('^ $','&nbsp;') %]
+            [% get_status(col) FILTER html FILTER replace('^ $','&nbsp;') %]
           [% ELSIF col_field == 'resolution' %]
             [% get_resolution(col) FILTER html FILTER replace('^ $','&nbsp;') %]
           [% ELSE %]
     <tr>
       <td class="[% classes.$row_idx.$col_idx %]" align="right">
         [% IF row_field == 'bug_status' %]
-          [% status_descs.$row FILTER html FILTER replace('^ $','&nbsp;') %]
+          [% get_status(row) FILTER html FILTER replace('^ $','&nbsp;') %]
         [% ELSIF row_field == 'resolution' %]
           [% get_resolution(row) FILTER html FILTER replace('^ $','&nbsp;') %]
         [% ELSE %]
index 30e2f26506ec1496ba69fb555ae616c8dc4ab18f..9669eed401e64a1983a203d6400a814047a95bc8 100644 (file)
@@ -631,7 +631,7 @@ function doOnSelectProduct(selectmode) {
         <option value="[% name FILTER html %]"
           [% " selected" IF lsearch(default.${sel.name}, name) != -1 %]>
           [% IF sel.name == "bug_status" %]
-            [% status_descs.${name} FILTER html %]
+            [% get_status(name) FILTER html %]
           [% ELSIF sel.name == "resolution" %]
             [% get_resolution(name) FILTER html %]
           [% ELSE %]
index 8fe11d6577ef50c329a2118195b770db69729f3f..0d7f91911d7a4801f616bb58dfa134a608a97ef2 100644 (file)
@@ -83,7 +83,7 @@
         <td align="left">[% bug.priority FILTER html %]</td>
         <td align="left">[% bug.rep_platform FILTER html %]</td>
         <td align="left">[% bug.$assignee_login_string FILTER html %]</td>
-        <td align="left">[% status_descs.${bug.bug_status} FILTER html %]</td>
+        <td align="left">[% get_status(bug.bug_status) FILTER html %]</td>
         <td align="left">[% get_resolution(bug.resolution) FILTER html %]</td>
         <td align="left">[% bug.short_desc FILTER html %]</td>
       </tr>
index c7dcef3dcaa5229b95ae1267bf923679cc660363..02078b7bd0e4d73ab3de85badc787a629e781262 100644 (file)
@@ -58,7 +58,7 @@
   Severity: [%+ bug.bug_severity -%]
   Platform: [%+ bug.rep_platform %]
   Assignee: [%+ bug.$assignee_login_string %]
-    Status: [%+ status_descs.${bug.bug_status} %]
+    Status: [%+ get_status(bug.bug_status) %]
             [%- IF bug.resolution -%] Resolution: [% get_resolution(bug.resolution) -%]
                                 [%- END %]
    Summary: [% bug.short_desc %]