@@ -, +, @@
- Preview now shows side-by-side comparisons
- JavaScript has been movied out of template into separate file
- Validation of the add/edit form improved through use of validation
plugin
- There is now better visual feedback for AJAX form checks
- Add a new notice.
- Confirm that the form can't be submitted without data in the "code"
and "name" fields.
- Confirm that the form can't be submitted without filling in at least
one message template (subject and body).
- Confirm that you cannot submit the form while using an
existing notice code.
- Follow Bug 17981's test plan for testing the preview function.
Confirm that the preview loads correctly and looks correct.
---
.../intranet-tmpl/prog/en/modules/tools/letter.tt | 264 +++------------------
.../prog/en/modules/tools/preview_letter.tt | 58 +++--
koha-tmpl/intranet-tmpl/prog/js/letter.js | 182 ++++++++++++++
3 files changed, 259 insertions(+), 245 deletions(-)
create mode 100644 koha-tmpl/intranet-tmpl/prog/js/letter.js
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt
+++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt
@@ -5,6 +5,7 @@
Koha › Tools › Notices[% IF ( add_form or copy_form ) %][% IF ( modify ) %] › Modify notice[% ELSE %] › Add notice[% END %][% END %][% IF ( add_validate or copy_validate) %] › Notice added[% END %][% IF ( delete_confirm ) %] › Confirm deletion[% END %]
[% INCLUDE 'doc-head-close.inc' %]
+
@@ -61,10 +62,10 @@
- [% IF ( search ) %]
+ [% IF ( search ) %]
You searched for [% searchfield | html %]
- [% END %]
- [% IF ( letter && !independant_branch) %]
+ [% END %]
+ [% IF ( letter && !independant_branch) %]
[% select_for_copy = BLOCK %]