|
Lines 175-192
Link Here
|
| 175 |
|
175 |
|
| 176 |
[% IF op == 'delete_confirm' %] |
176 |
[% IF op == 'delete_confirm' %] |
| 177 |
<div class="dialog alert"> |
177 |
<div class="dialog alert"> |
| 178 |
<h3>Delete framework for [% framework.frameworktext %] ([% framework.frameworkcode %])?</h3> |
|
|
| 179 |
[% IF biblios_use_this_framework %] |
178 |
[% IF biblios_use_this_framework %] |
| 180 |
<p><strong>This framework is used [% biblios_use_this_framework %] times</strong>.</p> |
179 |
<h3>This framework cannot be deleted</h3> |
|
|
180 |
<p><strong><span class="ex">[% framework.frameworktext %] ([% framework.frameworkcode %])</span></strong></p> |
| 181 |
<p>The framework is used [% biblios_use_this_framework %] times.</p> |
| 182 |
<form action="/cgi-bin/koha/admin/biblio_framework.pl" method="get"> |
| 183 |
<button type="submit"><i class="fa fa-fw fa-arrow-left"></i> Return to frameworks</button> |
| 184 |
</form> |
| 185 |
[% ELSE %] |
| 186 |
<h3>Delete framework for [% framework.frameworktext %] ([% framework.frameworkcode %])?</h3> |
| 187 |
<form class="inline" action="/cgi-bin/koha/admin/biblio_framework.pl" method="post"> |
| 188 |
<input type="hidden" name="op" value="delete_confirmed" /> |
| 189 |
<input type="hidden" name="frameworkcode" value="[% framework.frameworkcode %]" /> |
| 190 |
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete this framework</button> |
| 191 |
</form> |
| 192 |
<form class="inline" action="/cgi-bin/koha/admin/biblio_framework.pl" method="get"> |
| 193 |
<button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button> |
| 194 |
</form> |
| 181 |
[% END %] |
195 |
[% END %] |
| 182 |
<form class="inline" action="/cgi-bin/koha/admin/biblio_framework.pl" method="post"> |
|
|
| 183 |
<input type="hidden" name="op" value="delete_confirmed" /> |
| 184 |
<input type="hidden" name="frameworkcode" value="[% framework.frameworkcode %]" /> |
| 185 |
<button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete this framework</button> |
| 186 |
</form> |
| 187 |
<form class="inline" action="/cgi-bin/koha/admin/biblio_framework.pl" method="get"> |
| 188 |
<button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button> |
| 189 |
</form> |
| 190 |
</div> |
196 |
</div> |
| 191 |
[% END %] |
197 |
[% END %] |
| 192 |
|
198 |
|
| 193 |
- |
|
|