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