Lines 45-51
Link Here
|
45 |
<table> |
45 |
<table> |
46 |
<tr> |
46 |
<tr> |
47 |
<th>Summary</th> |
47 |
<th>Summary</th> |
48 |
<th>MARC preview</th> |
|
|
49 |
<th>Heading type</th> |
48 |
<th>Heading type</th> |
50 |
[% UNLESS ( isEDITORS ) %] |
49 |
[% UNLESS ( isEDITORS ) %] |
51 |
<th>Used in</th> |
50 |
<th>Used in</th> |
Lines 58-64
Link Here
|
58 |
<tr data-authid="[% resul.authid | html %]"> |
57 |
<tr data-authid="[% resul.authid | html %]"> |
59 |
<td>[% PROCESS authresult summary=resul.summary authid=resul.authid %]</td> |
58 |
<td>[% PROCESS authresult summary=resul.summary authid=resul.authid %]</td> |
60 |
<td>[% resul.authtype | html %]</td> |
59 |
<td>[% resul.authtype | html %]</td> |
61 |
<td><a class="previewMARC btn btn-default btn-xs" href="showmarc.pl?id=[% resul.authid | uri %]&viewas=html" title="MARC">Show</a></td> |
|
|
62 |
[% UNLESS ( resul.isEDITORS ) %] |
60 |
[% UNLESS ( resul.isEDITORS ) %] |
63 |
<td> |
61 |
<td> |
64 |
[% IF resul.used > 0 %] |
62 |
[% IF resul.used > 0 %] |
Lines 75-80
Link Here
|
75 |
Actions <b class="caret"></b></a> |
73 |
Actions <b class="caret"></b></a> |
76 |
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authactions[% resul.authid | html %]"> |
74 |
<ul class="dropdown-menu pull-right" role="menu" aria-labelledby="authactions[% resul.authid | html %]"> |
77 |
<li><a href="/cgi-bin/koha/authorities/authorities.pl?authid=[% resul.authid | uri %]"><i class="fa fa-pencil"></i> Edit</a></li> |
75 |
<li><a href="/cgi-bin/koha/authorities/authorities.pl?authid=[% resul.authid | uri %]"><i class="fa fa-pencil"></i> Edit</a></li> |
|
|
76 |
<li><a class="previewMARC" href="showmarc.pl?authid=[% resul.authid | uri %]&viewas=html"><i class="fa fa-eye"></i> MARC preview</a></li> |
78 |
<li><a class="merge_auth" href="#merge"><i class="fa fa-compress"></i> Merge</a></li> |
77 |
<li><a class="merge_auth" href="#merge"><i class="fa fa-compress"></i> Merge</a></li> |
79 |
[% UNLESS ( resul.used ) %] |
78 |
[% UNLESS ( resul.used ) %] |
80 |
<li><a onclick='return confirm_deletion("[% resul.authid | html %]")'><i class="fa fa-trash"></i> Delete</a></li> |
79 |
<li><a onclick='return confirm_deletion("[% resul.authid | html %]")'><i class="fa fa-trash"></i> Delete</a></li> |
Lines 129-132
Link Here
|
129 |
$("#marcPreview").on("hidden.bs.modal", function(){ |
128 |
$("#marcPreview").on("hidden.bs.modal", function(){ |
130 |
$("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>"); |
129 |
$("#marcPreview .modal-body").html("<div id=\"loading\"><img src=\"[% interface | html %]/[% theme | html %]/img/spinner-small.gif\" alt=\"\" /> "+_("Loading")+"</div>"); |
131 |
}); |
130 |
}); |
132 |
</script> |
131 |
</script> |
133 |
- |
|
|