Lines 40-61
Link Here
|
40 |
[% IF added %] |
40 |
[% IF added %] |
41 |
<div class="dialog message group-added"> |
41 |
<div class="dialog message group-added"> |
42 |
[% IF added.branchcode %] |
42 |
[% IF added.branchcode %] |
43 |
[% added.library.branchname | $KohaSpan class = 'name' | $raw %] added to group. |
43 |
[% added.library.branchname | html | $KohaSpan class = 'name' %] added to group. |
44 |
[% ELSE %] |
44 |
[% ELSE %] |
45 |
Group [% added.title | $KohaSpan class = 'name' | $raw %] created. |
45 |
Group [% added.title | html | $KohaSpan class = 'name' %] created. |
46 |
[% END %] |
46 |
[% END %] |
47 |
</div> |
47 |
</div> |
48 |
[% ELSIF deleted %] |
48 |
[% ELSIF deleted %] |
49 |
<div class="dialog message group-deleted"> |
49 |
<div class="dialog message group-deleted"> |
50 |
[% IF deleted.title %] |
50 |
[% IF deleted.title %] |
51 |
Group [% deleted.title | $KohaSpan class = 'name' | $raw %] has been deleted. |
51 |
Group [% deleted.title | html | $KohaSpan class = 'name' %] has been deleted. |
52 |
[% ELSE %] |
52 |
[% ELSE %] |
53 |
[% deleted.library | $KohaSpan class = 'name' | $raw %] has been removed from group. |
53 |
[% deleted.library | html | $KohaSpan class = 'name' %] has been removed from group. |
54 |
[% END %] |
54 |
[% END %] |
55 |
</div> |
55 |
</div> |
56 |
[% ELSIF error_duplicate_title %] |
56 |
[% ELSIF error_duplicate_title %] |
57 |
<div class="dialog alert error-duplicate-group-title"> |
57 |
<div class="dialog alert error-duplicate-group-title"> |
58 |
A group with the title [% error_duplicate_title | $KohaSpan class = 'name' | $raw %] already exists. |
58 |
A group with the title [% error_duplicate_title | html | $KohaSpan class = 'name' %] already exists. |
59 |
</div> |
59 |
</div> |
60 |
[% END %] |
60 |
[% END %] |
61 |
|
61 |
|
Lines 359-372
Link Here
|
359 |
} |
359 |
} |
360 |
|
360 |
|
361 |
function delete_group( id, title ) { |
361 |
function delete_group( id, title ) { |
362 |
$('#delete-group-modal-title').html(title); |
362 |
$('#delete-group-modal-title').text( title ); |
363 |
$('#delete-group-modal-id').val( id ); |
363 |
$('#delete-group-modal-id').val( id ); |
364 |
$('#delete-group-modal').modal('show'); |
364 |
$('#delete-group-modal').modal('show'); |
365 |
} |
365 |
} |
366 |
|
366 |
|
367 |
function remove_library( id, library, parent_title ) { |
367 |
function remove_library( id, library, parent_title ) { |
368 |
$('#remove-library-modal-library').html( library ); |
368 |
$('#remove-library-modal-library').text( library ); |
369 |
$('#remove-library-modal-group').html(parent_title); |
369 |
$('#remove-library-modal-group').text( parent_title ); |
370 |
$('#remove-library-modal-id').val( id ); |
370 |
$('#remove-library-modal-id').val( id ); |
371 |
$('#remove-library-modal').modal('show'); |
371 |
$('#remove-library-modal').modal('show'); |
372 |
} |
372 |
} |
373 |
- |
|
|