From 44b48df3901d829e1423749136d142964ccb4a3e Mon Sep 17 00:00:00 2001 From: "gerv%gerv.net" <> Date: Fri, 4 Jul 2003 04:31:13 +0000 Subject: Bug 13540 - allow key terms, like "Bugzilla" and "bug", to be altered without changing all the templates. Patch by jwilmoth@starbucks.com; r=gerv, a=justdave. --- template/en/default/bug/show-multiple.html.tmpl | 60 +++++++++++++------------ 1 file changed, 31 insertions(+), 29 deletions(-) (limited to 'template/en/default/bug/show-multiple.html.tmpl') diff --git a/template/en/default/bug/show-multiple.html.tmpl b/template/en/default/bug/show-multiple.html.tmpl index 41d824eb3..8bf02a099 100644 --- a/template/en/default/bug/show-multiple.html.tmpl +++ b/template/en/default/bug/show-multiple.html.tmpl @@ -20,8 +20,10 @@ # Gervase Markham #%] -[% PROCESS global/header.html.tmpl - title = "Full Text Bug Listing" +[% PROCESS global/variables.none.tmpl %] + +[% PROCESS global/header.html.tmpl + title = "Full Text $terms.Bug Listing" style_urls = [ "css/show_multiple.css" ] %] [% PROCESS bug/time.html.tmpl %] @@ -31,7 +33,7 @@ [% END %] [% ELSE %]

- You'd have more luck if you gave me some bug numbers. + You'd have more luck if you gave me some [% terms.bug %] numbers.

[% END %] @@ -47,54 +49,54 @@
- Bug [% bug.bug_id %] - [% bug.short_desc FILTER html %] + [% terms.Bug %] [% bug.bug_id %] - [% bug.short_desc FILTER html %]
- [% PROCESS cell attr = { description => "Product", + [% PROCESS cell attr = { description => "Product", name => "product" } %] - [% PROCESS cell attr = { description => "Version", + [% PROCESS cell attr = { description => "Version", name => "version" } %] - [% PROCESS cell attr = { description => "Platform", + [% PROCESS cell attr = { description => "Platform", name => "rep_platform" } %] - + - [% PROCESS cell attr = { description => "OS/Version", + [% PROCESS cell attr = { description => "OS/Version", name => "op_sys" } %] - [% PROCESS cell attr = { description => "Status", + [% PROCESS cell attr = { description => "Status", name => "bug_status" } %] - [% PROCESS cell attr = { description => "Severity", + [% PROCESS cell attr = { description => "Severity", name => "bug_severity" } %] - [% PROCESS cell attr = { description => "Priority", + [% PROCESS cell attr = { description => "Priority", name => "priority" } %] - + - [% PROCESS cell attr = { description => "Resolution", + [% PROCESS cell attr = { description => "Resolution", name => "resolution" } %] - [% PROCESS cell attr = { description => "Assigned To", + [% PROCESS cell attr = { description => "Assigned To", name => "assigned_to" } %] - [% PROCESS cell attr = { description => "Reported By", + [% PROCESS cell attr = { description => "Reported By", name => "reporter" } %] [% IF Param('useqacontact') %] - [% PROCESS cell attr = { description => "QA Contact", + [% PROCESS cell attr = { description => "QA Contact", name => "qa_contact" } %] [% END %] - + - + - + - + - + [% IF use_keywords %] @@ -172,9 +174,9 @@
- Bug#: + [% terms.Bug %]#: [% bug.bug_id %]
Component:  [% bug.component %] [% IF Param('usetargetmilestone') %] Target Milestone:  @@ -102,20 +104,20 @@ [% END %]
URL:  - [% bug.bug_file_loc FILTER html %] + [% bug.bug_file_loc FILTER html %]
Summary: [% bug.short_desc FILTER html %]
@@ -140,7 +142,7 @@ [% PROCESS formattimeunit time_unit=bug.estimated_time %]   Current Est.:  - [% PROCESS formattimeunit + [% PROCESS formattimeunit time_unit=(bug.remaining_time + bug.actual_time) %]   Hours Worked:  @@ -149,10 +151,10 @@ [% PROCESS formattimeunit time_unit=bug.remaining_time %]   Percentage Complete:  - [% PROCESS calculatepercentage act=bug.actual_time + [% PROCESS calculatepercentage act=bug.actual_time rem=bug.remaining_time %]  Gain  - [% PROCESS formattimeunit + [% PROCESS formattimeunit time_unit=bug.estimated_time - (bug.actual_time + bug.remaining_time) %]  
- [% PROCESS bug/comments.html.tmpl + [% PROCESS bug/comments.html.tmpl comments = bug.comments %] - +
[% END %] -- cgit v1.2.3-24-g4f1b