|
Lines 73-79
Link Here
|
| 73 |
<th>Public enrollment</th> |
73 |
<th>Public enrollment</th> |
| 74 |
<th>Email required</th> |
74 |
<th>Email required</th> |
| 75 |
<th>Library</th> |
75 |
<th>Library</th> |
| 76 |
<th class="no-export no-sort">Actions</th> |
76 |
[% IF ( CAN_user_clubs_edit_templates || CAN_user_clubs_edit_clubs ) %] |
|
|
77 |
<th class="no-export no-sort">Actions</th> |
| 78 |
[% END %] |
| 77 |
</tr> |
79 |
</tr> |
| 78 |
</thead> |
80 |
</thead> |
| 79 |
<tbody> |
81 |
<tbody> |
|
Lines 96-107
Link Here
|
| 96 |
[% END %] |
98 |
[% END %] |
| 97 |
</td> |
99 |
</td> |
| 98 |
<td>[% Branches.GetName( t.branchcode ) | html %]</td> |
100 |
<td>[% Branches.GetName( t.branchcode ) | html %]</td> |
| 99 |
<td class="actions"> |
101 |
[% IF ( CAN_user_clubs_edit_templates || CAN_user_clubs_edit_clubs ) %] |
| 100 |
[% IF CAN_user_clubs_edit_templates %] |
102 |
<td class="actions"> |
| 101 |
<a class="btn btn-xs btn-default" style="white-space:nowrap" href="/cgi-bin/koha/clubs/templates-add-modify.pl?id=[% t.id | html %]"> <i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit </a> |
103 |
<div class="btn-group dropup"> |
| 102 |
<a class="btn btn-xs btn-default delete_template" href="#" data-id="[% t.id | html %]" data-name="[% t.name | html %]"> <i class="fa fa-trash-can"></i> Delete </a> |
104 |
<a class="btn btn-default btn-xs dropdown-toggle" id="template_actions_[% c.id | html %]" role="button" data-bs-toggle="dropdown" href="#"> Actions </a> |
| 103 |
[% END %] |
105 |
<ul class="dropdown-menu dropdown-menu-end" role="menu" aria-labelledby="template_actions_[% c.id | html %]"> |
| 104 |
</td> |
106 |
[% IF CAN_user_clubs_edit_templates %] |
|
|
107 |
<li> |
| 108 |
<a class="dropdown-item" href="/cgi-bin/koha/clubs/templates-add-modify.pl?id=[% t.id | html %]"> <i class="fa-solid fa-pencil" aria-hidden="true"></i> Edit </a> |
| 109 |
</li> |
| 110 |
<li> |
| 111 |
<a class="dropdown-item delete_template" href="#" data-id="[% t.id | html %]" data-name="[% t.name | html %]"> <i class="fa fa-trash-can"></i> Delete </a> |
| 112 |
</li> |
| 113 |
[% END %] |
| 114 |
[% IF CAN_user_clubs_edit_clubs %] |
| 115 |
<li> |
| 116 |
<a class="dropdown-item" href="/cgi-bin/koha/clubs/clubs-add-modify.pl?club_template_id=[% t.id | html %]"><i class="fa fa-plus" aria-hidden="true"></i> New club</a> |
| 117 |
</li> |
| 118 |
[% END %] |
| 119 |
</ul> |
| 120 |
</div> |
| 121 |
</td> |
| 122 |
[% END %] |
| 105 |
</tr> |
123 |
</tr> |
| 106 |
[% END %] |
124 |
[% END %] |
| 107 |
</tbody> |
125 |
</tbody> |
| 108 |
- |
|
|