Lines 1-8
Link Here
|
|
|
1 |
[% PROCESS 'i18n.inc' %] |
1 |
[% USE Asset %] |
2 |
[% USE Asset %] |
2 |
[% USE KohaDates %] |
3 |
[% USE KohaDates %] |
3 |
[% SET footerjs = 1 %] |
4 |
[% SET footerjs = 1 %] |
4 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
[% INCLUDE 'doc-head-open.inc' %] |
5 |
<title>Koha › Tools › Patron lists › [% list.name %] › Add patrons</title> |
6 |
<title>[% t('Koha › Tools › Patron lists ›') %] [% list.name %] [% t('› Add patrons') %]</title> |
6 |
[% INCLUDE 'doc-head-close.inc' %] |
7 |
[% INCLUDE 'doc-head-close.inc' %] |
7 |
|
8 |
|
8 |
[% Asset.css("css/datatables.css") %] |
9 |
[% Asset.css("css/datatables.css") %] |
Lines 25-31
Link Here
|
25 |
<body id="patlist_list" class="pat patlist"> |
26 |
<body id="patlist_list" class="pat patlist"> |
26 |
[% INCLUDE 'header.inc' %] |
27 |
[% INCLUDE 'header.inc' %] |
27 |
[% INCLUDE 'cat-search.inc' %] |
28 |
[% INCLUDE 'cat-search.inc' %] |
28 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">Home</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">Tools</a> › <a href="lists.pl">Patron lists</a> › <a href="/cgi-bin/koha/patron_lists/list.pl?patron_list_id=[% list.id %]">[% list.name |html %]</a> › Add patrons</div> |
29 |
<div id="breadcrumbs"><a href="/cgi-bin/koha/mainpage.pl">[% t('Home') %]</a> › <a href="/cgi-bin/koha/tools/tools-home.pl">[% t('Tools') %]</a> › <a href="lists.pl">[% t('Patron lists') %]</a> › <a href="/cgi-bin/koha/patron_lists/list.pl?patron_list_id=[% list.id %]">[% list.name |html %]</a> [% t('› Add patrons') %]</div> |
29 |
|
30 |
|
30 |
<div id="doc3" class="yui-t2"> |
31 |
<div id="doc3" class="yui-t2"> |
31 |
<div id="bd"> |
32 |
<div id="bd"> |
Lines 34-43
Link Here
|
34 |
<h1>[% list.name |html %]</h1> |
35 |
<h1>[% list.name |html %]</h1> |
35 |
|
36 |
|
36 |
[% IF ( not_found.size > 0 ) %] |
37 |
[% IF ( not_found.size > 0 ) %] |
37 |
<div class="dialog alert"><p>Warning, the following cardnumbers were not found:</p></div> |
38 |
<div class="dialog alert"><p>[% t('Warning, the following cardnumbers were not found:') %]</p></div> |
38 |
<table style="margin:auto;"> |
39 |
<table style="margin:auto;"> |
39 |
<thead> |
40 |
<thead> |
40 |
<tr><th>Cardnumbers not found</th></tr> |
41 |
<tr><th>[% t('Cardnumbers not found') %]</th></tr> |
41 |
</thead> |
42 |
</thead> |
42 |
<tbody> |
43 |
<tbody> |
43 |
[% FOREACH nf IN not_found %] |
44 |
[% FOREACH nf IN not_found %] |
Lines 48-57
Link Here
|
48 |
[% END %] |
49 |
[% END %] |
49 |
|
50 |
|
50 |
[% IF ( existed.size > 0 ) %] |
51 |
[% IF ( existed.size > 0 ) %] |
51 |
<div class="dialog alert"><p>Warning, the following cardnumbers were already in this list:</p></div> |
52 |
<div class="dialog alert"><p>[% t('Warning, the following cardnumbers were already in this list:') %]</p></div> |
52 |
<table style="margin:auto;"> |
53 |
<table style="margin:auto;"> |
53 |
<thead> |
54 |
<thead> |
54 |
<tr><th>Cardnumbers already in list</th></tr> |
55 |
<tr><th>[% t('Cardnumbers already in list') %]</th></tr> |
55 |
</thead> |
56 |
</thead> |
56 |
<tbody> |
57 |
<tbody> |
57 |
[% FOREACH ed IN existed %] |
58 |
[% FOREACH ed IN existed %] |
Lines 63-82
Link Here
|
63 |
|
64 |
|
64 |
<form action="list.pl" id="add_patrons" method="post" class="clearfix"> |
65 |
<form action="list.pl" id="add_patrons" method="post" class="clearfix"> |
65 |
<fieldset class="rows"> |
66 |
<fieldset class="rows"> |
66 |
<legend>Add patrons</legend> |
67 |
<legend>[% t('Add patrons') %]</legend> |
67 |
<ol> |
68 |
<ol> |
68 |
<li id="patron_search_line"> |
69 |
<li id="patron_search_line"> |
69 |
<label for="find_patron">Patron search: </label> |
70 |
<label for="find_patron">[% t('Patron search:') %] </label> |
70 |
<input autocomplete="off" id="find_patron" type="text" style="width:150px" class="noEnterSubmit" /> |
71 |
<input autocomplete="off" id="find_patron" type="text" style="width:150px" class="noEnterSubmit" /> |
71 |
</li> |
72 |
</li> |
72 |
<li id="add_patrons_by_search"><a href="#"> |
73 |
<li id="add_patrons_by_search"><a href="#"> |
73 |
<span class="label"> </span> |
74 |
<span class="label"> </span> |
74 |
<i class="fa fa-plus"></i> Search for patrons</a></li> |
75 |
<i class="fa fa-plus"></i> [% t('Search for patrons') %]</a></li> |
75 |
<li id="add_patrons_by_barcode"><a href="#"> |
76 |
<li id="add_patrons_by_barcode"><a href="#"> |
76 |
<span class="label"> </span> |
77 |
<span class="label"> </span> |
77 |
<i class="fa fa-plus"></i> Enter multiple card numbers</a></li> |
78 |
<i class="fa fa-plus"></i> [% t('Enter multiple card numbers') %]</a></li> |
78 |
<li id="patron_barcodes_line"> |
79 |
<li id="patron_barcodes_line"> |
79 |
<label for="patrons_by_barcode">Card number list (one barcode per line):</label> |
80 |
<label for="patrons_by_barcode">[% t('Card number list (one barcode per line):') %]</label> |
80 |
<textarea id="patrons_by_barcode" name="patrons_by_barcode" id="" cols="30" rows="10"></textarea> |
81 |
<textarea id="patrons_by_barcode" name="patrons_by_barcode" id="" cols="30" rows="10"></textarea> |
81 |
</li> |
82 |
</li> |
82 |
</ol> |
83 |
</ol> |
Lines 88-100
Link Here
|
88 |
<div class="clearfix"></div> |
89 |
<div class="clearfix"></div> |
89 |
|
90 |
|
90 |
<fieldset id="patrons_to_add_fieldset"> |
91 |
<fieldset id="patrons_to_add_fieldset"> |
91 |
<legend>Patrons to be added</legend> |
92 |
<legend>[% t('Patrons to be added') %]</legend> |
92 |
<div id="patrons_to_add"></div> |
93 |
<div id="patrons_to_add"></div> |
93 |
|
94 |
|
94 |
<fieldset class="action"> |
95 |
<fieldset class="action"> |
95 |
<input type="hidden" name="patron_list_id" value="[% list.patron_list_id %]" /> |
96 |
<input type="hidden" name="patron_list_id" value="[% list.patron_list_id %]" /> |
96 |
<input type="submit" value="Add patrons" /> |
97 |
<input type="submit" value="Add patrons" /> |
97 |
<a href="lists.pl" class="cancel">Cancel</a> |
98 |
<a href="lists.pl" class="cancel">[% t('Cancel') %]</a> |
98 |
</fieldset> |
99 |
</fieldset> |
99 |
</fieldset> |
100 |
</fieldset> |
100 |
</form> |
101 |
</form> |
Lines 102-130
Link Here
|
102 |
<form action="list.pl" id="remove_patrons" method="post"> |
103 |
<form action="list.pl" id="remove_patrons" method="post"> |
103 |
|
104 |
|
104 |
<div id="searchheader"> |
105 |
<div id="searchheader"> |
105 |
<span class="checkall"><a id="CheckAll" href="#"><i class="fa fa-check"></i> Select all</a></span> | |
106 |
<span class="checkall"><a id="CheckAll" href="#"><i class="fa fa-check"></i> [% t('Select all') %]</a></span> | |
106 |
<span class="clearall"><a id="CheckNone" href="#"><i class="fa fa-remove"></i> Clear all</a></span> | |
107 |
<span class="clearall"><a id="CheckNone" href="#"><i class="fa fa-remove"></i> [% t('Clear all') %]</a></span> | |
107 |
<div class="btn-group"> |
108 |
<div class="btn-group"> |
108 |
<button class="btn btn-default btn-xs list-remove" type="submit"><i class="fa fa-trash"></i> Remove selected</button> |
109 |
<button class="btn btn-default btn-xs list-remove" type="submit"><i class="fa fa-trash"></i> [% t('Remove selected') %]</button> |
109 |
</div> |
110 |
</div> |
110 |
| |
111 |
| |
111 |
<div class="btn-group"> |
112 |
<div class="btn-group"> |
112 |
<button class="btn btn-default btn-xs merge-patrons"><i class="fa fa-compress"></i> Merge selected patrons</button> |
113 |
<button class="btn btn-default btn-xs merge-patrons"><i class="fa fa-compress"></i> [% t('Merge selected patrons') %]</button> |
113 |
</div> |
114 |
</div> |
114 |
</div> |
115 |
</div> |
115 |
|
116 |
|
116 |
<table id="patron-list-table"> |
117 |
<table id="patron-list-table"> |
117 |
<thead> |
118 |
<thead> |
118 |
<tr> |
119 |
<tr> |
119 |
<th> </th> |
120 |
<th> </th> |
120 |
<th>Card</th> |
121 |
<th>[% t('Card') %]</th> |
121 |
<th>First name</th> |
122 |
<th>[% t('First name') %]</th> |
122 |
<th>Surname</th> |
123 |
<th>[% t('Surname') %]</th> |
123 |
<th>Address</th> |
124 |
<th>[% t('Address') %]</th> |
124 |
<th>Category</th> |
125 |
<th>[% t('Category') %]</th> |
125 |
<th>Library</th> |
126 |
<th>[% t('Library') %]</th> |
126 |
<th>Expires on</th> |
127 |
<th>[% t('Expires on') %]</th> |
127 |
<th>Circ notes</th> |
128 |
<th>[% t('Circ notes') %]</th> |
128 |
</tr> |
129 |
</tr> |
129 |
</thead> |
130 |
</thead> |
130 |
|
131 |
|
Lines 159-166
Link Here
|
159 |
</table> |
160 |
</table> |
160 |
|
161 |
|
161 |
<input type="hidden" name="patron_list_id" value="[% list.patron_list_id %]" /> |
162 |
<input type="hidden" name="patron_list_id" value="[% list.patron_list_id %]" /> |
162 |
<button type="submit" class="btn btn-default btn-sm list-remove"><i class="fa fa-trash" aria-hidden="true"></i> Remove selected patrons</button> |
163 |
<button type="submit" class="btn btn-default btn-sm list-remove"><i class="fa fa-trash" aria-hidden="true"></i> [% t('Remove selected patrons') %]</button> |
163 |
<button class="btn btn-default btn-sm merge-patrons" type="submit"><i class="fa fa-compress"></i> Merge selected patrons</button> |
164 |
<button class="btn btn-default btn-sm merge-patrons" type="submit"><i class="fa fa-compress"></i> [% t('Merge selected patrons') %]</button> |
164 |
</form> |
165 |
</form> |
165 |
|
166 |
|
166 |
</div> |
167 |
</div> |