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 79-85 function searchauthority() { Link Here
79
      <td><a href="detail.pl?authid=[% resul.authid %]">Details</a></td>
79
      <td><a href="detail.pl?authid=[% resul.authid %]">Details</a></td>
80
  [% UNLESS ( resul.isEDITORS ) %]
80
  [% UNLESS ( resul.isEDITORS ) %]
81
      <td>
81
      <td>
82
        <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>
82
      [% IF resul.used > 0 %]
83
          <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>
84
      [% ELSE %]
85
          0 records
86
      [% END %]
83
      </td>
87
      </td>
84
  [% END %]
88
  [% END %]
85
      [% IF ( CAN_user_editauthorities ) %]
89
      [% IF ( CAN_user_editauthorities ) %]
86
- 

Return to bug 15931