@@ -, +, @@ --- .../prog/en/includes/virtualshelves-toolbar.inc | 43 +++++++++++++++++++++- virtualshelves/shelves.pl | 1 + 2 files changed, 42 insertions(+), 2 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,47 @@ [% INCLUDE 'blocking_errors.inc' %] + + +
+
+ [% 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 @@ -351,6 +351,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; --