Bug 791554: Make clear that 0 is a valid sortkey for flagtypes

r/a=LpSolit


git-svn-id: svn://10.0.0.236/trunk@264329 18797224-902f-48f8-a5cc-f745e15eee43
This commit is contained in:
mkanat%bugzilla.org 2012-10-12 22:00:14 +00:00
parent 774dd3830f
commit 1730c8487e
3 changed files with 4 additions and 4 deletions

View File

@ -1 +1 @@
8424
8425

View File

@ -129,11 +129,11 @@
<tr>
<th>Sort Key:</th>
<td>
a number between 1 and [% constants.MAX_SMALLINT FILTER none %] by which
a number between 0 and [% constants.MAX_SMALLINT FILTER none %] by which
this type will be sorted when displayed to users in a list; ignore if you
don't care what order the types appear in or if you want them to appear
in alphabetical order.<br>
<input type="text" name="sortkey" value="[% type.sortkey || 1 %]" size="5" maxlength="5"
<input type="text" name="sortkey" value="[% type.sortkey || 0 %]" size="5" maxlength="5"
[%- ' disabled="disabled"' UNLESS can_fully_edit %]>
</td>
</tr>

View File

@ -389,7 +389,7 @@
'admin/flag-type/edit.html.tmpl' => [
'type.id',
'type.sortkey || 1',
'type.sortkey || 0',
'selname',
],