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

(-)a/C4/VirtualShelves/Page.pm (-7 / +9 lines)
Lines 241-253 sub shelfpage ($$$$$) { Link Here
241
                my $i = 0;
241
                my $i = 0;
242
                my $manageshelf = ShelfPossibleAction( $loggedinuser, $shelfnumber, 'manage' );
242
                my $manageshelf = ShelfPossibleAction( $loggedinuser, $shelfnumber, 'manage' );
243
                $template->param(
243
                $template->param(
244
                    shelfname   => $shelfname,
244
                    shelfname           => $shelfname,
245
                    shelfnumber => $shelfnumber,
245
                    shelfnumber         => $shelfnumber,
246
                    viewshelf   => $shelfnumber,
246
                    viewshelf           => $shelfnumber,
247
                    authorsort  => $authorsort,
247
                    authorsort          => $authorsort,
248
                    yearsort    => $yearsort,
248
                    yearsort            => $yearsort,
249
                    manageshelf => $manageshelf,
249
                    manageshelf         => $manageshelf,
250
                    itemsloop   => $items,
250
                    "category$category" => 1,
251
                    category            => $category,
252
                    itemsloop           => $items,
251
                );
253
                );
252
            } else {
254
            } else {
253
                push @paramsloop, { nopermission => $shelfnumber };
255
                push @paramsloop, { nopermission => $shelfnumber };
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/virtualshelves/shelves.tt (-2 / +2 lines)
Lines 115-121 function placeHold () { Link Here
115
[% INCLUDE 'header.inc' %]
115
[% INCLUDE 'header.inc' %]
116
[% INCLUDE 'cat-search.inc' %]
116
[% INCLUDE 'cat-search.inc' %]
117
117
118
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a>
118
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> &rsaquo; <a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a> [% IF ( category1 ) %] &rsaquo; [% IF ( viewshelf || edit ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your Lists</a> [% ELSE %] Your Lists [% END %] [% ELSIF ( category2 ) %] &rsaquo; [% IF ( viewshelf ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public Lists</a> [% ELSE %] Public Lists [% END %] [% ELSIF ( showprivateshelves ) %] &rsaquo; [% IF ( viewshelf || edit ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=privateshelves">Your Lists</a> [% ELSE %] Your Lists [% END %] [% ELSIF ( showpublicshelves ) %] &rsaquo; [% IF ( viewshelf || edit ) %] <a href="/cgi-bin/koha/virtualshelves/shelves.pl?display=publicshelves">Public Lists</a> [% ELSE %] Public Lists [% END %] [% END %]
119
119
[% IF ( viewshelf ) %]&rsaquo; Contents of <i>[% shelfname | html %]</i>[% END %][% IF ( shelves ) %] &rsaquo; Create New List[% END %][% IF ( edit ) %] &rsaquo; Edit List <i>[% shelfname | html %]</i>[% END %]</div>
120
[% IF ( viewshelf ) %]&rsaquo; Contents of <i>[% shelfname | html %]</i>[% END %][% IF ( shelves ) %] &rsaquo; Create New List[% END %][% IF ( edit ) %] &rsaquo; Edit List <i>[% shelfname | html %]</i>[% END %]</div>
120
121
121
<div id="doc" class="yui-t7">
122
<div id="doc" class="yui-t7">
122
- 

Return to bug 6754