Closed Bug 215346 Opened 21 years ago Closed 19 years ago

Bug lists don't use mapped fields

Categories

(Bugzilla :: User Interface, defect)

2.17.4
defect
Not set
normal

Tracking

()

RESOLVED FIXED
Bugzilla 2.20

People

(Reporter: omgs, Assigned: emmanuel)

References

()

Details

Attachments

(1 file)

User-Agent: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.4) Gecko/20030625 Build Identifier: Mozilla/5.0 (X11; U; Linux i686; es-ES; rv:1.4) Gecko/20030625 When viewing the bug list right after a query the bug statuses, resolutions and maybe other fields, don't use their descriptions in field-descs.none.tmpl. Reproducible: Always Steps to Reproduce: 0. Choose the still non-existing translation of 2.17.4 into spanish (or any other than english). 1. Go to the bugzilla query page 2. Make a query 3. View what's descripted above
Blocks: 214907, 215148
Version: unspecified → 2.17.4
There's now a URL for viewing the bug.
I've changed in list/table.html.tmpl, at the end: [% FOREACH column = displaycolumns %] <td> [% '<nobr>' IF NOT abbrev.$column.wrap %] [% IF abbrev.$column.format_value %] [%- bug.$column FILTER format(abbrev.$column.format_value) FILTER html -%] [% ELSIF column == 'actual_time' || column == 'remaining_time' || column == 'estimated_time' %] [% PROCESS formattimeunit time_unit=bug.$column %] [% ELSIF column == 'bug_severity' %] [% severity_descs.${bug.$column} %] [% ELSIF column == 'bug_status' %] [% bug_status_descs.${bug.$column} %] [% ELSIF column == 'resolution' %] [% resolution_descs.${bug.$column} %] [% ELSE %] [%- bug.$column.truncate(abbrev.$column.maxlength, abbrev.$column.ellipsis) FILTER html -%] [% END %] [%- '</nobr>' IF NOT abbrev.$column.wrap %] </td> This works for me. Please check style in field-descs.none, in bug 215148
Attachment #183297 - Flags: review?(myk)
No longer blocks: 215148
Depends on: 215148
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Comment on attachment 183297 [details] [diff] [review] use localised statuses and resolutions Looks good. r=myk
Attachment #183297 - Flags: review?(myk) → review+
Assignee: myk → eseyman
Status: ASSIGNED → NEW
OS: Linux → All
Hardware: PC → All
Comment on attachment 183297 [details] [diff] [review] use localised statuses and resolutions Used and tested this while translating because it's needed there, so I'll add my r=wurblzap as well while I'm here.
Attachment #183297 - Flags: review+
Flags: approval?
Target Milestone: --- → Bugzilla 2.20
Thanks Marc! More review is always good. This is a low-risk polish fix that makes a difference for users of stable versions with localizations. a=myk for checkin during the 2.20 freeze.
Flags: approval? → approval+
Checking in template/en/default/list/table.html.tmpl; /cvsroot/mozilla/webtools/bugzilla/template/en/default/list/table.html.tmpl,v <-- table.html.tmpl new revision: 1.27; previous revision: 1.26 done
Status: NEW → RESOLVED
Closed: 19 years ago
Resolution: --- → FIXED
QA Contact: matty_is_a_geek → default-qa
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: