Lines 1-3
Link Here
|
|
|
1 |
[% PROCESS 'i18n.inc' %] |
1 |
[% USE Asset %] |
2 |
[% USE Asset %] |
2 |
[% USE Koha %] |
3 |
[% USE Koha %] |
3 |
[% USE KohaDates %] |
4 |
[% USE KohaDates %] |
Lines 5-32
Link Here
|
5 |
[% SET PUBLIC = 2 %] |
6 |
[% SET PUBLIC = 2 %] |
6 |
[% SET footerjs = 1 %] |
7 |
[% SET footerjs = 1 %] |
7 |
[% INCLUDE 'doc-head-open.inc' %] |
8 |
[% INCLUDE 'doc-head-open.inc' %] |
8 |
<title>Koha › [% IF op == 'view' %]Lists › Contents of [% shelf.shelfname | html %][% ELSE %]Lists[% END %][% IF op == 'add_form' %] › Create new list[% END %][% IF op == 'edit_form' %] › Edit list [% shelf.shelfname | html %][% END %]</title> |
9 |
<title>[% t('Koha ›') %] [% IF op == 'view' %][% t('Lists › Contents of') %] [% shelf.shelfname | html %][% ELSE %][% t('Lists') %][% END %][% IF op == 'add_form' %] [% t('› Create new list') %][% END %][% IF op == 'edit_form' %] [% t('› Edit list') %] [% shelf.shelfname | html %][% END %]</title> |
9 |
[% INCLUDE 'doc-head-close.inc' %] |
10 |
[% INCLUDE 'doc-head-close.inc' %] |
10 |
[% Asset.css("css/datatables.css") %] |
11 |
[% Asset.css("css/datatables.css") %] |
11 |
<style type="text/css">textarea { width: 100%; }</style> |
12 |
<style type="text/css">textarea { width: 100%; }</style> |
12 |
|
13 |
|
13 |
[% BLOCK list_permissions %] |
14 |
[% BLOCK list_permissions %] |
14 |
<li> |
15 |
<li> |
15 |
<label for="allow_changes_from">Allow changes to contents from: </label> |
16 |
<label for="allow_changes_from">[% t('Allow changes to contents from:') %] </label> |
16 |
<select name="allow_changes_from" id="allow_changes_from" onchange="AdjustRemark()"> |
17 |
<select name="allow_changes_from" id="allow_changes_from" onchange="AdjustRemark()"> |
17 |
|
18 |
|
18 |
[% IF shelf.allow_change_from_owner %]<option value="0">Nobody</option>[% ELSE %]<option value="0" selected="selected">Nobody</option>[% END %] |
19 |
[% IF shelf.allow_change_from_owner %]<option value="0">[% t('Nobody') %]</option>[% ELSE %]<option value="0" selected="selected">[% t('Nobody') %]</option>[% END %] |
19 |
|
20 |
|
20 |
[% IF shelf.allow_change_from_owner && (( !shelf.is_public && !shelf.is_shared ) || !shelf.allow_change_from_others ) %] |
21 |
[% IF shelf.allow_change_from_owner && (( !shelf.is_public && !shelf.is_shared ) || !shelf.allow_change_from_others ) %] |
21 |
<option value="1" selected="selected">Owner only</option> |
22 |
<option value="1" selected="selected">[% t('Owner only') %]</option> |
22 |
[% ELSE %] |
23 |
[% ELSE %] |
23 |
<option value="1">Owner only</option> |
24 |
<option value="1">[% t('Owner only') %]</option> |
24 |
[% END %] |
25 |
[% END %] |
25 |
|
26 |
|
26 |
[% IF shelf.allow_change_from_others %]<option value="2" selected="selected">Anyone seeing this list</option>[% ELSE %]<option value="2">Anyone seeing this list</option>[% END %] |
27 |
[% IF shelf.allow_change_from_others %]<option value="2" selected="selected">[% t('Anyone seeing this list') %]</option>[% ELSE %]<option value="2">[% t('Anyone seeing this list') %]</option>[% END %] |
27 |
|
28 |
|
28 |
</select> |
29 |
</select> |
29 |
  <span id="anyone_remark" style="display:none;color:red;">The Anyone permission has no actual effect while this list is strictly private.</span> |
30 |
<span id="anyone_remark" style="display:none;color:red;">[% t('The Anyone permission has no actual effect while this list is strictly private.') %]</span> |
30 |
</li> |
31 |
</li> |
31 |
[% END %] |
32 |
[% END %] |
32 |
</head> |
33 |
</head> |
Lines 36-62
Link Here
|
36 |
[% INCLUDE 'cat-search.inc' %] |
37 |
[% INCLUDE 'cat-search.inc' %] |
37 |
|
38 |
|
38 |
<div id="breadcrumbs"> |
39 |
<div id="breadcrumbs"> |
39 |
<a href="/cgi-bin/koha/mainpage.pl">Home</a> › |
40 |
<a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › |
40 |
[% IF op != 'list' %] |
41 |
[% IF op != 'list' %] |
41 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl">Lists</a> |
42 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl">[% t('Lists') %]</a> |
42 |
[% ELSE %] |
43 |
[% ELSE %] |
43 |
Lists |
44 |
[% t('Lists') %] |
44 |
[% END %] |
45 |
[% END %] |
45 |
[% IF shelf AND shelf.is_private %] › |
46 |
[% IF shelf AND shelf.is_private %] › |
46 |
[% IF op == 'view' OR op == 'edit_form' %] |
47 |
[% IF op == 'view' OR op == 'edit_form' %] |
47 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=list&category=[% PRIVATE %]">Your lists</a> |
48 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=list&category=[% PRIVATE %]">[% t('Your lists') %]</a> |
48 |
[% ELSE %] |
49 |
[% ELSE %] |
49 |
Your lists |
50 |
[% t('Your lists') %] |
50 |
[% END %] |
51 |
[% END %] |
51 |
[% ELSIF shelf AND shelf.is_public %] › |
52 |
[% ELSIF shelf AND shelf.is_public %] › |
52 |
[% IF op == 'view' %] |
53 |
[% IF op == 'view' %] |
53 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=list&category=[% PUBLIC %]">Public lists</a> |
54 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=list&category=[% PUBLIC %]">[% t('Public lists') %]</a> |
54 |
[% ELSE %] |
55 |
[% ELSE %] |
55 |
Public lists |
56 |
[% t('Public lists') %] |
56 |
[% END %] |
57 |
[% END %] |
57 |
[% END %] |
58 |
[% END %] |
58 |
|
59 |
|
59 |
[% IF op == 'view' %]› Contents of <i>[% shelf.shelfname | html %]</i>[% END %][% IF op == 'add_form' %] › Create new list[% END %][% IF op == 'edit_form' %] › Edit list <i>[% shelf.shelfname | html %]</i>[% END %]</div> |
60 |
[% IF op == 'view' %][% t('› Contents of') %] <i>[% shelf.shelfname | html %]</i>[% END %][% IF op == 'add_form' %] [% t('› Create new list') %][% END %][% IF op == 'edit_form' %] [% t('› Edit list') %] <i>[% shelf.shelfname | html %]</i>[% END %]</div> |
60 |
|
61 |
|
61 |
<div id="doc3" class="yui-t2"> |
62 |
<div id="doc3" class="yui-t2"> |
62 |
<div id="bd"> |
63 |
<div id="bd"> |
Lines 70-122
Link Here
|
70 |
<div class="dialog [% m.type %]"> |
71 |
<div class="dialog [% m.type %]"> |
71 |
[% SWITCH m.code %] |
72 |
[% SWITCH m.code %] |
72 |
[% CASE 'error_on_update' %] |
73 |
[% CASE 'error_on_update' %] |
73 |
<span>An error occurred when updating this list.</span> |
74 |
<span>[% t('An error occurred when updating this list.') %]</span> |
74 |
[% CASE 'error_on_insert' %] |
75 |
[% CASE 'error_on_insert' %] |
75 |
<span>An error occurred when creating this list.</span> |
76 |
<span>[% t('An error occurred when creating this list.') %]</span> |
76 |
[% CASE 'error_on_delete' %] |
77 |
[% CASE 'error_on_delete' %] |
77 |
<span>An error occurred when deleting this list.</span> |
78 |
<span>[% t('An error occurred when deleting this list.') %]</span> |
78 |
[% CASE 'error_on_add_biblio' %] |
79 |
[% CASE 'error_on_add_biblio' %] |
79 |
[% IF m.item_barcode %] |
80 |
[% IF m.item_barcode %] |
80 |
<span>The item ([% m.item_barcode %]) has not been added to the list. Please verify it is not already in the list.</span> |
81 |
<span>[% t('The item (') %][% m.item_barcode %][% t(') has not been added to the list. Please verify it is not already in the list.') %]</span> |
81 |
[% ELSE %] |
82 |
[% ELSE %] |
82 |
<span>The record ([% m.bibnum %]) has not been added to the list. Please verify it is not already in the list.</span> |
83 |
<span>[% t('The record (') %][% m.bibnum %][% t(') has not been added to the list. Please verify it is not already in the list.') %]</span> |
83 |
[% END %] |
84 |
[% END %] |
84 |
[% CASE 'success_on_update' %] |
85 |
[% CASE 'success_on_update' %] |
85 |
<span>List updated.</span> |
86 |
<span>[% t('List updated.') %]</span> |
86 |
[% CASE 'success_on_insert' %] |
87 |
[% CASE 'success_on_insert' %] |
87 |
<span>List created.</span> |
88 |
<span>[% t('List created.') %]</span> |
88 |
[% CASE 'success_on_delete' %] |
89 |
[% CASE 'success_on_delete' %] |
89 |
<span>List deleted.</span> |
90 |
<span>[% t('List deleted.') %]</span> |
90 |
[% CASE 'success_on_add_biblio' %] |
91 |
[% CASE 'success_on_add_biblio' %] |
91 |
[% IF m.item_barcode %] |
92 |
[% IF m.item_barcode %] |
92 |
<span>The item ([% m.item_barcode %]) has been added to the list.</span> |
93 |
<span>[% t('The item (') %][% m.item_barcode %][% t(') has been added to the list.') %]</span> |
93 |
[% ELSE %] |
94 |
[% ELSE %] |
94 |
<span>The record ([% m.bibnum %]) has been added to the list.</span> |
95 |
<span>[% t('The record (') %][% m.bibnum %][% t(') has been added to the list.') %]</span> |
95 |
[% END %] |
96 |
[% END %] |
96 |
[% CASE 'success_on_remove_biblios' %] |
97 |
[% CASE 'success_on_remove_biblios' %] |
97 |
<span>The item has been removed from the list.</span> |
98 |
<span>[% t('The item has been removed from the list.') %]</span> |
98 |
[% CASE 'does_not_exist' %] |
99 |
[% CASE 'does_not_exist' %] |
99 |
<span>This list does not exist.</span> |
100 |
<span>[% t('This list does not exist.') %]</span> |
100 |
[% CASE 'item_does_not_exist' %] |
101 |
[% CASE 'item_does_not_exist' %] |
101 |
[% IF m.item_barcode %] |
102 |
[% IF m.item_barcode %] |
102 |
<span>The item ([% m.item_barcode %]) does not exist.</span> |
103 |
<span>[% t('The item (') %][% m.item_barcode %][% t(') does not exist.') %]</span> |
103 |
[% ELSE %] |
104 |
[% ELSE %] |
104 |
<span>The record ([% m.bibnum %]) does not exist.</span> |
105 |
<span>[% t('The record (') %][% m.bibnum %][% t(') does not exist.') %]</span> |
105 |
[% END %] |
106 |
[% END %] |
106 |
[% CASE 'unauthorized_on_view' %] |
107 |
[% CASE 'unauthorized_on_view' %] |
107 |
<span>You do not have permission to view this list.</span> |
108 |
<span>[% t('You do not have permission to view this list.') %]</span> |
108 |
[% CASE 'unauthorized_on_update' %] |
109 |
[% CASE 'unauthorized_on_update' %] |
109 |
<span>You do not have permission to update this list.</span> |
110 |
<span>[% t('You do not have permission to update this list.') %]</span> |
110 |
[% CASE 'unauthorized_on_delete' %] |
111 |
[% CASE 'unauthorized_on_delete' %] |
111 |
<span>You do not have permission to delete this list.</span> |
112 |
<span>[% t('You do not have permission to delete this list.') %]</span> |
112 |
[% CASE 'unauthorized_on_add_biblio' %] |
113 |
[% CASE 'unauthorized_on_add_biblio' %] |
113 |
<span>You do not have permission to add a record to this list.</span> |
114 |
<span>[% t('You do not have permission to add a record to this list.') %]</span> |
114 |
[% CASE 'no_biblio_removed' %] |
115 |
[% CASE 'no_biblio_removed' %] |
115 |
<span>No record was removed.</span> |
116 |
<span>[% t('No record was removed.') %]</span> |
116 |
[% CASE 'Koha::Exceptions::Virtualshelves::DuplicateObject' %] |
117 |
[% CASE 'Koha::Exceptions::Virtualshelves::DuplicateObject' %] |
117 |
<span>An error occurred when creating this list. The name [% shelfname %] already exists.</span> |
118 |
<span>[% t('An error occurred when creating this list. The name') %] [% shelfname %] [% t('already exists.') %]</span> |
118 |
[% CASE 'Koha::Exceptions::Virtualshelves::UseDbAdminAccount' %] |
119 |
[% CASE 'Koha::Exceptions::Virtualshelves::UseDbAdminAccount' %] |
119 |
<span>List could not be created. (Do not use the database administrator account.)</span> |
120 |
<span>[% t('List could not be created. (Do not use the database administrator account.)') %]</span> |
120 |
[% CASE 'DBIx::Class::Exception' %] |
121 |
[% CASE 'DBIx::Class::Exception' %] |
121 |
[% m.msg %] |
122 |
[% m.msg %] |
122 |
[% CASE %] |
123 |
[% CASE %] |
Lines 129-135
Link Here
|
129 |
<div class="yui-g"> |
130 |
<div class="yui-g"> |
130 |
[% IF itemsloop %] |
131 |
[% IF itemsloop %] |
131 |
|
132 |
|
132 |
<h3>Contents of <i>[% shelf.shelfname | html %]</i></h3> |
133 |
<h3>[% t('Contents of') %] <i>[% shelf.shelfname | html %]</i></h3> |
133 |
<div class="pages">[% pagination_bar %]</div> |
134 |
<div class="pages">[% pagination_bar %]</div> |
134 |
<form action="/cgi-bin/koha/virtualshelves/shelves.pl" id="listform" method="post" class="checkboxed"> |
135 |
<form action="/cgi-bin/koha/virtualshelves/shelves.pl" id="listform" method="post" class="checkboxed"> |
135 |
<input type="hidden" name="op" value="remove_biblios" /> |
136 |
<input type="hidden" name="op" value="remove_biblios" /> |
Lines 149-192
Link Here
|
149 |
<span class="clearall"></span> |
150 |
<span class="clearall"></span> |
150 |
|
151 |
|
151 |
<span class="addto">| </span> |
152 |
<span class="addto">| </span> |
152 |
|
153 |
|
153 |
[% IF CAN_user_reserveforothers && Koha.Preference('DisplayMultiPlaceHold') %] |
154 |
[% IF CAN_user_reserveforothers && Koha.Preference('DisplayMultiPlaceHold') %] |
154 |
<div class="btn-group"><button class="btn btn-default btn-xs placehold"><i class="fa fa-sticky-note-o"></i> Place hold</button></div> |
155 |
<div class="btn-group"><button class="btn btn-default btn-xs placehold"><i class="fa fa-sticky-note-o"></i> [% t('Place hold') %]</button></div> |
155 |
[% END %] |
156 |
[% END %] |
156 |
[% IF can_remove_biblios %] |
157 |
[% IF can_remove_biblios %] |
157 |
<div class="btn-group"><button type="submit" class="btn btn-default btn-xs list-remove"><i class="fa fa-trash"></i> Remove selected</button></div> |
158 |
<div class="btn-group"><button type="submit" class="btn btn-default btn-xs list-remove"><i class="fa fa-trash"></i> [% t('Remove selected') %]</button></div> |
158 |
[% END %] |
159 |
[% END %] |
159 |
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<div class="btn-group"><button type="submit" class="btn btn-default btn-xs merge-items"><i class="fa fa-compress"></i> Merge selected</button></div>[% END %] |
160 |
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %]<div class="btn-group"><button type="submit" class="btn btn-default btn-xs merge-items"><i class="fa fa-compress"></i> [% t('Merge selected') %]</button></div>[% END %] |
160 |
</div> |
161 |
</div> |
161 |
[% END %] |
162 |
[% END %] |
162 |
</div> |
163 |
</div> |
163 |
|
164 |
|
164 |
<table id="searchresults"> |
165 |
<table id="searchresults"> |
165 |
<tr> |
166 |
<tr> |
166 |
[% IF ( itemsloop ) %]<th class="checkall"> </th>[% END %] |
167 |
[% IF ( itemsloop ) %]<th class="checkall"> </th>[% END %] |
167 |
|
168 |
|
168 |
[% UNLESS ( item_level_itypes ) %]<th>Item type</th>[% END %] |
169 |
[% UNLESS ( item_level_itypes ) %]<th>[% t('Item type') %]</th>[% END %] |
169 |
<th> |
170 |
<th> |
170 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber %]&sortfield=title&direction=[% IF sortfield != 'title' %]asc[% ELSE %][% new_direction %][% END %]">Title</a> |
171 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber %]&sortfield=title&direction=[% IF sortfield != 'title' %]asc[% ELSE %][% new_direction %][% END %]">[% t('Title') %]</a> |
171 |
[% IF sortfield == 'title' %] |
172 |
[% IF sortfield == 'title' %] |
172 |
<img src="[% interface %]/[% theme %]/img/[% direction %].gif" alt="[% direction %] sort" /> |
173 |
<img src="[% interface %]/[% theme %]/img/[% direction %].gif" alt="[% direction %] [% t('sort') %]" /> |
173 |
[% ELSE %] |
174 |
[% ELSE %] |
174 |
<img src="[% interface %]/[% theme %]/img/ascdesc.gif" alt="" /> |
175 |
<img src="[% interface %]/[% theme %]/img/ascdesc.gif" alt="" /> |
175 |
[% END %] |
176 |
[% END %] |
176 |
</th> |
177 |
</th> |
177 |
<th> |
178 |
<th> |
178 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber %]&sortfield=author&direction=[% IF sortfield != 'author' %]asc[% ELSE %][% new_direction %][% END %]">Author</a> |
179 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber %]&sortfield=author&direction=[% IF sortfield != 'author' %]asc[% ELSE %][% new_direction %][% END %]">[% t('Author') %]</a> |
179 |
[% IF sortfield == 'author' %] |
180 |
[% IF sortfield == 'author' %] |
180 |
<img src="[% interface %]/[% theme %]/img/[% direction %].gif" alt="[% direction %] sort" /> |
181 |
<img src="[% interface %]/[% theme %]/img/[% direction %].gif" alt="[% direction %] [% t('sort') %]" /> |
181 |
[% ELSE %] |
182 |
[% ELSE %] |
182 |
<img src="[% interface %]/[% theme %]/img/ascdesc.gif" alt="" /> |
183 |
<img src="[% interface %]/[% theme %]/img/ascdesc.gif" alt="" /> |
183 |
[% END %] |
184 |
[% END %] |
184 |
</th> |
185 |
</th> |
185 |
<th>Date added</th> |
186 |
<th>[% t('Date added') %]</th> |
186 |
<th> |
187 |
<th> |
187 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber %]&sortfield=itemcallnumber&direction=[% IF sortfield != 'itemcallnumber' %]asc[% ELSE %][% new_direction %][% END %]">Call number</a> |
188 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber %]&sortfield=itemcallnumber&direction=[% IF sortfield != 'itemcallnumber' %]asc[% ELSE %][% new_direction %][% END %]">[% t('Call number') %]</a> |
188 |
[% IF sortfield == 'itemcallnumber' %] |
189 |
[% IF sortfield == 'itemcallnumber' %] |
189 |
<img src="[% interface %]/[% theme %]/img/[% direction %].gif" alt="[% direction %] sort" /> |
190 |
<img src="[% interface %]/[% theme %]/img/[% direction %].gif" alt="[% direction %] [% t('sort') %]" /> |
190 |
[% ELSE %] |
191 |
[% ELSE %] |
191 |
<img src="[% interface %]/[% theme %]/img/ascdesc.gif" alt="" /> |
192 |
<img src="[% interface %]/[% theme %]/img/ascdesc.gif" alt="" /> |
192 |
[% END %] |
193 |
[% END %] |
Lines 211-230
Link Here
|
211 |
[% END %] |
212 |
[% END %] |
212 |
<p class="hold"> |
213 |
<p class="hold"> |
213 |
[% IF ( itemsloo.notforloan ) %] |
214 |
[% IF ( itemsloo.notforloan ) %] |
214 |
<span class="noholdstext">No holds allowed</span> |
215 |
<span class="noholdstext">[% t('No holds allowed') %]</span> |
215 |
[% ELSE %] |
216 |
[% ELSE %] |
216 |
[% IF ( itemsloo.ITEM_RESULTS.size ) %] |
217 |
[% IF ( itemsloo.ITEM_RESULTS.size ) %] |
217 |
<a id="reserve_[% itemsloo.biblionumber %]" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% itemsloo.biblionumber %]">Holds</a> |
218 |
<a id="reserve_[% itemsloo.biblionumber %]" href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% itemsloo.biblionumber %]">[% t('Holds') %]</a> |
218 |
[% IF ( holdfor ) %] <span class="holdforlink">| <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% itemsloo.biblionumber %]&findborrower=[% holdfor_cardnumber %]">Place hold for [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></span>[% END %] |
219 |
[% IF ( holdfor ) %] <span class="holdforlink">| <a href="/cgi-bin/koha/reserve/request.pl?biblionumber=[% itemsloo.biblionumber %]&findborrower=[% holdfor_cardnumber %]">[% t('Place hold for') %] [% holdfor_firstname %] [% holdfor_surname %] ([% holdfor_cardnumber %])</a></span>[% END %] |
219 |
[% ELSE %] |
220 |
[% ELSE %] |
220 |
<span class="noholdstext">No holds allowed</span> |
221 |
<span class="noholdstext">[% t('No holds allowed') %]</span> |
221 |
[% END %] |
222 |
[% END %] |
222 |
[% END %] |
223 |
[% END %] |
223 |
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %] |
224 |
[% IF ( CAN_user_editcatalogue_edit_catalogue ) %] |
224 |
| <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% itemsloo.biblionumber %]">Edit record</a> |
225 |
| <a href="/cgi-bin/koha/cataloguing/addbiblio.pl?biblionumber=[% itemsloo.biblionumber %]">[% t('Edit record') %]</a> |
225 |
[% END %] |
226 |
[% END %] |
226 |
[% IF ( CAN_user_editcatalogue_edit_items ) %] |
227 |
[% IF ( CAN_user_editcatalogue_edit_items ) %] |
227 |
| <a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% itemsloo.biblionumber %]">Edit items</a> |
228 |
| <a href="/cgi-bin/koha/cataloguing/additem.pl?biblionumber=[% itemsloo.biblionumber %]">[% t('Edit items') %]</a> |
228 |
[% END %] |
229 |
[% END %] |
229 |
</p> |
230 |
</p> |
230 |
</td> |
231 |
</td> |
Lines 235-241
Link Here
|
235 |
[% FOREACH result IN itemsloo.ITEM_RESULTS %] |
236 |
[% FOREACH result IN itemsloo.ITEM_RESULTS %] |
236 |
<li>[% result.holdingbranch %] [% IF ( result.location_intranet ) %] ([% result.location_intranet %]) [% END %] |
237 |
<li>[% result.holdingbranch %] [% IF ( result.location_intranet ) %] ([% result.location_intranet %]) [% END %] |
237 |
[% IF ( result.itemcallnumber ) %] |
238 |
[% IF ( result.itemcallnumber ) %] |
238 |
[<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% result.itemcallnumber |uri %]%22">[% result.itemcallnumber %]</a>] |
239 |
[<a href="/cgi-bin/koha/catalogue/search.pl?idx=callnum&q=%22[% result.itemcallnumber |uri %]%22">[% result.itemcallnumber %]</a>] |
239 |
[% END %] |
240 |
[% END %] |
240 |
</li> |
241 |
</li> |
241 |
[% END %] |
242 |
[% END %] |
Lines 258-278
Link Here
|
258 |
<fieldset class="rows"> |
259 |
<fieldset class="rows"> |
259 |
|
260 |
|
260 |
[% IF op == 'add_form' %] |
261 |
[% IF op == 'add_form' %] |
261 |
<legend>Create a new list</legend> |
262 |
<legend>[% t('Create a new list') %]</legend> |
262 |
<input type="hidden" name="op" value="add" /> |
263 |
<input type="hidden" name="op" value="add" /> |
263 |
[% ELSE %] |
264 |
[% ELSE %] |
264 |
<legend>Edit list <i>[% shelf.shelfname | html %]</i></legend> |
265 |
<legend>[% t('Edit list') %] <i>[% shelf.shelfname | html %]</i></legend> |
265 |
<input type="hidden" name="op" value="edit" /> |
266 |
<input type="hidden" name="op" value="edit" /> |
266 |
[% END %] |
267 |
[% END %] |
267 |
<input type="hidden" name="referer" value="[% referer | html %]" /> |
268 |
<input type="hidden" name="referer" value="[% referer | html %]" /> |
268 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
269 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
269 |
<ol> |
270 |
<ol> |
270 |
<li> |
271 |
<li> |
271 |
<label for="shelfname" class="required">Name: </label><input type="text" id="shelfname" name="shelfname" size="25" value="[% shelf.shelfname |html %]" required="required" class="required" /> |
272 |
<label for="shelfname" class="required">[% t('Name:') %] </label><input type="text" id="shelfname" name="shelfname" size="25" value="[% shelf.shelfname |html %]" required="required" class="required" /> |
272 |
<span class="required">Required</span> |
273 |
<span class="required">[% t('Required') %]</span> |
273 |
</li> |
274 |
</li> |
274 |
<li> |
275 |
<li> |
275 |
<span class="label">Owner: </span> |
276 |
<span class="label">[% t('Owner:') %] </span> |
276 |
[% IF op == 'add_form' %] |
277 |
[% IF op == 'add_form' %] |
277 |
<input type="hidden" name="owner" id="owner" value="[% loggedinusernumber %]" />[% loggedinusername %]</li> |
278 |
<input type="hidden" name="owner" id="owner" value="[% loggedinusernumber %]" />[% loggedinusername %]</li> |
278 |
[% ELSE %] |
279 |
[% ELSE %] |
Lines 283-306
Link Here
|
283 |
[% END %] |
284 |
[% END %] |
284 |
[% END %] |
285 |
[% END %] |
285 |
</li> |
286 |
</li> |
286 |
<li><label for="sortfield" >Sort this list by: </label> |
287 |
<li><label for="sortfield">[% t('Sort this list by:') %] </label> |
287 |
<select name="sortfield"> |
288 |
<select name="sortfield"> |
288 |
[% IF shelf.sortfield == "title" %]<option value="title" selected="selected">Title</option>[% ELSE %]<option value="title">Title</option>[% END %] |
289 |
[% IF shelf.sortfield == "title" %]<option value="title" selected="selected">[% t('Title') %]</option>[% ELSE %]<option value="title">[% t('Title') %]</option>[% END %] |
289 |
[% IF shelf.sortfield == "author" %]<option value="author" selected="selected">Author</option>[% ELSE %]<option value="author">Author</option>[% END %] |
290 |
[% IF shelf.sortfield == "author" %]<option value="author" selected="selected">[% t('Author') %]</option>[% ELSE %]<option value="author">[% t('Author') %]</option>[% END %] |
290 |
[% IF shelf.sortfield == "copyrightdate" %]<option value="copyrightdate" selected="selected">Copyrightdate</option>[% ELSE %]<option value="copyrightdate">Copyrightdate</option>[% END %] |
291 |
[% IF shelf.sortfield == "copyrightdate" %]<option value="copyrightdate" selected="selected">[% t('Copyrightdate') %]</option>[% ELSE %]<option value="copyrightdate">[% t('Copyrightdate') %]</option>[% END %] |
291 |
[% IF shelf.sortfield == "itemcallnumber" %]<option value="itemcallnumber" selected="selected">Call number</option>[% ELSE %]<option value="itemcallnumber">Call number</option>[% END %] |
292 |
[% IF shelf.sortfield == "itemcallnumber" %]<option value="itemcallnumber" selected="selected">[% t('Call number') %]</option>[% ELSE %]<option value="itemcallnumber">[% t('Call number') %]</option>[% END %] |
292 |
</select></li> |
293 |
</select></li> |
293 |
<li><label for="category">Category: </label> |
294 |
<li><label for="category">[% t('Category:') %] </label> |
294 |
<select id="category" name="category" onchange="AdjustRemark()"> |
295 |
<select id="category" name="category" onchange="AdjustRemark()"> |
295 |
[% IF shelf.is_private %] |
296 |
[% IF shelf.is_private %] |
296 |
<option value="1" selected="selected">Private</option> |
297 |
<option value="1" selected="selected">[% t('Private') %]</option> |
297 |
[% ELSE %] |
298 |
[% ELSE %] |
298 |
<option value="1">Private</option> |
299 |
<option value="1">[% t('Private') %]</option> |
299 |
[% END %] |
300 |
[% END %] |
300 |
[% IF shelf.is_public %] |
301 |
[% IF shelf.is_public %] |
301 |
<option value="2" selected="selected">Public</option> |
302 |
<option value="2" selected="selected">[% t('Public') %]</option> |
302 |
[% ELSE %] |
303 |
[% ELSE %] |
303 |
<option value="2">Public</option> |
304 |
<option value="2">[% t('Public') %]</option> |
304 |
[% END %] |
305 |
[% END %] |
305 |
</select></li> |
306 |
</select></li> |
306 |
|
307 |
|
Lines 312-323
Link Here
|
312 |
<fieldset class="action"> |
313 |
<fieldset class="action"> |
313 |
<input type="submit" value="Save" class="submit" /> |
314 |
<input type="submit" value="Save" class="submit" /> |
314 |
[% IF referer == 'view' %] |
315 |
[% IF referer == 'view' %] |
315 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber %]" class="cancel">Cancel</a> |
316 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=view&shelfnumber=[% shelf.shelfnumber %]" class="cancel">[% t('Cancel') %]</a> |
316 |
[% ELSE %] |
317 |
[% ELSE %] |
317 |
[% IF category == PUBLIC %] |
318 |
[% IF category == PUBLIC %] |
318 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=list&category=[% PUBLIC %]" class="cancel">Cancel</a> |
319 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=list&category=[% PUBLIC %]" class="cancel">[% t('Cancel') %]</a> |
319 |
[% ELSE %] |
320 |
[% ELSE %] |
320 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=list&category=[% PRIVATE %]" class="cancel">Cancel</a> |
321 |
<a href="/cgi-bin/koha/virtualshelves/shelves.pl?op=list&category=[% PRIVATE %]" class="cancel">[% t('Cancel') %]</a> |
321 |
[% END %] |
322 |
[% END %] |
322 |
[% END %] |
323 |
[% END %] |
323 |
</fieldset> |
324 |
</fieldset> |
Lines 327-366
Link Here
|
327 |
[% END %] |
328 |
[% END %] |
328 |
|
329 |
|
329 |
[% IF op == 'list' %] |
330 |
[% IF op == 'list' %] |
330 |
<h2>Lists</h2> |
331 |
<h2>[% t('Lists') %]</h2> |
331 |
<div id="tabs" class="toptabs"> |
332 |
<div id="tabs" class="toptabs"> |
332 |
<ul> |
333 |
<ul> |
333 |
<li id="privateshelves_tab" class="active"><a href="#tab_content">Your lists</a></li> |
334 |
<li id="privateshelves_tab" class="active"><a href="#tab_content">[% t('Your lists') %]</a></li> |
334 |
<li id="publicshelves_tab" class="active"><a href="#tab_content">Public lists</a></li> |
335 |
<li id="publicshelves_tab" class="active"><a href="#tab_content">[% t('Public lists') %]</a></li> |
335 |
</ul> |
336 |
</ul> |
336 |
|
337 |
|
337 |
<div id="tab_content"> |
338 |
<div id="tab_content"> |
338 |
<table id="listresultst"> |
339 |
<table id="listresultst"> |
339 |
<thead> |
340 |
<thead> |
340 |
<tr> |
341 |
<tr> |
341 |
<th class="NoVisible">Type</th> |
342 |
<th class="NoVisible">[% t('Type') %]</th> |
342 |
<th>List name</th> |
343 |
<th>[% t('List name') %]</th> |
343 |
<th>Contents</th> |
344 |
<th>[% t('Contents') %]</th> |
344 |
<th>Type</th> |
345 |
<th>[% t('Type') %]</th> |
345 |
<th>Owner</th> |
346 |
<th>[% t('Owner') %]</th> |
346 |
<th>Sort by</th> |
347 |
<th>[% t('Sort by') %]</th> |
347 |
<th>Creation date</th> |
348 |
<th>[% t('Creation date') %]</th> |
348 |
<th>Modification date</th> |
349 |
<th>[% t('Modification date') %]</th> |
349 |
<th>Actions</th> |
350 |
<th>[% t('Actions') %]</th> |
350 |
</tr> |
351 |
</tr> |
351 |
<tr class="filters_row"> |
352 |
<tr class="filters_row"> |
352 |
<th></th> |
353 |
<th></th> |
353 |
<th><input class="filter text_filter" id="searchshelfname_filter" placeholder="List name"></th> |
354 |
<th><input class="filter text_filter" id="searchshelfname_filter" placeholder="[% t('List name') %]"></th> |
354 |
<th></th> |
355 |
<th></th> |
355 |
<th></th> |
356 |
<th></th> |
356 |
<th><input class="filter text_filter" id="searchowner_filter" placeholder="Owner"></th> |
357 |
<th><input class="filter text_filter" id="searchowner_filter" placeholder="[% t('Owner') %]"></th> |
357 |
<th> |
358 |
<th> |
358 |
<select class="filter text_filter" id="searchsortby_filter"> |
359 |
<select class="filter text_filter" id="searchsortby_filter"> |
359 |
<option value=""></option> |
360 |
<option value=""></option> |
360 |
<option value="title">Title</option> |
361 |
<option value="title">[% t('Title') %]</option> |
361 |
<option value="author">Author</option> |
362 |
<option value="author">[% t('Author') %]</option> |
362 |
<option value="copyrightdate">Copyrightdate</option> |
363 |
<option value="copyrightdate">[% t('Copyrightdate') %]</option> |
363 |
<option value="itemcallnumber">Call number</option> |
364 |
<option value="itemcallnumber">[% t('Call number') %]</option> |
364 |
</select> |
365 |
</select> |
365 |
</th> |
366 |
</th> |
366 |
<th></th> |
367 |
<th></th> |
Lines 377-383
Link Here
|
377 |
<form id="hold_form" method="get" action="/cgi-bin/koha/reserve/request.pl"> |
378 |
<form id="hold_form" method="get" action="/cgi-bin/koha/reserve/request.pl"> |
378 |
<!-- Value will be set here by placeHold() --> |
379 |
<!-- Value will be set here by placeHold() --> |
379 |
<input id="hold_form_biblios" type="hidden" name="biblionumbers" value="" /> |
380 |
<input id="hold_form_biblios" type="hidden" name="biblionumbers" value="" /> |
380 |
<input type="hidden" name="multi_hold" value="1"/> |
381 |
<input type="hidden" name="multi_hold" value="1" /> |
381 |
</form> |
382 |
</form> |
382 |
|
383 |
|
383 |
</div> |
384 |
</div> |
Lines 387-403
Link Here
|
387 |
<div class="yui-b"> |
388 |
<div class="yui-b"> |
388 |
<form action="/cgi-bin/koha/virtualshelves/shelves.pl" method="post"> |
389 |
<form action="/cgi-bin/koha/virtualshelves/shelves.pl" method="post"> |
389 |
<fieldset class="brief noprint"> |
390 |
<fieldset class="brief noprint"> |
390 |
<h4>Add items</h4> |
391 |
<h4>[% t('Add items') %]</h4> |
391 |
<ol> |
392 |
<ol> |
392 |
<li> |
393 |
<li> |
393 |
<label for="barcodes">Barcodes:</label> |
394 |
<label for="barcodes">[% t('Barcodes:') %]</label> |
394 |
<textarea name="barcodes" id="barcodes" class="focus" autocomplete="off" rows="5"></textarea> |
395 |
<textarea name="barcodes" id="barcodes" class="focus" autocomplete="off" rows="5"></textarea> |
395 |
<input type="hidden" name="op" value="add_biblio" /> |
396 |
<input type="hidden" name="op" value="add_biblio" /> |
396 |
<input type="hidden" name="referer" value="view" /> |
397 |
<input type="hidden" name="referer" value="view" /> |
397 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
398 |
<input type="hidden" name="shelfnumber" value="[% shelf.shelfnumber %]" /> |
398 |
</li> |
399 |
</li> |
399 |
<li> |
400 |
<li> |
400 |
<label for="biblionumbers">Biblio numbers:</label> |
401 |
<label for="biblionumbers">[% t('Biblio numbers:') %]</label> |
401 |
<textarea name="biblionumbers" id="biblionumbers" class="focus" autocomplete="off" rows="5"></textarea> |
402 |
<textarea name="biblionumbers" id="biblionumbers" class="focus" autocomplete="off" rows="5"></textarea> |
402 |
<input type="hidden" name="op" value="add_biblio" /> |
403 |
<input type="hidden" name="op" value="add_biblio" /> |
403 |
<input type="hidden" name="referer" value="view" /> |
404 |
<input type="hidden" name="referer" value="view" /> |
404 |
- |
|
|