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
e5cb4411
Commit
e5cb4411
authored
Oct 03, 2008
by
mkanat%bugzilla.org
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix some test failures caused by the Field::Choice patches.
parent
4b781a33
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
9 additions
and
7 deletions
+9
-7
create.html.tmpl
template/en/default/admin/fieldvalues/create.html.tmpl
+4
-2
edit.html.tmpl
template/en/default/admin/fieldvalues/edit.html.tmpl
+1
-1
user-error.html.tmpl
template/en/default/global/user-error.html.tmpl
+4
-4
No files found.
template/en/default/admin/fieldvalues/create.html.tmpl
View file @
e5cb4411
...
...
@@ -34,8 +34,10 @@
<table border="0" cellpadding="4" cellspacing="0">
<tr>
<th align="right"><label for="value">Value:</label></th>
<td><input id="value" name="value" size="30"
maxlength="[% constants.MAX_FIELD_VALUE_SIZE %]"></td>
<td>
<input id="value" name="value" size="30"
maxlength="[% constants.MAX_FIELD_VALUE_SIZE FILTER none %]">
</td>
</tr>
<tr>
<th align="right"><label for="sortkey">Sortkey:</label></th>
...
...
template/en/default/admin/fieldvalues/edit.html.tmpl
View file @
e5cb4411
...
...
@@ -40,7 +40,7 @@
[%- value.name FILTER html %]
[% ELSE %]
<input id="value_new" name="value_new" size="20"
maxlength="[% constants.MAX_FIELD_VALUE_SIZE %]"
maxlength="[% constants.MAX_FIELD_VALUE_SIZE
FILTER none
%]"
value="[% value.name FILTER html %]">
[% END %]
</td>
...
...
template/en/default/global/user-error.html.tmpl
View file @
e5cb4411
...
...
@@ -441,9 +441,9 @@
[% ELSIF error == "fieldvalue_name_too_long" %]
[% title = "Field Value Is Too Long" %]
The value of a field is limited to
[% constants.FIELD_VALUE_MAX_SIZE %]
characters. '[% value FILTER html %]' is too long ([% value.length %]
characters).
The value of a field is limited to
[%+ constants.FIELD_VALUE_MAX_SIZE FILTER none %] characters.
'[% value FILTER html %]' is too long ([% value.length %]
characters).
[% ELSIF error == "fieldvalue_not_editable" %]
[% title = "Field Value Not Editable" %]
...
...
@@ -1667,6 +1667,6 @@
field
[% ELSIF ( matches = class.match('^Bugzilla::Field::Choice::(.+)') ) %]
[% SET field_name = matches.0 %]
[% field_descs.$field_name %]
[% field_descs.$field_name
FILTER html
%]
[% END %]
[% END %]
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