Link Here
|
36 |
<div class="patronimage-container"> |
36 |
<div class="patronimage-container"> |
37 |
[% IF ( patron.image ) %] |
37 |
[% IF ( patron.image ) %] |
38 |
<img src="/cgi-bin/koha/members/patronimage.pl?borrowernumber=[% patron.borrowernumber | uri %]" class="patronimage" alt="[% patron.firstname | html %] [% patron.surname | html %] ([% patron.cardnumber | html %])" /> |
38 |
<img src="/cgi-bin/koha/members/patronimage.pl?borrowernumber=[% patron.borrowernumber | uri %]" class="patronimage" alt="[% patron.firstname | html %] [% patron.surname | html %] ([% patron.cardnumber | html %])" /> |
39 |
<div class="patronimage-controls"> |
39 |
[% IF ( CAN_user_tools_batch_upload_patron_images ) %] |
40 |
<div class="patronimage-control"><a data-borrowernumber="[% patron.borrowernumber | uri %]" data-cardnumber="[% patron.cardnumber | html %]" class="btn btn-default edit-patronimage" title="Patron photo" href="#"><i class="fa fa-pencil"></i> Edit</a></div> |
40 |
<div class="patronimage-controls"> |
41 |
</div> |
41 |
<div class="patronimage-control"><a data-borrowernumber="[% patron.borrowernumber | uri %]" data-cardnumber="[% patron.cardnumber | html %]" class="btn btn-default edit-patronimage" title="Patron photo" href="#"><i class="fa fa-pencil"></i> Edit</a></div> |
|
|
42 |
</div> |
43 |
[% END %] |
42 |
[% ELSE %] |
44 |
[% ELSE %] |
43 |
<div class="patronimage empty"></div> |
45 |
<div class="patronimage empty"></div> |
44 |
<div class="patronimage-controls"> |
46 |
[% IF ( CAN_user_tools_batch_upload_patron_images ) %] |
45 |
<div class="patronimage-control"><a data-borrowernumber="[% patron.borrowernumber | uri %]" data-cardnumber="[% patron.cardnumber | html %]" class="btn btn-default edit-patronimage" title="Patron photo" href="#"><i class="fa fa-plus"></i> Add</a></div> |
47 |
<div class="patronimage-controls"> |
46 |
</div> |
48 |
<div class="patronimage-control"><a data-borrowernumber="[% patron.borrowernumber | uri %]" data-cardnumber="[% patron.cardnumber | html %]" class="btn btn-default edit-patronimage" title="Patron photo" href="#"><i class="fa fa-plus"></i> Add</a></div> |
|
|
49 |
</div> |
50 |
[% END %] |
47 |
[% END %] |
51 |
[% END %] |
48 |
</div> |
52 |
</div> |
49 |
</div> |
53 |
</div> |
50 |
- |
|
|