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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-3 / +2 lines)
Lines 598-604 Link Here
598
                                            <select name="public" id="public">
598
                                            <select name="public" id="public">
599
                                                [% IF shelf.is_private %]
599
                                                [% IF shelf.is_private %]
600
                                                    <option value="0" selected="selected">Private</option>
600
                                                    <option value="0" selected="selected">Private</option>
601
                                                [% ELSE %]
601
                                                [% ELSIF Koha.Preference('OpacAllowPrivateListCreation') %]
602
                                                    <option value="0">Private</option>
602
                                                    <option value="0">Private</option>
603
                                                [% END %]
603
                                                [% END %]
604
                                                [% IF shelf.is_public %]
604
                                                [% IF shelf.is_public %]
Lines 695-701 Link Here
695
                                [% END %]
695
                                [% END %]
696
696
697
                                [% SET show_new_list = 0 %]
697
                                [% SET show_new_list = 0 %]
698
                                [% IF Koha.Preference('OpacAllowPrivateListCreation') || Koha.Preference('OpacAllowPublicListCreation') %]
698
                                [% IF (!public && Koha.Preference('OpacAllowPrivateListCreation')) || (public && Koha.Preference('OpacAllowPublicListCreation')) %]
699
                                    [% IF loggedinusername %]
699
                                    [% IF loggedinusername %]
700
                                        [% show_new_list = 1 %]
700
                                        [% show_new_list = 1 %]
701
                                    [% ELSE %]
701
                                    [% ELSE %]
702
- 

Return to bug 39372