From a44e152480c9c22ca9b3a89da774317c5590d21b Mon Sep 17 00:00:00 2001
From: "mkanat%bugzilla.org" <>
Date: Wed, 18 Nov 2009 07:04:57 +0000
Subject: Bug 519142: Replace IF/ELSE statements about bug_status/resolution
with just a display_value call, and use display_value in more places to
translate field values. Patch by Vitaly Fedrushkov
Summary: How would you describe the [% terms.bug %], in
approximately 60 or fewer characters?
diff --git a/template/en/default/pages/fields.html.tmpl b/template/en/default/pages/fields.html.tmpl
index 9e938bbcb..5be28cab7 100644
--- a/template/en/default/pages/fields.html.tmpl
+++ b/template/en/default/pages/fields.html.tmpl
@@ -19,7 +19,6 @@
# Gervase Markham
@@ -270,23 +269,25 @@ This is the hardware platform against which the [% terms.bug %] was
reported. Legal platforms include:
-
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
-
-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 %].
Operating System
This is the operating system against which the [% terms.bug %] was
reported. Legal operating systems include:
-