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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/branches.tt (-10 / +9 lines)
Lines 202-219 tinyMCE.init({ Link Here
202
[% END %]
202
[% END %]
203
203
204
[% IF op == 'delete_confirm' and not ( items_count or patrons_count )%]
204
[% IF op == 'delete_confirm' and not ( items_count or patrons_count )%]
205
    <form action="/cgi-bin/koha/admin/branches.pl" method="post">
205
    <div class="dialog alert">
206
        <fieldset>
206
        <form action="/cgi-bin/koha/admin/branches.pl" method="post">
207
            <legend>Confirm deletion of [% library.branchname %] ([% library.branchcode %])?</legend>
207
            <h3>Are you sure you want to delete [% library.branchname %] ([% library.branchcode %])?</h3>
208
            <input type="hidden" name="op" value="delete_confirmed" />
208
            <input type="hidden" name="op" value="delete_confirmed" />
209
            <input type="hidden" name="branchcode" value="[% library.branchcode |html %]" />
209
            <input type="hidden" name="branchcode" value="[% library.branchcode |html %]" />
210
            <input type="hidden" name="branchname" value="[% library.branchname |html %]">
210
            <input type="hidden" name="branchname" value="[% library.branchname |html %]">
211
            <fieldset class="action">
211
            <button type="submit" class="approve"><i class="fa fa-fw fa-check"></i> Yes, delete</button>
212
                <input type="submit" value="Delete Library" />
212
        </form>
213
                <a class="cancel" href="/cgi-bin/koha/admin/branches.pl">Cancel</a>
213
        <form action="/cgi-bin/koha/admin/branches.pl" method="get">
214
            </fieldset>
214
            <button type="submit" class="deny"><i class="fa fa-fw fa-remove"></i> No, do not delete</button>
215
        </fieldset>
215
        </form>
216
    </form>
216
    </div>
217
[% END %]
217
[% END %]
218
218
219
[% IF op == 'list' %]
219
[% IF op == 'list' %]
220
- 

Return to bug 15785