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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/searchresultlist-auth.tt (-7 / +6 lines)
Lines 49-63 Link Here
49
                        <td>[% PROCESS authresult summary=resul.summary %]</td>
49
                        <td>[% PROCESS authresult summary=resul.summary %]</td>
50
                        <td>[% resul.used %] times</td>
50
                        <td>[% resul.used %] times</td>
51
                        <td>
51
                        <td>
52
                          [% IF resul.summary && resul.summary.authorized && resul.summary.authorized.size > 1 %]
52
                            [% IF resul.summary && resul.summary.authorized && resul.summary.authorized.size > 1 %]
53
                            [% FOREACH authorized IN resul.summary.authorized %]
53
                                [% FOREACH authorized IN resul.summary.authorized %]
54
                            <a href="javascript:doauth('[% resul.authid %]', '[% index %]', '[% loop.count %]')" title="[% authorized.heading | html %]">[% loop.count %]</a>
54
                                    <a href="javascript:doauth('[% resul.authid %]', '[% index %]', '[% loop.count %]')" title="[% authorized.heading | html %]">[% loop.count %]</a>
55
                            [% END %]
55
                                [% END %]
56
                          [% ELSE %]
56
                          [% ELSE %]
57
                            <a href="javascript:doauth('[% resul.authid %]', '[% index %]', '')">choose</a>
57
                                <a class="btn btn-xs btn-default" href="javascript:doauth('[% resul.authid %]', '[% index %]', '')"><i class="fa fa-plus"></i> Choose</a>
58
                          [% END %]
58
                          [% END %]
59
                        </td>
59
                        </td>
60
                        <td><a href="authorities.pl?authid=[% resul.authid %]">Edit authority</a></td>
60
                        <td><a class="btn btn-xs btn-default" href="authorities.pl?authid=[% resul.authid %]"><i class="fa fa-pencil"></i> Edit authority</a></td>
61
                    </tr>
61
                    </tr>
62
                [% END %]
62
                [% END %]
63
            </table>
63
            </table>
64
- 

Return to bug 20239