Commit bfb66f19 authored by Sunil Joshi's avatar Sunil Joshi Committed by Frédéric Buclin

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

r/a=LpSolit
parent 4d8a1f9f
......@@ -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>
......
......@@ -389,7 +389,7 @@
'admin/flag-type/edit.html.tmpl' => [
'type.id',
'type.sortkey || 1',
'type.sortkey || 0',
'selname',
],
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment