Lines 136-142
Link Here
|
136 |
[% IF ( breeding_loo.breedingid ) %] |
136 |
[% IF ( breeding_loo.breedingid ) %] |
137 |
<tr id="row[% breeding_loo.breedingid | html %]"> |
137 |
<tr id="row[% breeding_loo.breedingid | html %]"> |
138 |
<td>[% breeding_loo.server | html %]</td> |
138 |
<td>[% breeding_loo.server | html %]</td> |
139 |
<td>[% breeding_loo.title | html %]</td> |
139 |
<td><a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&importid=[% breeding_loo.breedingid | uri %]" title="Card" class="previewData">[% breeding_loo.title | html %]</a></td> |
140 |
<td>[% breeding_loo.author | html %]</td> |
140 |
<td>[% breeding_loo.author | html %]</td> |
141 |
<td>[% breeding_loo.date | html %]</td> |
141 |
<td>[% breeding_loo.date | html %]</td> |
142 |
<td>[% breeding_loo.edition | html %]</td> |
142 |
<td>[% breeding_loo.edition | html %]</td> |
Lines 155-168
Link Here
|
155 |
</td> |
155 |
</td> |
156 |
[% END %] |
156 |
[% END %] |
157 |
<td> |
157 |
<td> |
158 |
<div class="btn-group dropup"> |
158 |
<div class="dropdown btn-group"> |
159 |
<a class="btn btn-default btn-xs dropdown-toggle" id="cataloguesearchactions[% breeding_loo.breedingid | html %]" role="button" data-toggle="dropdown" href="#"> |
159 |
<a class="btn btn-default btn-xs import_record" data-breedingid="[% breeding_loo.breedingid | html %]" data-biblionumber="[% breeding_loo.biblionumber | html %]" data-frameworkcode="[% frameworkcode | uri %]"><i class="fa fa-download"></i> Import</a> |
160 |
Actions <b class="caret"></b> |
160 |
<a class="btn btn-default btn-xs dropdown-toggle" data-toggle="dropdown"> |
|
|
161 |
<b class="caret"></b> |
161 |
</a> |
162 |
</a> |
162 |
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="cataloguesearchactions[% breeding_loo.breedingid | html %]"> |
163 |
<ul class="dropdown-menu"> |
163 |
<li><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid | uri %]" title="MARC" class="previewData"><i class="fa fa-eye"></i> MARC preview</a></li> |
164 |
<li><a href="/cgi-bin/koha/catalogue/showmarc.pl?importid=[% breeding_loo.breedingid | uri %]" title="MARC" class="previewData"><i class="fa fa-eye"></i> MARC preview</a></li> |
164 |
<li><a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&importid=[% breeding_loo.breedingid | uri %]" title="Card" class="previewData"><i class="fa fa-eye"></i> Card preview</a></li> |
165 |
<li><a href="/cgi-bin/koha/catalogue/showmarc.pl?viewas=card&importid=[% breeding_loo.breedingid | uri %]" title="Card" class="previewData"><i class="fa fa-eye"></i> Card preview</a></li> |
165 |
<li><a href="#" class="import_record" data-breedingid="[% breeding_loo.breedingid | html %]" data-biblionumber="[% breeding_loo.biblionumber | html %]" data-frameworkcode="[% frameworkcode | uri %]"><i class="fa fa-download"></i> Import</a></li> |
|
|
166 |
</ul> |
166 |
</ul> |
167 |
</div> |
167 |
</div> |
168 |
</td> |
168 |
</td> |
Lines 280-286
Link Here
|
280 |
var dropdown = $(".dropdown", row); |
280 |
var dropdown = $(".dropdown", row); |
281 |
dropdown.addClass("open"); |
281 |
dropdown.addClass("open"); |
282 |
var position = $(this).offset(); |
282 |
var position = $(this).offset(); |
283 |
var top = position.top + 5; |
283 |
var top = position.top - 5; |
284 |
var left = position.left + 5; |
284 |
var left = position.left + 5; |
285 |
dropdown.css("position","unset"); |
285 |
dropdown.css("position","unset"); |
286 |
$(".dropdown-menu", row).css({ |
286 |
$(".dropdown-menu", row).css({ |
287 |
- |
|
|