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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt (-10 / +9 lines)
Lines 13-26 Link Here
13
        [% IF ( itemtype ) %]
13
        [% IF ( itemtype ) %]
14
            [% tx("Modify item type '{item_type}'", { item_type = itemtype.itemtype }) | html %]
14
            [% tx("Modify item type '{item_type}'", { item_type = itemtype.itemtype }) | html %]
15
        [% ELSE %]
15
        [% ELSE %]
16
            [% t("Add item type") | html %]
16
            [% t("New item type") | html %]
17
        [% END %] ›
17
        [% END %] ›
18
    [% END %]
18
    [% END %]
19
    [% IF op == 'delete_confirm' %]
19
    [% IF op == 'delete_confirm' %]
20
        [% IF ( total ) %]
20
        [% IF ( total ) %]
21
            [% tx("Cannot delete item type '{item_type}'", { item_type = itemtype.itemtype }) | html %]
21
            [% tx("Cannot delete item type '{item_type}'", { item_type = itemtype.itemtype }) | html %]
22
        [% ELSE %]
22
        [% ELSE %]
23
            [% tx("Delete item type '{item_type}'?", { item_type = itemtype.itemtype }) | html %]
23
            [% tx("Confirm deletion of item type '{item_type}'?", { item_type = itemtype.itemtype }) | html %]
24
        [% END %] ›
24
        [% END %] ›
25
    [% END %]
25
    [% END %]
26
    [% IF op == 'delete_confirmed' %]
26
    [% IF op == 'delete_confirmed' %]
Lines 72-82 Link Here
72
        [% IF op == 'add_form' %]
72
        [% IF op == 'add_form' %]
73
            [% IF itemtype %]
73
            [% IF itemtype %]
74
               [% WRAPPER breadcrumb_item bc_active= 1 %]
74
               [% WRAPPER breadcrumb_item bc_active= 1 %]
75
                    <span>Modify item type '[% itemtype.itemtype | html %]'</span>
75
                    [% tx("Modify item type '{item_type}'", { item_type = itemtype.itemtype }) | html %]
76
                [% END %]
76
                [% END %]
77
            [% ELSE %]
77
            [% ELSE %]
78
               [% WRAPPER breadcrumb_item bc_active= 1 %]
78
               [% WRAPPER breadcrumb_item bc_active= 1 %]
79
                    <span>Add item type</span>
79
                    <span>New item type</span>
80
                [% END %]
80
                [% END %]
81
            [% END %]
81
            [% END %]
82
        [% END %]
82
        [% END %]
Lines 84-94 Link Here
84
        [% IF op == 'delete_confirm' %]
84
        [% IF op == 'delete_confirm' %]
85
            [% IF total %]
85
            [% IF total %]
86
               [% WRAPPER breadcrumb_item bc_active= 1 %]
86
               [% WRAPPER breadcrumb_item bc_active= 1 %]
87
                    <span>Cannot delete item type '[% itemtype.itemtype | html %]'</span>
87
                    [% tx("Cannot delete item type '{item_type}'", { item_type = itemtype.itemtype }) | html %]
88
                [% END %]
88
                [% END %]
89
            [% ELSE %]
89
            [% ELSE %]
90
               [% WRAPPER breadcrumb_item bc_active= 1 %]
90
               [% WRAPPER breadcrumb_item bc_active= 1 %]
91
                    <span>Delete item type '[% itemtype.itemtype | html %]'?</span>
91
                    [% tx("Confirm deletion of item type '{item_type}'?", { item_type = itemtype.itemtype }) | html %]
92
                [% END %]
92
                [% END %]
93
            [% END %]
93
            [% END %]
94
        [% END %]
94
        [% END %]
Lines 144-152 Link Here
144
144
145
[% IF op == 'add_form' %]
145
[% IF op == 'add_form' %]
146
    [% IF itemtype %]
146
    [% IF itemtype %]
147
        <h1>Modify item type</h1>
147
        <h1>[% tx("Modify item type '{item_type}'", { item_type = itemtype.itemtype }) | html %]</h1>
148
    [% ELSE %]
148
    [% ELSE %]
149
        <h1>Add item type</h1>
149
        <h1>New item type</h1>
150
    [% END %]
150
    [% END %]
151
    <form action="/cgi-bin/koha/admin/itemtypes.pl" name="Aform" method="post" id="itemtypeentry">
151
    <form action="/cgi-bin/koha/admin/itemtypes.pl" name="Aform" method="post" id="itemtypeentry">
152
        <input type="hidden" name="op" value="add_validate" />
152
        <input type="hidden" name="op" value="add_validate" />
Lines 354-360 Link Here
354
354
355
[% IF op == 'delete_confirm' %]
355
[% IF op == 'delete_confirm' %]
356
    <div class="dialog alert">
356
    <div class="dialog alert">
357
        <h1>Delete item type '[% itemtype.itemtype | html %]'?</h1>
357
        <h1>[% tx("Are you sure you want to delete item type '{item_type}'?", { item_type = itemtype.itemtype }) | html %]</h1>
358
        <table>
358
        <table>
359
            <tr>
359
            <tr>
360
                <th scope="row">Item type</th>
360
                <th scope="row">Item type</th>
361
- 

Return to bug 34380