@@ -, +, @@ --- .../prog/en/includes/virtualshelves-toolbar.inc | 20 ++++++++++++++++---- virtualshelves/shelves.pl | 1 + 2 files changed, 17 insertions(+), 4 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc +++ a/koha-tmpl/intranet-tmpl/prog/en/includes/virtualshelves-toolbar.inc @@ -1,8 +1,16 @@
-
New list
- +
+ [% IF loggedinuser == 0 %] + New list + [% ELSE %] + New list + [% END %] +
[% IF shelf AND op == 'view' %] [% IF can_manage_shelf %]
--- a/virtualshelves/shelves.pl +++ a/virtualshelves/shelves.pl @@ -327,6 +327,7 @@ $template->param( category => $category, print => scalar $query->param('print') || 0, csv_profiles => [ Koha::CsvProfiles->search({ type => 'marc', used_for => 'export_records' }) ], + loggedinuser => $loggedinuser, ); output_html_with_http_headers $query, $cookie, $template->output; --