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

(-)a/koha-tmpl/opac-tmpl/bootstrap/en/modules/opac-shelves.tt (-1 / +1 lines)
Lines 153-159 Link Here
153
                    </div>
153
                    </div>
154
                [% END %]
154
                [% END %]
155
155
156
                    [% IF op == 'view' %]
156
                    [% IF shelf AND op == 'view' %]
157
                        <h3>
157
                        <h3>
158
                            [% shelf.shelfname |html %]
158
                            [% shelf.shelfname |html %]
159
                            <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&amp;op=view&amp;shelfnumber=[% shelf.shelfnumber %]" class="rss-list-link noprint">
159
                            <a href="[% OPACBaseURL %]/cgi-bin/koha/opac-shelves.pl?rss=1&amp;op=view&amp;shelfnumber=[% shelf.shelfnumber %]" class="rss-list-link noprint">
(-)a/opac/opac-shelves.pl (-1 / +1 lines)
Lines 339-344 if ( $op eq 'view' ) { Link Here
339
            }
339
            }
340
        } else {
340
        } else {
341
            push @messages, { type => 'error', code => 'unauthorized_on_view' };
341
            push @messages, { type => 'error', code => 'unauthorized_on_view' };
342
            undef $shelf;
342
        }
343
        }
343
    } else {
344
    } else {
344
        push @messages, { type => 'error', code => 'does_not_exist' };
345
        push @messages, { type => 'error', code => 'does_not_exist' };
345
- 

Return to bug 17316