[% display_value(name, bug.${name}) FILTER html %]
[% ELSE %]
diff --git a/mozilla/webtools/bugzilla/template/en/default/global/code-error.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/global/code-error.html.tmpl
index 64bd41af3a9..f35c1ec93fd 100644
--- a/mozilla/webtools/bugzilla/template/en/default/global/code-error.html.tmpl
+++ b/mozilla/webtools/bugzilla/template/en/default/global/code-error.html.tmpl
@@ -327,7 +327,7 @@
A valid quipid is needed.
[% ELSIF error == "no_manual_moved" %]
- You cannot set the resolution of [% terms.abug %] to MOVED without
+ You cannot set the resolution of [% terms.abug %] to display_value("resolution", "MOVED") FILTER html %] without
moving the [% terms.bug %].
[% ELSIF error == "no_open_bug_status" %]
diff --git a/mozilla/webtools/bugzilla/template/en/default/global/field-descs.none.tmpl b/mozilla/webtools/bugzilla/template/en/default/global/field-descs.none.tmpl
index 27880059462..5012769ca0b 100644
--- a/mozilla/webtools/bugzilla/template/en/default/global/field-descs.none.tmpl
+++ b/mozilla/webtools/bugzilla/template/en/default/global/field-descs.none.tmpl
@@ -146,6 +146,7 @@
},
"resolution" => {
+ "" => "---",
# "FIXED" => "NO LONGER AN ISSUE",
# "MOVED" => "BYE-BYE",
},
diff --git a/mozilla/webtools/bugzilla/template/en/default/list/edit-multiple.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/list/edit-multiple.html.tmpl
index 528d1bd68ef..11f3491f280 100644
--- a/mozilla/webtools/bugzilla/template/en/default/list/edit-multiple.html.tmpl
+++ b/mozilla/webtools/bugzilla/template/en/default/list/edit-multiple.html.tmpl
@@ -368,7 +368,7 @@
[% FOREACH menuitem = menuitems %]
[% IF property %][% menuitem = menuitem.$property %][% END %]
-
+
[% END %]
[% END %]
diff --git a/mozilla/webtools/bugzilla/template/en/default/list/list.atom.tmpl b/mozilla/webtools/bugzilla/template/en/default/list/list.atom.tmpl
index 5086a044c66..3c504f9c9b1 100644
--- a/mozilla/webtools/bugzilla/template/en/default/list/list.atom.tmpl
+++ b/mozilla/webtools/bugzilla/template/en/default/list/list.atom.tmpl
@@ -23,7 +23,7 @@
# This is a template for generating an Atom representation of a buglist.
#%]
-[% PROCESS global/variables.none.tmpl %]
+[% PROCESS "global/field-descs.none.tmpl" %]
[% DEFAULT title = "$terms.Bugzilla $terms.Bugs" %]
@@ -71,16 +71,16 @@
[% bug.reporter_realname FILTER html %]
[% columns.bug_status.title FILTER html %]
-
[% bug.bug_status FILTER html %]
+
[% display_value("bug_status", bug.bug_status) FILTER html %]
[% columns.resolution.title FILTER html %]
-
[% bug.resolution FILTER html %]
+
[% display_value("resolution", bug.resolution) FILTER html %]
[% columns.priority.title FILTER html %]
-
[% bug.priority FILTER html %]
+
[% display_value("priority", bug.priority) FILTER html %]
[% columns.bug_severity.title FILTER html %]
-
[% bug.bug_severity FILTER html %]
+
[% display_value("bug_severity", bug.bug_severity) FILTER html %]
[% IF Param("usetargetmilestone") %]
[% columns.target_milestone.title FILTER html %]
diff --git a/mozilla/webtools/bugzilla/template/en/default/list/list.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/list/list.html.tmpl
index 6d7f805855a..1e9a9e998a2 100644
--- a/mozilla/webtools/bugzilla/template/en/default/list/list.html.tmpl
+++ b/mozilla/webtools/bugzilla/template/en/default/list/list.html.tmpl
@@ -91,16 +91,8 @@
[% IF shown_types.contains(desc_item.type) || debug %]
([% search_descs.${desc_item.type} FILTER html %])
[% END %]
- [% IF desc_item.field == 'bug_status' %]
- [% FOREACH status IN desc_item.value.split(',') %]
- [%+ display_value("bug_status", status) FILTER html %][% ',' UNLESS loop.last %]
- [% END %]
- [% ELSIF desc_item.field == 'resolution' %]
- [% FOREACH resolution IN desc_item.value.split(',') %]
- [%+ display_value("resolution", resolution) FILTER html %][% ',' UNLESS loop.last %]
- [% END %]
- [% ELSE %]
- [%+ desc_item.value FILTER html %]
+ [% FOREACH val IN desc_item.value.split(',') %]
+ [%+ display_value(desc_item.field, val) FILTER html %][% ',' UNLESS loop.last %]
[% END %]
[% IF debug %]
([% desc_item.term FILTER html %])
diff --git a/mozilla/webtools/bugzilla/template/en/default/list/table.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/list/table.html.tmpl
index 6ca90b921ba..f6a871e199c 100644
--- a/mozilla/webtools/bugzilla/template/en/default/list/table.html.tmpl
+++ b/mozilla/webtools/bugzilla/template/en/default/list/table.html.tmpl
@@ -201,14 +201,7 @@
[% FOREACH column = displaycolumns %]
[% IF abbrev.$column.maxlength %]
-
+
[% END %]
[% IF abbrev.$column.format_value %]
[%- bug.$column FILTER format(abbrev.$column.format_value) FILTER html -%]
@@ -216,11 +209,6 @@
column == 'remaining_time' ||
column == 'estimated_time' %]
[% PROCESS formattimeunit time_unit=bug.$column %]
- [% ELSIF column == 'bug_status' %]
- [%- display_value("bug_status", bug.$column).truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html %]
- [% ELSIF column == 'resolution' %]
- [%- display_value("resolution", bug.$column).truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html %]
-
[%# Display the login name of the user if their real name is empty. %]
[% ELSIF column.match('_realname$') && bug.$column == '' %]
[% SET login_column = column.remove('_realname$') %]
@@ -228,7 +216,7 @@
abbrev.$column.ellipsis) FILTER html %]
[% ELSE %]
- [%- bug.$column.truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html -%]
+ [%- display_value(column, bug.$column).truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html -%]
[% END %]
[% IF abbrev.$column.maxlength %]
diff --git a/mozilla/webtools/bugzilla/template/en/default/pages/bug-writing.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/pages/bug-writing.html.tmpl
index 035876bb13f..ec997be0a43 100644
--- a/mozilla/webtools/bugzilla/template/en/default/pages/bug-writing.html.tmpl
+++ b/mozilla/webtools/bugzilla/template/en/default/pages/bug-writing.html.tmpl
@@ -78,8 +78,8 @@ no-one else appears to have reported it, then:
it?
(e.g. Linux, Windows XP, Mac OS X.)
If you know the [% terms.bug %] happens on more than one type of
- operating system, choose "All".
- If your OS isn't listed, choose Other.
+ operating system, choose [% display_value("op_sys", "All") FILTER html %].
+ If your OS isn't listed, choose [% display_value("op_sys", "Other") FILTER html %].
Summary: How would you describe the [% terms.bug %], in
approximately 60 or fewer characters?
diff --git a/mozilla/webtools/bugzilla/template/en/default/pages/fields.html.tmpl b/mozilla/webtools/bugzilla/template/en/default/pages/fields.html.tmpl
index 9e938bbcb0e..5be28cab702 100644
--- a/mozilla/webtools/bugzilla/template/en/default/pages/fields.html.tmpl
+++ b/mozilla/webtools/bugzilla/template/en/default/pages/fields.html.tmpl
@@ -19,7 +19,6 @@
# Gervase Markham
#%]
-[% PROCESS global/variables.none.tmpl %]
[% PROCESS "global/field-descs.none.tmpl" %]
[% INCLUDE global/header.html.tmpl title = "A $terms.Bug's Life Cycle" %]
@@ -221,46 +220,46 @@ This field describes the impact of [% terms.abug %].
-
Blocker
+
[% display_value("bug_severity", "blocker") FILTER html %]
Blocks development and/or testing work
-
Critical
+
[% display_value("bug_severity", "critical") FILTER html %]
crashes, loss of data, severe memory leak
-
Major
+
[% display_value("bug_severity", "major") FILTER html %]
major loss of function
-
Normal
+
[% display_value("bug_severity", "normal") FILTER html %]
regular issue, some loss of functionality under specific circumstances
-
Minor
+
[% display_value("bug_severity", "minor") FILTER html %]
minor loss of function, or other problem where easy
workaround is present
-
Trivial
+
[% display_value("bug_severity", "trivial") FILTER html %]
cosmetic problem like misspelled words or misaligned
text
-
Enhancement
+
[% display_value("bug_severity", "enhancement") FILTER html %]
Request for enhancement
@@ -270,23 +269,25 @@ This is the hardware platform against which the [% terms.bug %] was
reported. Legal platforms include:
-
All (happens on all platforms; cross-platform [% terms.bug %])
+
[% display_value("rep_platform", "All") FILTER html %] (happens on all platforms; cross-platform [% terms.bug %])
-
Macintosh
+
[% display_value("rep_platform", "Macintosh") FILTER html %]
-
PC
+
[% display_value("rep_platform", "PC") FILTER html %]
-Note: When searching, selecting the option "All" does not
+Note: When searching, selecting the option
+[% display_value("rep_platform", "All") FILTER html %] does not
select [% terms.bugs %]
assigned against any platform. It merely selects [% terms.bugs %] that are
-marked as occurring on all platforms, i.e. are designated "All".
+marked as occurring on all platforms, i.e. are designated
+[% display_value("rep_platform", "All") FILTER html %].