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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/marc_modification_templates.tt (-5 / +4 lines)
Lines 70-76 Link Here
70
                <a href="#" data-bs-toggle="modal" data-template_id="" data-bs-target="#createTemplate" id="new_template" class="btn btn-default duplicate_template"><i class="fa fa-plus"></i> New template</a>
70
                <a href="#" data-bs-toggle="modal" data-template_id="" data-bs-target="#createTemplate" id="new_template" class="btn btn-default duplicate_template"><i class="fa fa-plus"></i> New template</a>
71
                [% IF ( template_id != '' ) %]
71
                [% IF ( template_id != '' ) %]
72
                    <a href="#" class="btn btn-default new_action"><i class="fa fa-plus"></i> New action</a>
72
                    <a href="#" class="btn btn-default new_action"><i class="fa fa-plus"></i> New action</a>
73
                    <a href="#" data-toggle="modal" data-template_id="" data-target="#renameTemplate" id="rename_template" class="btn btn-default rename_template"><i class="fa-solid fa-pen"></i> Rename template</a>
73
                    <a href="#" data-bs-toggle="modal" data-template_id="" data-bs-target="#renameTemplate" id="rename_template" class="btn btn-default rename_template"><i class="fa-solid fa-pen"></i> Rename template</a>
74
                    <form action="/cgi-bin/koha/tools/marc_modification_templates.pl" method="post">
74
                    <form action="/cgi-bin/koha/tools/marc_modification_templates.pl" method="post">
75
                        [% INCLUDE 'csrf-token.inc' %]
75
                        [% INCLUDE 'csrf-token.inc' %]
76
                        <input type="hidden" name="template_id" value="[% template_id | html %]" />
76
                        <input type="hidden" name="template_id" value="[% template_id | html %]" />
Lines 379-386 Link Here
379
                <div class="modal-dialog">
379
                <div class="modal-dialog">
380
                <div class="modal-content">
380
                <div class="modal-content">
381
                <div class="modal-header">
381
                <div class="modal-header">
382
                    <button type="button" class="closebtn" data-dismiss="modal" aria-hidden="true">×</button>
382
                    <h1 class="modal-title" id="LabelrenameTemplate">Rename template</h1>
383
                    <h2 id="LabelrenameTemplate">Rename template</h2>
383
                    <button type="button" class="btn-close" data-bs-dismiss="modal" aria-hidden="true"></button>
384
                </div>
384
                </div>
385
                <form method="post" action="/cgi-bin/koha/tools/marc_modification_templates.pl" id="rename_template" class="validated">
385
                <form method="post" action="/cgi-bin/koha/tools/marc_modification_templates.pl" id="rename_template" class="validated">
386
                    [% INCLUDE 'csrf-token.inc' %]
386
                    [% INCLUDE 'csrf-token.inc' %]
Lines 398-404 Link Here
398
                    </div>
398
                    </div>
399
                    <div class="modal-footer">
399
                    <div class="modal-footer">
400
                        <button type="submit" class="btn btn-default">Submit</button>
400
                        <button type="submit" class="btn btn-default">Submit</button>
401
                        <button class="btn btn-link" data-dismiss="modal" aria-hidden="true">Cancel</button>
401
                        <button type="button" class="btn btn-default" data-bs-dismiss="modal" aria-hidden="true">Cancel</button>
402
                    </div>
402
                    </div>
403
                </form>
403
                </form>
404
                </div>
404
                </div>
405
- 

Return to bug 27182