Lines 73-87
function doauth(authid, index, repet)
Link Here
|
73 |
<td>[% PROCESS authresult summary=resul.summary %]</td> |
73 |
<td>[% PROCESS authresult summary=resul.summary %]</td> |
74 |
<td>[% resul.used %] times</td> |
74 |
<td>[% resul.used %] times</td> |
75 |
<td> |
75 |
<td> |
76 |
[% IF resul.summary && resul.summary.authorized && resul.summary.authorized.size > 1 %] |
76 |
[% IF resul.summary && resul.summary.authorized && resul.summary.authorized.size > 1 %] |
77 |
[% FOREACH authorized IN resul.summary.authorized %] |
77 |
[% FOREACH authorized IN resul.summary.authorized %] |
78 |
<a href="javascript:doauth('[% resul.authid %]', '[% index %]', '[% loop.count %]')" title="[% authorized.heading | html %]">[% loop.count %]</a> |
78 |
<a href="javascript:doauth('[% resul.authid %]', '[% index %]', '[% loop.count %]')" title="[% authorized.heading | html %]">[% loop.count %]</a> |
79 |
[% END %] |
79 |
[% END %] |
80 |
[% ELSE %] |
80 |
[% ELSE %] |
81 |
<a href="javascript:doauth('[% resul.authid %]', '[% index %]', '')">choose</a> |
81 |
<a class="btn btn-xs btn-default" href="javascript:doauth('[% resul.authid %]', '[% index %]', '')"><i class="fa fa-plus"></i> Choose</a> |
82 |
[% END %] |
82 |
[% END %] |
83 |
</td> |
83 |
</td> |
84 |
<td><a href="authorities.pl?authid=[% resul.authid %]">Edit authority</a></td> |
84 |
<td><a class="btn btn-xs btn-default" href="authorities.pl?authid=[% resul.authid %]"><i class="fa fa-pencil"></i> Edit authority</a></td> |
85 |
</tr> |
85 |
</tr> |
86 |
[% END %] |
86 |
[% END %] |
87 |
</table> |
87 |
</table> |
88 |
- |
|
|