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

Return to bug 15931