View | Details | Raw Unified | Return to bug 29965
Collapse All | Expand All

(-)a/koha-tmpl/intranet-tmpl/prog/en/includes/authorities-search-results.inc (-1 / +1 lines)
Lines 64-70 Link Here
64
    [% UNLESS ( summary.summaryonly ) %]
64
    [% UNLESS ( summary.summaryonly ) %]
65
        <div class="authorizedheading">
65
        <div class="authorizedheading">
66
          [% FOREACH authorize IN summary.authorized %]
66
          [% FOREACH authorize IN summary.authorized %]
67
            <span class="authorizedheading">
67
            <span class="authorizedheading [% IF auth_preview %]authority_preview[% END %]">
68
                <a data-authid="[% authid | html %]" href="/cgi-bin/koha/authorities/detail.pl?authid=[% authid | uri %]">[% authorize.heading | html %]</a>
68
                <a data-authid="[% authid | html %]" href="/cgi-bin/koha/authorities/detail.pl?authid=[% authid | uri %]">[% authorize.heading | html %]</a>
69
            </span>
69
            </span>
70
            [% UNLESS loop.last %] | [% END %]
70
            [% UNLESS loop.last %] | [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt (-1 / +1 lines)
Lines 50-56 Link Here
50
                </tr>
50
                </tr>
51
                [% FOREACH resul IN result %]
51
                [% FOREACH resul IN result %]
52
                    <tr>
52
                    <tr>
53
                        <td>[% PROCESS authresult summary=resul.summary authid=resul.authid %]</td>
53
                        <td>[% PROCESS authresult summary=resul.summary authid=resul.authid auth_preview=1 %]</td>
54
                        <td>[% resul.summary.label | html %]</td>
54
                        <td>[% resul.summary.label | html %]</td>
55
                        <td>[% resul.used | html %] times</td>
55
                        <td>[% resul.used | html %] times</td>
56
                        <td>
56
                        <td>
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt (-1 / +1 lines)
Lines 79-85 Link Here
79
          [% UNLESS ( resul.used ) %]
79
          [% UNLESS ( resul.used ) %]
80
            <li><a onclick='return confirm_deletion("[% resul.authid | html %]")'><i class="fa fa-trash"></i> Delete</a></li>
80
            <li><a onclick='return confirm_deletion("[% resul.authid | html %]")'><i class="fa fa-trash"></i> Delete</a></li>
81
          [% END %]
81
          [% END %]
82
          <li class="authorizedheading">
82
          <li class="authority_preview">
83
            <a data-authid="[% resul.authid | html %]" href="/cgi-bin/koha/authorities/detail.pl?authid=[% resul.authid | uri %]"><i class="fa fa-eye"></i> MARC preview</a>
83
            <a data-authid="[% resul.authid | html %]" href="/cgi-bin/koha/authorities/detail.pl?authid=[% resul.authid | uri %]"><i class="fa fa-eye"></i> MARC preview</a>
84
          </li>
84
          </li>
85
        </ul>
85
        </ul>
(-)a/koha-tmpl/intranet-tmpl/prog/js/authorities-detail-modal.js (-2 / +1 lines)
Lines 1-5 Link Here
1
$(document).ready(function(){
1
$(document).ready(function(){
2
    $(".authorizedheading a").on("click", function(e){
2
    $(".authority_preview a").on("click", function(e){
3
        e.preventDefault();
3
        e.preventDefault();
4
        var authid = $(this).data("authid");
4
        var authid = $(this).data("authid");
5
5
6
- 

Return to bug 29965