Lines 5-18
Link Here
|
5 |
|
5 |
|
6 |
[% UNLESS ( no_add ) %] |
6 |
[% UNLESS ( no_add ) %] |
7 |
<div id="toolbar" class="btn-toolbar"> |
7 |
<div id="toolbar" class="btn-toolbar"> |
8 |
<div class="btn-group"> |
8 |
<div class="btn-group" id="new-patron-button"> |
9 |
<button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New patron <span class="caret"></span></button> |
9 |
<button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> New patron <span class="caret"></span></button> |
10 |
<ul class="dropdown-menu"> |
10 |
<ul class="dropdown-menu"> |
11 |
[% FOREACH category IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&categorycode=[% category.categorycode %]">[% category.description |html %]</a></li>[% END %] |
11 |
[% FOREACH category IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&categorycode=[% category.categorycode %]">[% category.description |html %]</a></li>[% END %] |
12 |
</ul> |
12 |
</ul> |
13 |
</div> |
13 |
</div> |
14 |
[% IF Koha.Preference('PatronQuickAddFields') || Koha.Preference('BorrowerMandatoryField') %] |
14 |
[% IF Koha.Preference('PatronQuickAddFields') || Koha.Preference('BorrowerMandatoryField') %] |
15 |
<div class="btn-group"> |
15 |
<div class="btn-group" id="quick-add-new-patron-button"> |
16 |
<button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> Quick add new patron <span class="caret"></span></button> |
16 |
<button class="btn btn-default btn-sm dropdown-toggle" data-toggle="dropdown"><i class="fa fa-plus"></i> Quick add new patron <span class="caret"></span></button> |
17 |
<ul class="dropdown-menu"> |
17 |
<ul class="dropdown-menu"> |
18 |
[% FOREACH category IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&categorycode=[% category.categorycode %]&quickadd=true">[% category.description |html %]</a></li>[% END %] |
18 |
[% FOREACH category IN categories %]<li><a href="/cgi-bin/koha/members/memberentry.pl?op=add&categorycode=[% category.categorycode %]&quickadd=true">[% category.description |html %]</a></li>[% END %] |
Lines 20-26
Link Here
|
20 |
</div> |
20 |
</div> |
21 |
[% END %] |
21 |
[% END %] |
22 |
[% IF CAN_user_tools_manage_patron_lists %] |
22 |
[% IF CAN_user_tools_manage_patron_lists %] |
23 |
<a class="btn btn-default btn-sm" href="/cgi-bin/koha/patron_lists/lists.pl"><i class="fa fa-edit"></i> Patron lists</a> |
23 |
<a class="btn btn-default btn-sm" href="/cgi-bin/koha/patron_lists/lists.pl" id="patron-lists-button"><i class="fa fa-edit"></i> Patron lists</a> |
24 |
[% END %] |
24 |
[% END %] |
25 |
|
25 |
|
26 |
</div> |
26 |
</div> |
27 |
- |
|
|