|
Lines 495-506
Link Here
|
| 495 |
[% library_str = library_str _ "\n" _ library.branchname _ " (" _ library.branchcode _ ")" %] |
495 |
[% library_str = library_str _ "\n" _ library.branchname _ " (" _ library.branchcode _ ")" %] |
| 496 |
[% END %] |
496 |
[% END %] |
| 497 |
[% END %] |
497 |
[% END %] |
| 498 |
<span class="library_limitation" title="[% library_str | html %]"> |
498 |
<span class="library_limitation" data-bs-toggle="tooltip" title="[% library_str | html %]"> |
| 499 |
[% IF library_limits.count > 1 %] |
499 |
[% IF library_limits.count > 1 %] |
| 500 |
<span>[% library_limits.count | html %] library limitations</span> |
500 |
<span>[% library_limits.count | html %] library limitations</span> |
| 501 |
[% ELSE %] |
501 |
[% ELSE %] |
| 502 |
<span>[% library_limits.count | html %] library limitation</span> |
502 |
<span>[% library_limits.count | html %] library limitation</span> |
| 503 |
[% END %] |
503 |
[% END %] |
|
|
504 |
</span> |
| 504 |
[% ELSE %] |
505 |
[% ELSE %] |
| 505 |
<span>No limitation</span> |
506 |
<span>No limitation</span> |
| 506 |
[% END %] |
507 |
[% END %] |
|
Lines 560-566
Link Here
|
| 560 |
$("#itemtype").on("blur",function(){ |
561 |
$("#itemtype").on("blur",function(){ |
| 561 |
toUC(this); |
562 |
toUC(this); |
| 562 |
}); |
563 |
}); |
| 563 |
$(".library_limitation").tooltip(); |
|
|
| 564 |
if( $("#icons .tab-pane.active").length < 1 ){ |
564 |
if( $("#icons .tab-pane.active").length < 1 ){ |
| 565 |
$("#icons a:first").tab("show"); |
565 |
$("#icons a:first").tab("show"); |
| 566 |
} |
566 |
} |