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

(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/additional-fields.tt (-4 / +4 lines)
Lines 90-110 Link Here
90
        [% FOR message IN messages %]
90
        [% FOR message IN messages %]
91
            [% IF message.code == 'insert' %]
91
            [% IF message.code == 'insert' %]
92
                [% IF message.number > 0 %]
92
                [% IF message.number > 0 %]
93
                    <div class="dialog message">The field has been added</div>
93
                    <div class="dialog message">The field has been added.</div>
94
                [% ELSE %]
94
                [% ELSE %]
95
                    <div class="dialog alert">The field could not be added. Perhaps the name already exists?</div>
95
                    <div class="dialog alert">The field could not be added. Perhaps the name already exists?</div>
96
                [% END %]
96
                [% END %]
97
            [% ELSIF message.code == 'update' %]
97
            [% ELSIF message.code == 'update' %]
98
                [% IF message.number > 0 %]
98
                [% IF message.number > 0 %]
99
                    <div class="dialog message">The field has been updated</div>
99
                    <div class="dialog message">The field has been updated.</div>
100
                [% ELSE %]
100
                [% ELSE %]
101
                    <div class="dialog alert">The field could not be updated. Perhaps the name already exists?</div>
101
                    <div class="dialog alert">The field could not be updated. Perhaps the name already exists?</div>
102
                [% END %]
102
                [% END %]
103
            [% ELSIF message.code == 'delete' %]
103
            [% ELSIF message.code == 'delete' %]
104
                [% IF message.number > 0 %]
104
                [% IF message.number > 0 %]
105
                    <div class="dialog message">The field has been deleted</div>
105
                    <div class="dialog message">The field has been deleted.</div>
106
                [% ELSE %]
106
                [% ELSE %]
107
                    <div class="dialog alert">The field could not be deleted. Check the log for errors.</div>
107
                    <div class="dialog alert">The field could not be deleted. Check the logs for details.</div>
108
                [% END %]
108
                [% END %]
109
            [% END %]
109
            [% END %]
110
        [% END %]
110
        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/cash_registers.tt (-1 / +1 lines)
Lines 78-84 Link Here
78
                    [% CASE 'success_on_update' %]
78
                    [% CASE 'success_on_update' %]
79
                        <span>Cash register updated successfully.</span>
79
                        <span>Cash register updated successfully.</span>
80
                    [% CASE 'error_on_update' %]
80
                    [% CASE 'error_on_update' %]
81
                        <span>An error occurred when updating this cash register.</span>
81
                        <span>An error occurred when updating this cash register. Check the logs for details.</span>
82
                    [% CASE 'success_on_default' %]
82
                    [% CASE 'success_on_default' %]
83
                        <span>Library default updated successfully.</span>
83
                        <span>Library default updated successfully.</span>
84
                    [% CASE 'error_on_update' %]
84
                    [% CASE 'error_on_update' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/classsources.tt (-3 / +3 lines)
Lines 99-105 Link Here
99
    <div class="dialog [% m.type | html %]">
99
    <div class="dialog [% m.type | html %]">
100
        [% SWITCH m.code %]
100
        [% SWITCH m.code %]
101
        [% CASE 'error_on_update_source' %]
101
        [% CASE 'error_on_update_source' %]
102
            <span>An error occurred when updating this classification source.</span>
102
            <span>An error occurred when updating this classification source. Check the logs for details.</span>
103
        [% CASE 'success_on_update_source' %]
103
        [% CASE 'success_on_update_source' %]
104
            <span>Classification source updated successfully.</span>
104
            <span>Classification source updated successfully.</span>
105
        [% CASE 'error_on_insert_source' %]
105
        [% CASE 'error_on_insert_source' %]
Lines 111-117 Link Here
111
        [% CASE 'success_on_delete_source' %]
111
        [% CASE 'success_on_delete_source' %]
112
            <span>Classification source deleted successfully.</span>
112
            <span>Classification source deleted successfully.</span>
113
        [% CASE 'error_on_update_sort_rule' %]
113
        [% CASE 'error_on_update_sort_rule' %]
114
            <span>An error occurred when updating this filing rule.</span>
114
            <span>An error occurred when updating this filing rule. Check the logs for details.</span>
115
        [% CASE 'success_on_update_sort_rule' %]
115
        [% CASE 'success_on_update_sort_rule' %]
116
            <span>Filing rule updated successfully.</span>
116
            <span>Filing rule updated successfully.</span>
117
        [% CASE 'error_on_insert_sort_rule' %]
117
        [% CASE 'error_on_insert_sort_rule' %]
Lines 123-129 Link Here
123
        [% CASE 'success_on_delete_sort_rule' %]
123
        [% CASE 'success_on_delete_sort_rule' %]
124
            <span>Filing rule deleted successfully.</span>
124
            <span>Filing rule deleted successfully.</span>
125
        [% CASE 'error_on_update_split_rule' %]
125
        [% CASE 'error_on_update_split_rule' %]
126
            <span>An error occurred when updating this splitting rule.</span>
126
            <span>An error occurred when updating this splitting rule. Check the logs for details.</span>
127
        [% CASE 'success_on_update_split_rule' %]
127
        [% CASE 'success_on_update_split_rule' %]
128
            <span>Splitting rule updated successfully.</span>
128
            <span>Splitting rule updated successfully.</span>
129
        [% CASE 'error_on_insert_split_rule' %]
129
        [% CASE 'error_on_insert_split_rule' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/credit_types.tt (-4 / +4 lines)
Lines 62-74 Link Here
62
                <div class="dialog [% m.type | html %]">
62
                <div class="dialog [% m.type | html %]">
63
                    [% SWITCH m.code %]
63
                    [% SWITCH m.code %]
64
                    [% CASE 'success_on_saving' %]
64
                    [% CASE 'success_on_saving' %]
65
                        <span>Credit type saved successfully</span>
65
                        <span>Credit type saved successfully.</span>
66
                    [% CASE 'error_on_saving' %]
66
                    [% CASE 'error_on_saving' %]
67
                        <span>An error occurred when saving this credit type</span>
67
                        <span>An error occurred when saving this credit type.</span>
68
                    [% CASE 'success_on_archive' %]
68
                    [% CASE 'success_on_archive' %]
69
                        <span>Credit type archived successfully</span>
69
                        <span>Credit type archived successfully.</span>
70
                    [% CASE 'success_on_restore' %]
70
                    [% CASE 'success_on_restore' %]
71
                        <span>Credit type restored successfully</span>
71
                        <span>Credit type restored successfully.</span>
72
                    [% CASE %]
72
                    [% CASE %]
73
                        <span>[% m.code | html %]</span>
73
                        <span>[% m.code | html %]</span>
74
                    [% END %]
74
                    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/currency.tt (-5 / +5 lines)
Lines 79-95 Link Here
79
    <div class="dialog [% m.type | html %]">
79
    <div class="dialog [% m.type | html %]">
80
        [% SWITCH m.code %]
80
        [% SWITCH m.code %]
81
        [% CASE 'error_on_update' %]
81
        [% CASE 'error_on_update' %]
82
            <span>An error occurred when updating this currency. Perhaps it already exists</span>
82
            <span>An error occurred when updating this currency. Perhaps it already exists.</span>
83
        [% CASE 'error_on_insert' %]
83
        [% CASE 'error_on_insert' %]
84
            <span>An error occurred when adding this currency. The currency code might already exist</span>
84
            <span>An error occurred when adding this currency. The currency code might already exist.</span>
85
        [% CASE 'error_on_delete' %]
85
        [% CASE 'error_on_delete' %]
86
            <span>An error occurred when deleting this currency. Check the logs for details.</span>
86
            <span>An error occurred when deleting this currency. Check the logs for details.</span>
87
        [% CASE 'success_on_update' %]
87
        [% CASE 'success_on_update' %]
88
            <span>Currency updated successfully</span>
88
            <span>Currency updated successfully.</span>
89
        [% CASE 'success_on_insert' %]
89
        [% CASE 'success_on_insert' %]
90
            <span>Currency added successfully</span>
90
            <span>Currency added successfully.</span>
91
        [% CASE 'success_on_delete' %]
91
        [% CASE 'success_on_delete' %]
92
            <span>Currency deleted successfully</span>
92
            <span>Currency deleted successfully.</span>
93
        [% CASE %]
93
        [% CASE %]
94
            <span>[% m.code | html %]</span>
94
            <span>[% m.code | html %]</span>
95
        [% END %]
95
        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/debit_types.tt (-4 / +4 lines)
Lines 61-73 Link Here
61
                <div class="dialog [% m.type | html %]">
61
                <div class="dialog [% m.type | html %]">
62
                    [% SWITCH m.code %]
62
                    [% SWITCH m.code %]
63
                    [% CASE 'success_on_saving' %]
63
                    [% CASE 'success_on_saving' %]
64
                        <span>Debit type saved successfully</span>
64
                        <span>Debit type saved successfully.</span>
65
                    [% CASE 'error_on_saving' %]
65
                    [% CASE 'error_on_saving' %]
66
                        <span>An error occurred when saving this debit type</span>
66
                        <span>An error occurred when saving this debit type. Check the logs for details.</span>
67
                    [% CASE 'success_on_archive' %]
67
                    [% CASE 'success_on_archive' %]
68
                        <span>Debit type archived successfully</span>
68
                        <span>Debit type archived successfully.</span>
69
                    [% CASE 'success_on_restore' %]
69
                    [% CASE 'success_on_restore' %]
70
                        <span>Debit type restored successfully</span>
70
                        <span>Debit type restored successfully.</span>
71
                    [% CASE %]
71
                    [% CASE %]
72
                        <span>[% m.code | html %]</span>
72
                        <span>[% m.code | html %]</span>
73
                    [% END %]
73
                    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/desks.tt (-6 / +6 lines)
Lines 71-89 Link Here
71
    <div class="dialog [% m.type | html %]">
71
    <div class="dialog [% m.type | html %]">
72
        [% SWITCH m.code %]
72
        [% SWITCH m.code %]
73
        [% CASE 'error_on_update' %]
73
        [% CASE 'error_on_update' %]
74
            <span>An error occurred when updating this desk. Perhaps it already exists</span>
74
            <span>An error occurred when updating this desk. Perhaps it already exists.</span>
75
        [% CASE 'error_on_insert' %]
75
        [% CASE 'error_on_insert' %]
76
            <span>An error occurred when adding this desk. The desk ID might already exist</span>
76
            <span>An error occurred when adding this desk. The desk ID might already exist.</span>
77
        [% CASE 'error_on_delete' %]
77
        [% CASE 'error_on_delete' %]
78
            <span>An error occurred when deleting this desk. Check the logs for details.</span>
78
            <span>An error occurred when deleting this desk. Check the logs for details.</span>
79
        [% CASE 'success_on_update' %]
79
        [% CASE 'success_on_update' %]
80
            <span>Desk updated successfully</span>
80
            <span>Desk updated successfully.</span>
81
        [% CASE 'success_on_insert' %]
81
        [% CASE 'success_on_insert' %]
82
            <span>Desk added successfully</span>
82
            <span>Desk added successfully.</span>
83
        [% CASE 'success_on_delete' %]
83
        [% CASE 'success_on_delete' %]
84
            <span>Desk deleted successfully</span>
84
            <span>Desk deleted successfully.</span>
85
        [% CASE 'already_exists' %]
85
        [% CASE 'already_exists' %]
86
            <span>This desk already exists</span>
86
            <span>This desk already exists.</span>
87
        [% CASE %]
87
        [% CASE %]
88
            <span>[% m.code | html %]</span>
88
            <span>[% m.code | html %]</span>
89
        [% END %]
89
        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_provider_domains.tt (-1 / +1 lines)
Lines 68-74 Link Here
68
        [% CASE 'error_on_update' %]
68
        [% CASE 'error_on_update' %]
69
            <span>An error occurred trying to open the identity provider domain for editing. The passed ID is invalid.</span>
69
            <span>An error occurred trying to open the identity provider domain for editing. The passed ID is invalid.</span>
70
        [% CASE 'error_on_insert' %]
70
        [% CASE 'error_on_insert' %]
71
            <span>An error occurred when adding a new identity provider domain.</span>
71
            <span>An error occurred when adding a new identity provider domain. Check the logs for details.</span>
72
        [% CASE 'success_on_update' %]
72
        [% CASE 'success_on_update' %]
73
            <span>Identity provider domain updated successfully.</span>
73
            <span>Identity provider domain updated successfully.</span>
74
        [% CASE 'success_on_insert' %]
74
        [% CASE 'success_on_insert' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/identity_providers.tt (-1 / +1 lines)
Lines 63-69 Link Here
63
        [% CASE 'error_on_update' %]
63
        [% CASE 'error_on_update' %]
64
            <span>An error occurred trying to open the identity provider for editing. The passed ID is invalid.</span>
64
            <span>An error occurred trying to open the identity provider for editing. The passed ID is invalid.</span>
65
        [% CASE 'error_on_insert' %]
65
        [% CASE 'error_on_insert' %]
66
            <span>An error occurred when adding a new identity provider.</span>
66
            <span>An error occurred when adding a new identity provider. Check the logs for details.</span>
67
        [% CASE 'success_on_update' %]
67
        [% CASE 'success_on_update' %]
68
            <span>Identity provider updated successfully.</span>
68
            <span>Identity provider updated successfully.</span>
69
        [% CASE 'success_on_insert' %]
69
        [% CASE 'success_on_insert' %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/ill_batch_statuses.tt (-4 / +4 lines)
Lines 53-65 Link Here
53
                <div class="dialog [% m.type | html %]">
53
                <div class="dialog [% m.type | html %]">
54
                    [% SWITCH m.code %]
54
                    [% SWITCH m.code %]
55
                    [% CASE 'success_on_saving' %]
55
                    [% CASE 'success_on_saving' %]
56
                        <span>Batch status saved successfully</span>
56
                        <span>Batch status saved successfully.</span>
57
                    [% CASE 'success_on_delete' %]
57
                    [% CASE 'success_on_delete' %]
58
                        <span>Batch status deleted successfully</span>
58
                        <span>Batch status deleted successfully.</span>
59
                    [% CASE 'error_on_saving' %]
59
                    [% CASE 'error_on_saving' %]
60
                        <span>An error occurred when saving this batch status</span>
60
                        <span>An error occurred when saving this batch status. Check the logs for details.</span>
61
                    [% CASE 'error_on_delete' %]
61
                    [% CASE 'error_on_delete' %]
62
                        <span>An error occurred when deleting this batch status</span>
62
                        <span>An error occurred when deleting this batch status.</span>
63
                    [% CASE %]
63
                    [% CASE %]
64
                        <span>[% m.code | html %]</span>
64
                        <span>[% m.code | html %]</span>
65
                    [% END %]
65
                    [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/itemtypes.tt (-6 / +6 lines)
Lines 120-138 Link Here
120
    <div class="dialog [% m.type | html %]">
120
    <div class="dialog [% m.type | html %]">
121
        [% SWITCH m.code %]
121
        [% SWITCH m.code %]
122
        [% CASE 'error_on_update' %]
122
        [% CASE 'error_on_update' %]
123
            <span>An error occurred when updating this item type. Perhaps the value already exists</span>
123
            <span>An error occurred when updating this item type. Perhaps the value already exists.</span>
124
        [% CASE 'error_on_insert' %]
124
        [% CASE 'error_on_insert' %]
125
            <span>An error occurred when inserting this item type. Perhaps the value already exists</span>
125
            <span>An error occurred when inserting this item type. Perhaps the value already exists.</span>
126
        [% CASE 'error_on_delete' %]
126
        [% CASE 'error_on_delete' %]
127
            <span>An error occurred when deleting this item type. Check the logs for details.</span>
127
            <span>An error occurred when deleting this item type. Check the logs for details.</span>
128
        [% CASE 'success_on_update' %]
128
        [% CASE 'success_on_update' %]
129
            <span>Item type updated successfully</span>
129
            <span>Item type updated successfully.</span>
130
        [% CASE 'success_on_insert' %]
130
        [% CASE 'success_on_insert' %]
131
            <span>Item type inserted successfully</span>
131
            <span>Item type inserted successfully.</span>
132
        [% CASE 'success_on_delete' %]
132
        [% CASE 'success_on_delete' %]
133
            <span>Item type deleted successfully</span>
133
            <span>Item type deleted successfully.</span>
134
        [% CASE 'already_exists' %]
134
        [% CASE 'already_exists' %]
135
            <span>This item type already exists</span>
135
            <span>This item type already exists.</span>
136
        [% CASE 'cannot_be_deleted' %]
136
        [% CASE 'cannot_be_deleted' %]
137
            <span>Cannot delete this item type. <p><strong>This record is in use</strong>. Deletion is not possible.</p></span>
137
            <span>Cannot delete this item type. <p><strong>This record is in use</strong>. Deletion is not possible.</p></span>
138
        [% CASE %]
138
        [% CASE %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/restrictions.tt (-7 / +7 lines)
Lines 72-90 Link Here
72
    <div class="dialog message [% m.code | html %]">
72
    <div class="dialog message [% m.code | html %]">
73
        [% SWITCH m.code %]
73
        [% SWITCH m.code %]
74
        [% CASE 'add_success' %]
74
        [% CASE 'add_success' %]
75
            Restriction type added
75
            Restriction type added.
76
        [% CASE 'update_success' %]
76
        [% CASE 'update_success' %]
77
            Restriction type updated
77
            Restriction type updated.
78
        [% CASE 'duplicate_display_text' %]
78
        [% CASE 'duplicate_display_text' %]
79
            Another restriction type already has this label
79
            Another restriction type already has this label.
80
        [% CASE 'duplicate_code' %]
80
        [% CASE 'duplicate_code' %]
81
            Another restriction type already has this code
81
            Another restriction type already has this code.
82
        [% CASE 'delete_success' %]
82
        [% CASE 'delete_success' %]
83
            Restriction type deleted
83
            Restriction type deleted.
84
        [% CASE 'delete_default' %]
84
        [% CASE 'delete_default' %]
85
            Cannot delete the default restriction type
85
            Cannot delete the default restriction type.
86
        [% CASE 'delete_system' %]
86
        [% CASE 'delete_system' %]
87
            Cannot delete a system restriction type
87
            Cannot delete a system restriction type.
88
        [% CASE %]
88
        [% CASE %]
89
            [% m.code | html %]
89
            [% m.code | html %]
90
        [% END %]
90
        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/usage_statistics.tt (-6 / +6 lines)
Lines 40-58 Link Here
40
    <div class="dialog [% m.type | html %]">
40
    <div class="dialog [% m.type | html %]">
41
        [% SWITCH m.code %]
41
        [% SWITCH m.code %]
42
        [% CASE 'error_on_update' %]
42
        [% CASE 'error_on_update' %]
43
            <span>An error occurred when updating this patron category. Perhaps it already exists</span>
43
            <span>An error occurred when updating this patron category. Perhaps it already exists.</span>
44
        [% CASE 'error_on_insert' %]
44
        [% CASE 'error_on_insert' %]
45
            <span>An error occurred when inserting this patron category. The patron category might already exist</span>
45
            <span>An error occurred when inserting this patron category. The patron category might already exist.</span>
46
        [% CASE 'error_on_delete' %]
46
        [% CASE 'error_on_delete' %]
47
            <span>An error occurred when deleting this patron category. Check the logs for details.</span>
47
            <span>An error occurred when deleting this patron category. Check the logs for details.</span>
48
        [% CASE 'success_on_update' %]
48
        [% CASE 'success_on_update' %]
49
            <span>Patron category updated successfully</span>
49
            <span>Patron category updated successfully.</span>
50
        [% CASE 'success_on_insert' %]
50
        [% CASE 'success_on_insert' %]
51
            <span>Patron category inserted successfully</span>
51
            <span>Patron category inserted successfully.</span>
52
        [% CASE 'success_on_delete' %]
52
        [% CASE 'success_on_delete' %]
53
            <span>Patron category deleted successfully</span>
53
            <span>Patron category deleted successfully.</span>
54
        [% CASE 'already_exists' %]
54
        [% CASE 'already_exists' %]
55
            <span>This patron category already exists</span>
55
            <span>This patron category already exists.</span>
56
        [% CASE %]
56
        [% CASE %]
57
            <span>[% m.code | html %]</span>
57
            <span>[% m.code | html %]</span>
58
        [% END %]
58
        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt (-4 / +4 lines)
Lines 127-143 Link Here
127
        <div class="dialog [% m.type | html %]">
127
        <div class="dialog [% m.type | html %]">
128
            [% SWITCH m.code %]
128
            [% SWITCH m.code %]
129
            [% CASE 'error_on_update' %]
129
            [% CASE 'error_on_update' %]
130
                <span>An error occurred when updating this content. Perhaps it already exists</span>
130
                <span>An error occurred when updating this content. Perhaps it already exists.</span>
131
            [% CASE 'error_on_insert' %]
131
            [% CASE 'error_on_insert' %]
132
                <span>An error occurred when adding this content. Check the logs for details.</span>
132
                <span>An error occurred when adding this content. Check the logs for details.</span>
133
            [% CASE 'error_on_delete' %]
133
            [% CASE 'error_on_delete' %]
134
                <span>An error occurred when deleting this content. Check the logs for details.</span>
134
                <span>An error occurred when deleting this content. Check the logs for details.</span>
135
            [% CASE 'success_on_update' %]
135
            [% CASE 'success_on_update' %]
136
                <span>Content updated successfully</span>
136
                <span>Content updated successfully.</span>
137
            [% CASE 'success_on_insert' %]
137
            [% CASE 'success_on_insert' %]
138
                <span>Content added successfully</span>
138
                <span>Content added successfully.</span>
139
            [% CASE 'success_on_delete' %]
139
            [% CASE 'success_on_delete' %]
140
                <span>Content deleted successfully</span>
140
                <span>Content deleted successfully.</span>
141
            [% CASE %]
141
            [% CASE %]
142
                <span>[% m.code | html %]</span>
142
                <span>[% m.code | html %]</span>
143
            [% END %]
143
            [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/csv-profiles.tt (-6 / +6 lines)
Lines 66-84 Link Here
66
    <div class="dialog [% m.type | html %]">
66
    <div class="dialog [% m.type | html %]">
67
        [% SWITCH m.code %]
67
        [% SWITCH m.code %]
68
        [% CASE 'error_on_update' %]
68
        [% CASE 'error_on_update' %]
69
            <span>An error occurred when updating this CSV profile. Perhaps it already exists</span>
69
            <span>An error occurred when updating this CSV profile. Perhaps it already exists.</span>
70
        [% CASE 'error_on_insert' %]
70
        [% CASE 'error_on_insert' %]
71
            <span>An error occurred when adding this CSV profile</span>
71
            <span>An error occurred when adding this CSV profile.</span>
72
        [% CASE 'error_on_delete' %]
72
        [% CASE 'error_on_delete' %]
73
            <span>An error occurred when deleting this CSV profile. Check the logs for details.</span>
73
            <span>An error occurred when deleting this CSV profile. Check the logs for details.</span>
74
        [% CASE 'success_on_update' %]
74
        [% CASE 'success_on_update' %]
75
            <span>CSV profile updated successfully</span>
75
            <span>CSV profile updated successfully.</span>
76
        [% CASE 'success_on_insert' %]
76
        [% CASE 'success_on_insert' %]
77
            <span>CSV profile added successfully</span>
77
            <span>CSV profile added successfully.</span>
78
        [% CASE 'success_on_delete' %]
78
        [% CASE 'success_on_delete' %]
79
            <span>CSV profile deleted successfully</span>
79
            <span>CSV profile deleted successfully.</span>
80
        [% CASE 'already_exists' %]
80
        [% CASE 'already_exists' %]
81
            <span>This CSV profile already exists</span>
81
            <span>This CSV profile already exists.</span>
82
        [% CASE %]
82
        [% CASE %]
83
            <span>[% m.code | html %]</span>
83
            <span>[% m.code | html %]</span>
84
        [% END %]
84
        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/quotes.tt (-4 / +4 lines)
Lines 56-68 Link Here
56
    <div class="dialog [% m.type | html %]" id="quote_action_result_dialog">
56
    <div class="dialog [% m.type | html %]" id="quote_action_result_dialog">
57
        [% SWITCH m.code %]
57
        [% SWITCH m.code %]
58
        [% CASE 'error_on_update' %]
58
        [% CASE 'error_on_update' %]
59
            <span>An error occurred when updating this quote. Perhaps it already exists</span>
59
            <span>An error occurred when updating this quote. Perhaps it already exists.</span>
60
        [% CASE 'error_on_insert' %]
60
        [% CASE 'error_on_insert' %]
61
            <span>An error occurred when adding this quote</span>
61
            <span>An error occurred when adding this quote. Check the logs for details.</span>
62
        [% CASE 'success_on_update' %]
62
        [% CASE 'success_on_update' %]
63
            <span>Quote updated successfully</span>
63
            <span>Quote updated successfully.</span>
64
        [% CASE 'success_on_insert' %]
64
        [% CASE 'success_on_insert' %]
65
            <span>Quote added successfully</span>
65
            <span>Quote added successfully.</span>
66
        [% CASE %]
66
        [% CASE %]
67
            <span>[% m.code | html %]</span>
67
            <span>[% m.code | html %]</span>
68
        [% END %]
68
        [% END %]
(-)a/koha-tmpl/intranet-tmpl/prog/js/holds.js (-2 / +1 lines)
Lines 433-439 $(document).ready(function() { Link Here
433
            holdsTable.api().ajax.reload();
433
            holdsTable.api().ajax.reload();
434
        }).error(function (jqXHR, textStatus, errorThrown) {
434
        }).error(function (jqXHR, textStatus, errorThrown) {
435
            if (jqXHR.status === 404) {
435
            if (jqXHR.status === 404) {
436
                alert(__("Unable to suspend, hold not found"));
436
                alert(__("Unable to suspend, hold not found."));
437
            }
437
            }
438
            else {
438
            else {
439
                alert(__("Your request could not be processed. Check the logs for details."));
439
                alert(__("Your request could not be processed. Check the logs for details."));
440
- 

Return to bug 35650