From 896610d05617aeb5913bba5477ecaa1e0e79f535 Mon Sep 17 00:00:00 2001 From: Pasi Kallinen Date: Tue, 13 May 2014 11:37:00 +0300 Subject: [PATCH] Bug 12236: Collapse unused message transport types in notice editor When editing a notice, the input boxes take up a lot of space and are a distraction, but most of them are actually unused. By default, collapse the ones that have no title nor content, and allow opening them when clicking on the transport name. To test: 1) Apply patch 2) Go and edit a notice. The edit boxes for unused transport types should be collapsed, and clicking on the transport name should open the edit fields. 3) Saving and editing of the notice should still work. --- koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt | 12 ++++++++++-- 1 file changed, 10 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt index b6bdf88..5f8856a 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/letter.tt @@ -8,6 +8,14 @@