Lines 136-170
function searchToHold(){
Link Here
|
136 |
[% ELSE %] |
136 |
[% ELSE %] |
137 |
<a id="editpatron" class="btn btn-small" href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% borrowernumber %]&category_type=[% category_type %]"> |
137 |
<a id="editpatron" class="btn btn-small" href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% borrowernumber %]&category_type=[% category_type %]"> |
138 |
[% END %] |
138 |
[% END %] |
139 |
<i class="icon-pencil"></i> Edit</a> |
139 |
<i class="fa fa-pencil fa-fw"></i> Edit</a> |
140 |
[% ELSE %] <!-- try with categorycode if no category_type --> |
140 |
[% ELSE %] <!-- try with categorycode if no category_type --> |
141 |
[% IF ( categorycode ) %] |
141 |
[% IF ( categorycode ) %] |
142 |
<a id="editpatron" class="btn btn-small" href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% borrowernumber %]&categorycode=[% categorycode %]"><i class="icon-pencil"></i> Edit</a> |
142 |
<a id="editpatron" class="btn btn-small" href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% borrowernumber %]&categorycode=[% categorycode %]"><i class="fa fa-pencil fa-fw"></i> Edit</a> |
143 |
[% ELSE %] <!-- if no categorycode, set category_type to A by default --> |
143 |
[% ELSE %] <!-- if no categorycode, set category_type to A by default --> |
144 |
<a id="editpatron" class="btn btn-small" href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% borrowernumber %]&category_type=A"><i class="icon-pencil"></i> Edit</a> |
144 |
<a id="editpatron" class="btn btn-small" href="/cgi-bin/koha/members/memberentry.pl?op=modify&destination=circ&borrowernumber=[% borrowernumber %]&category_type=A"><i class="fa fa-pencil fa-fw"></i> Edit</a> |
145 |
[% END %] |
145 |
[% END %] |
146 |
[% END %] |
146 |
[% END %] |
147 |
[% END %] |
147 |
[% END %] |
148 |
|
148 |
|
149 |
[% IF ( CAN_user_borrowers ) %] |
149 |
[% IF ( CAN_user_borrowers ) %] |
150 |
[% IF ( adultborrower AND activeBorrowerRelationship ) %] |
150 |
[% IF ( adultborrower AND activeBorrowerRelationship ) %] |
151 |
<a id="addchild" class="btn btn-small" href="/cgi-bin/koha/members/memberentry.pl?op=add&guarantorid=[% borrowernumber %]&category_type=C"><i class="icon-plus"></i> Add child</a> |
151 |
<a id="addchild" class="btn btn-small" href="/cgi-bin/koha/members/memberentry.pl?op=add&guarantorid=[% borrowernumber %]&category_type=C"><i class="fa fa-plus fw"></i> Add child</a> |
152 |
[% END %] |
152 |
[% END %] |
153 |
[% IF ( CAN_user_borrowers ) %] |
153 |
[% IF ( CAN_user_borrowers ) %] |
154 |
<a id="changepassword" class="btn btn-small" href="/cgi-bin/koha/members/member-password.pl?member=[% borrowernumber %]"><i class="icon-lock"></i> Change password</a> |
154 |
<a id="changepassword" class="btn btn-small" href="/cgi-bin/koha/members/member-password.pl?member=[% borrowernumber %]"><i class="fa fa-lock fa-lw"></i> Change password</a> |
155 |
[% END %] |
155 |
[% END %] |
156 |
<a id="duplicate" class="btn btn-small" href="/cgi-bin/koha/members/memberentry.pl?op=duplicate&borrowernumber=[% borrowernumber %]&category_type=[% category_type %]"><i class="icon-copy"></i>Duplicate</a> |
156 |
<a id="duplicate" class="btn btn-small" href="/cgi-bin/koha/members/memberentry.pl?op=duplicate&borrowernumber=[% borrowernumber %]&category_type=[% category_type %]"><i class="fa fa-copy fa-fw"></i> Duplicate</a> |
157 |
[% END %] |
157 |
[% END %] |
158 |
|
158 |
|
159 |
<div class="btn-group"> |
159 |
<div class="btn-group"> |
160 |
<button class="btn btn-small dropdown-toggle" data-toggle="dropdown"><i class="icon-print"></i> Print <span class="caret"></span></button> |
160 |
<button class="btn btn-small dropdown-toggle" data-toggle="dropdown"><i class="fa fa-print fa-fw"></i> Print <span class="caret"></span></button> |
161 |
<ul class="dropdown-menu"> |
161 |
<ul class="dropdown-menu"> |
162 |
[% IF ( CAN_user_borrowers ) %]<li><a id="printsummary" href="#">Print summary</a></li>[% END %] |
162 |
[% IF ( CAN_user_borrowers ) %]<li><a id="printsummary" href="#">Print summary</a></li>[% END %] |
163 |
<li><a id="printslip" href="#">Print slip</a></li> |
163 |
<li><a id="printslip" href="#">Print slip</a></li> |
164 |
<li><a id="printquickslip" href="#">Print quick slip</a></li> |
164 |
<li><a id="printquickslip" href="#">Print quick slip</a></li> |
165 |
</ul> |
165 |
</ul> |
166 |
</div> |
166 |
</div> |
167 |
<a id="searchtohold" class="btn btn-small" href="#"><i class="icon-search"></i> Search to hold</a> |
167 |
<a id="searchtohold" class="btn btn-small" href="#"><i class="fa fa-search fa-fw"></i> Search to hold</a> |
168 |
<div class="btn-group"> |
168 |
<div class="btn-group"> |
169 |
<button class="btn btn-small dropdown-toggle" data-toggle="dropdown">More <span class="caret"></span></button> |
169 |
<button class="btn btn-small dropdown-toggle" data-toggle="dropdown">More <span class="caret"></span></button> |
170 |
<ul class="dropdown-menu"> |
170 |
<ul class="dropdown-menu"> |
171 |
- |
|
|