From 27ead7a75732d11a3af486c19d8ae8443826c124 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 Signed-off-by: Jonathan Druart --- .../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 17955a08f8..2f74dfbcfc 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 @@ -205,7 +205,7 @@ [% UNLESS languages.size %]
  • - Required + Required
  • [% END %]
  • @@ -248,29 +248,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.39.5