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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/detail.tt (-3 / +5 lines)
Lines 90-98 function searchauthority() { Link Here
90
<h1>Authority #[% authid %] ([% authtypetext %])</h1>
90
<h1>Authority #[% authid %] ([% authtypetext %])</h1>
91
91
92
<div id="action">
92
<div id="action">
93
    
93
    [% IF count > 0 %]
94
    
94
        Used in <a href="/cgi-bin/koha/catalogue/search.pl?type=intranet&amp;op=do_search&amp;q=an=[% authid %]">[% count %] record(s)</a>
95
    Used in <a href="/cgi-bin/koha/catalogue/search.pl?type=intranet&amp;op=do_search&amp;q=an=[% authid %]">[% count %] record(s)</a>
95
    [% ELSE %]
96
        This authority is not used in any records.
97
    [% END %]
96
</div>
98
</div>
97
99
98
<div id="authoritiestabs" class="toptabs numbered">
100
<div id="authoritiestabs" class="toptabs numbered">
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist.tt (-2 / +5 lines)
Lines 80-86 function searchauthority() { Link Here
80
      <td><a href="detail.pl?authid=[% resul.authid %]">Details</a></td>
80
      <td><a href="detail.pl?authid=[% resul.authid %]">Details</a></td>
81
    [% UNLESS ( resul.isEDITORS ) %]
81
    [% UNLESS ( resul.isEDITORS ) %]
82
      <td>
82
      <td>
83
        <a href="../catalogue/search.pl?type=intranet&amp;op=do_search&amp;idx=an,phr&amp;q=[% resul.authid %]" class="button">[% resul.used %] records(s)</a>
83
      [% IF resul.used > 0 %]
84
          <a href="../catalogue/search.pl?type=intranet&amp;op=do_search&amp;idx=an,phr&amp;q=[% resul.authid %]" class="button">[% resul.used %] record(s)</a>
85
      [% ELSE %]
86
          0 records
87
      [% END %]
84
      </td>
88
      </td>
85
    [% END %]
89
    [% END %]
86
    [% IF ( CAN_user_editauthorities ) %]
90
    [% IF ( CAN_user_editauthorities ) %]
87
- 

Return to bug 15931