From e53e6a3fd5bbe51e972896c06b35ba89b904f074 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Thu, 18 Jan 2018 17:33:00 +0000 Subject: [PATCH] Bug 20035: Switch single-column templates to Bootstrap grid: Patron clubs This patch updates two single-column Patron clubs templates to use the Bootstrap grid. - clubs/clubs-add-modify.tt - Tools -> Patron clubs -> New club. - clubs/templates-add-modify.tt - Tools -> Patron clubs -> New club template. Also changed in this file: Markup corrections. Label "for" attribute should match the form field's id attribute. Each of these pages should look correct, with a single centered column with wide margins on either side. At lower browser widths the margins should disappear. Signed-off-by: Claire Gravely Signed-off-by: Katrin Fischer --- .../prog/en/modules/clubs/clubs-add-modify.tt | 7 ++++--- .../prog/en/modules/clubs/templates-add-modify.tt | 24 +++++++++++----------- 2 files changed, 16 insertions(+), 15 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt index 3d7da8243a..170a56bd30 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/clubs-add-modify.tt @@ -25,9 +25,10 @@ [% END %] -
-
-
+
+
+
+
diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt index e90a5dc192..efb8ccecd6 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/clubs/templates-add-modify.tt @@ -28,9 +28,10 @@ [% END %]
-
-
-
+
+
+
+ @@ -52,12 +53,12 @@
  • - +
  • - + [% IF club_template.is_enrollable_from_opac %] [% ELSE %] @@ -67,7 +68,7 @@
  • - + [% IF club_template.is_email_required %] [% ELSE %] @@ -77,7 +78,7 @@
  • - + [% PROCESS options_for_authorised_value_categories authorised_value_categories => AuthorisedValues.GetCategories( selected => f.authorised_value_category) %] @@ -152,7 +153,7 @@
  • - +