@@ -, +, @@ notices page - Set the TranslateNotices system preference to "Don't allow." - Go to Tools -> Notices and edit any notice. - On the "Modify notice" page you should see three collapsed sections: Email, Print, and SMS. - Clicking the section headings should expand and collapse the panels. - With one of the panels open, click Save -> Save and continue editing. - When the page reloads the same panel should be expanded. - Enable the TranslateNotices system preference. - Return to the edit interface for one of your notices. - You should now see at least two tabs: Default and English. - The sections under each tab should continue to work correctly. - Test the "Save and continue" functionality again. When redirected you should return to both the correct tab and the correct panel, e.g. the "Print" section under the "English (en)" tab. --- .../prog/en/modules/tools/letter.tt | 219 +++++++++++------- koha-tmpl/intranet-tmpl/prog/js/letter.js | 37 +-- tools/letter.pl | 4 +- 3 files changed, 158 insertions(+), 102 deletions(-) --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt +++ a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt @@ -22,7 +22,30 @@ Notices › Tools › Koha [% INCLUDE 'doc-head-close.inc' %] - +[% FILTER collapse %] + +[% END %]
@@ -416,112 +439,134 @@ [% IF Koha.Preference('TranslateNotices') %]