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

(-)a/Koha/AuthorisedValue.pm (-1 / +1 lines)
Lines 88-94 sub add_branch_limitation { Link Here
88
    return $limitation ? 1 : undef;
88
    return $limitation ? 1 : undef;
89
}
89
}
90
90
91
=head3 add_branch_limitation
91
=head3 del_branch_limitation
92
92
93
$av->del_branch_limitation( $branchcode );
93
$av->del_branch_limitation( $branchcode );
94
94
(-)a/koha-tmpl/intranet-tmpl/prog/en/modules/admin/authorised_values.tt (-8 / +7 lines)
Lines 27-33 Link Here
27
    $('#icons').tabs();
27
    $('#icons').tabs();
28
28
29
    $("a.delete").click(function(){
29
    $("a.delete").click(function(){
30
        return confirm(_("Are you sure you want to delete this authorised value?"));
30
        return confirm(_("Are you sure you want to delete this authorized value?"));
31
    });
31
    });
32
});
32
});
33
//]]>
33
//]]>
Lines 173-189 $(document).ready(function() { Link Here
173
    <div class="dialog [% m.type %]">
173
    <div class="dialog [% m.type %]">
174
        [% SWITCH m.code %]
174
        [% SWITCH m.code %]
175
        [% CASE 'error_on_update' %]
175
        [% CASE 'error_on_update' %]
176
            An error occurred when updating this authorised values. Perhaps the value already exists.
176
            An error occurred when updating this authorized value. Perhaps the value already exists.
177
        [% CASE 'error_on_insert' %]
177
        [% CASE 'error_on_insert' %]
178
            An error occurred when inserting this authorised values. Perhaps the value or the category already exists.
178
            An error occurred when inserting this authorized value. Perhaps the value or the category already exists.
179
        [% CASE 'error_on_delete' %]
179
        [% CASE 'error_on_delete' %]
180
            An error occurred when deleteing this authorised values. Check the logs.
180
            An error occurred when deleting this authorized value. Check the logs.
181
        [% CASE 'success_on_update' %]
181
        [% CASE 'success_on_update' %]
182
            Authorised value updated with success.
182
            Authorized value updated successfully.
183
        [% CASE 'success_on_insert' %]
183
        [% CASE 'success_on_insert' %]
184
            Authorised value inserted with success.
184
            Authorized value inserted successfully.
185
        [% CASE 'success_on_delete' %]
185
        [% CASE 'success_on_delete' %]
186
            Authorised value deleted with success.
186
            Authorized value deleted successfully.
187
        [% CASE %]
187
        [% CASE %]
188
            [% m.code %]
188
            [% m.code %]
189
        [% END %]
189
        [% END %]
190
- 

Return to bug 10363