View | Details | Raw Unified | Return to bug 30418
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-9 / +8 lines)
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
        &emsp; <span id="anyone_remark" style="display:none;color:red;">The Anyone permission has no actual effect while this list is strictly private.</span>
60
        &emsp; <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
        &emsp; <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
        &emsp; <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
        &emsp; <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
        &emsp; <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>
(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-5 / +6 lines)
Lines 48-62 Link Here
48
                <option value="1">Owner only</option>
48
                <option value="1">Owner only</option>
49
            [% END %]
49
            [% END %]
50
50
51
            [% IF shelf.allow_change_from_others %]<option value="2" selected="selected">Anyone seeing this list</option>[% ELSE %]<option value="2">Anyone seeing this list</option>[% END %]
51
            [% IF permitteduser == 1 %][% IF shelf.allow_change_from_permitted_staff %]<option value="4" selected="selected">Permitted staff only</option>[% ELSE %]<option value="4">Permitted staff only</option>[% END %][% END %]
52
52
53
            [% IF staffuser == 1 %][% IF shelf.allow_change_from_staff %]<option value="3" selected="selected">Staff only</option>[% ELSE %]<option value="3">Staff only</option>[% END %][% END %]
53
            [% IF staffuser == 1 %][% IF shelf.allow_change_from_staff %]<option value="3" selected="selected">Staff only</option>[% ELSE %]<option value="3">Staff only</option>[% END %][% END %]
54
            [% IF permitteduser == 1 %][% IF shelf.allow_change_from_permitted_staff %]<option value="4" selected="selected">Permitted staff only</option>[% ELSE %]<option value="4">Permitted staff only</option>[% END %][% END %]
54
55
            [% IF shelf.allow_change_from_others %]<option value="2" selected="selected">Anyone seeing this list</option>[% ELSE %]<option value="2">Anyone seeing this list</option>[% END %]
56
55
57
56
        </select>
58
        </select>
57
        &emsp; <span id="anyone_remark" style="display:none;color:red;">The "Anyone" permission has no actual effect while this list is strictly private.</span>
59
        &emsp; <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
        &emsp; <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
        &emsp; <span id="staff_remark" style="display:none;color:red;">The "Staff only" permission has no actual effect while this list is strictly private.</span>
59
         &emsp; <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>
61
        &emsp; <span id="anyone_remark" style="display:none;color:red;">The "Anyone" permission has no actual effect while this list is strictly private.</span>
60
    </li>
62
    </li>
61
[% END %]
63
[% END %]
62
64
63
- 

Return to bug 30418