From 3b648d152135e548e8e164274f26e0dc6b0e6f9e Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 16 Sep 2021 15:28:14 +0000 Subject: [PATCH] Bug 29042: Improve formatting of entry form in Additional Contents This patch makes some corrections to the Additional Contents template so that the content entry form can be styled like other similar forms in the staff interface. The patch also updates the form's "title" field so that it is longer and has a maxlength attribute matching the size of the table column. To test, apply the patch and go to Tools -> News. - Create a new news item. - In the entry form, confirm that the "Title" and "Content" fields are styled consistently with other similar forms. - Confirm that the "title" field is longer. --- .../en/modules/tools/additional-contents.tt | 35 +++++++++---------- 1 file changed, 16 insertions(+), 19 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt index c693a68b2e..c48da8913c 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt @@ -194,7 +194,7 @@ [% UNLESS languages.size %]
  • - Required + Required
  • [% END %]
  • @@ -237,29 +237,26 @@ [% FOR language IN languages %] -
    -
    - -
    [%# FIXME We should remove list-style:none; and use class="rows" here but it does not work. Owen please help! %] -
      -
    1. - - -
    2. -
    3. - - - -
    4. -
    -
    -
    +
    +
    +
      +
    1. + + +
    2. +
    3. + + + +
    4. +
    +
    [% END %]
    [% ELSE %]
    -
    +
    -- 2.20.1