Closed
Bug 215346
Opened 21 years ago
Closed 19 years ago
Bug lists don't use mapped fields
Categories
(Bugzilla :: User Interface, defect)
Tracking
()
RESOLVED
FIXED
Bugzilla 2.20
People
(Reporter: omgs, Assigned: emmanuel)
References
()
Details
Attachments
(1 file)
(deleted),
patch
|
myk
:
review+
Wurblzap
:
review+
|
Details | Diff | Splinter Review |
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
Reporter | ||
Updated•21 years ago
|
Reporter | ||
Comment 1•21 years ago
|
||
There's now a URL for viewing the bug.
Reporter | ||
Comment 2•21 years ago
|
||
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
Assignee | ||
Comment 3•20 years ago
|
||
Attachment #183297 -
Flags: review?(myk)
Assignee | ||
Updated•20 years ago
|
Assignee | ||
Updated•20 years ago
|
Status: UNCONFIRMED → ASSIGNED
Ever confirmed: true
Comment 4•19 years ago
|
||
Comment on attachment 183297 [details] [diff] [review]
use localised statuses and resolutions
Looks good. r=myk
Attachment #183297 -
Flags: review?(myk) → review+
Updated•19 years ago
|
Assignee: myk → eseyman
Status: ASSIGNED → NEW
OS: Linux → All
Hardware: PC → All
Comment 5•19 years ago
|
||
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+
Updated•19 years ago
|
Flags: approval?
Updated•19 years ago
|
Target Milestone: --- → Bugzilla 2.20
Comment 6•19 years ago
|
||
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+
Comment 7•19 years ago
|
||
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
Updated•12 years ago
|
QA Contact: matty_is_a_geek → default-qa
You need to log in
before you can comment on or make changes to this bug.
Description
•