Lines 37-64
Link Here
|
37 |
<option value="1">Owner only</option> |
37 |
<option value="1">Owner only</option> |
38 |
[% END %] |
38 |
[% END %] |
39 |
|
39 |
|
40 |
[% IF shelf.allow_change_from_others %] |
40 |
[% IF shelf.allow_change_from_permitted_staff %] |
41 |
<option value="2" selected="selected">Anyone seeing this list</option> |
41 |
<option value="4" selected="selected">Permitted staff only</option> |
42 |
[% ELSE %] |
42 |
[% ELSE %] |
43 |
<option value="2">Anyone seeing this list</option> |
43 |
<option value="4">Permitted staff only</option> |
44 |
[% END %] |
44 |
[% END %] |
45 |
|
|
|
46 |
[% IF shelf.allow_change_from_staff %] |
45 |
[% IF shelf.allow_change_from_staff %] |
47 |
<option value="3" selected="selected">Staff only</option> |
46 |
<option value="3" selected="selected">Staff only</option> |
48 |
[% ELSE %] |
47 |
[% ELSE %] |
49 |
<option value="3">Staff only</option> |
48 |
<option value="3">Staff only</option> |
50 |
[% END %] |
49 |
[% END %] |
51 |
|
50 |
|
52 |
[% IF shelf.allow_change_from_permitted_staff %] |
51 |
[% IF shelf.allow_change_from_others %] |
53 |
<option value="4" selected="selected">Permitted staff only</option> |
52 |
<option value="2" selected="selected">Anyone seeing this list</option> |
54 |
[% ELSE %] |
53 |
[% ELSE %] |
55 |
<option value="4">Permitted staff only</option> |
54 |
<option value="2">Anyone seeing this list</option> |
56 |
[% END %] |
55 |
[% END %] |
57 |
|
56 |
|
58 |
</select> |
57 |
</select> |
59 |
  <span id="anyone_remark" style="display:none;color:red;">The Anyone permission has no actual effect while this list is strictly private.</span> |
|
|
60 |
  <span id="staff_remark" style="display:none;color:red;">The Staff only permission has no actual effect while this list is strictly private.</span> |
61 |
  <span id="permitted_staff_remark" style="display:none;color:red;">The Permitted staff only permission has no actual effect while this list is strictly private.</span> |
58 |
  <span id="permitted_staff_remark" style="display:none;color:red;">The Permitted staff only permission has no actual effect while this list is strictly private.</span> |
|
|
59 |
  <span id="staff_remark" style="display:none;color:red;">The Staff only permission has no actual effect while this list is strictly private.</span> |
60 |
  <span id="anyone_remark" style="display:none;color:red;">The Anyone permission has no actual effect while this list is strictly private.</span> |
62 |
</li> |
61 |
</li> |
63 |
[% END %] |
62 |
[% END %] |
64 |
</head> |
63 |
</head> |