Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
bugzilla
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
etersoft
bugzilla
Commits
ee64eb05
Commit
ee64eb05
authored
Apr 11, 2012
by
Marc Schumann
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
If you're not allowed to change status or resolution, their values are being displayed unlocalized.
r/a=LpSolit
https://bugzilla.mozilla.org/show_bug.cgi?id=740879
parent
d98e5111
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
4 deletions
+13
-4
field.html.tmpl
template/en/default/bug/field.html.tmpl
+13
-4
No files found.
template/en/default/bug/field.html.tmpl
View file @
ee64eb05
...
...
@@ -186,13 +186,21 @@
'keyword_autocomplete');
</script>
[% END %]
[% ELSIF field.type == constants.FIELD_TYPE_TEXTAREA %]
[% ELSE %]
[% SWITCH field.type %]
[% CASE constants.FIELD_TYPE_TEXTAREA %]
<div class="uneditable_textarea">[% value FILTER html %]</div>
[% ELSIF field.type ==
constants.FIELD_TYPE_BUG_ID %]
[% CASE
constants.FIELD_TYPE_BUG_ID %]
[% IF value %]
[% value FILTER bug_link(value, use_alias => 1) FILTER none %]
[% END %]
[% ELSIF field.type == constants.FIELD_TYPE_BUG_URLS %]
[% CASE [ constants.FIELD_TYPE_SINGLE_SELECT
constants.FIELD_TYPE_MULTI_SELECT ] %]
[% FOREACH val = value %]
[% display_value(field.name, val) FILTER html %]
[% ', ' UNLESS loop.last() %]
[% END %]
[% CASE constants.FIELD_TYPE_BUG_URLS %]
[% '<ul class="bug_urls">' IF value.size %]
[% FOREACH bug_url = value %]
<li>
...
...
@@ -200,8 +208,9 @@
</li>
[% END %]
[% '</ul>' IF value.size %]
[% EL
SE %]
[% CA
SE %]
[% value.join(', ') FILTER html %]
[% END %]
[% END %]
[% Hook.process('end_field_column') %]
[% '</td>' IF NOT no_tds %]
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment