From 2fbc110455d212164688f50ca59be4012b6d2cad 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. Signed-off-by: David Nind Signed-off-by: Katrin Fischer --- .../prog/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 21dd0eeb04..2468bd1bf3 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.11.0