From 8641e83bb295393ded8ca42b121b42a285407b42 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 16 Jan 2018 16:55:36 +0000 Subject: [PATCH] Bug 19983: Switch single-column templates to Bootstrap grid: Authorities This patch updates several single-column Authorities module templates to use the Bootstrap grid. - authorities-home - The home page of the Authorities module. - authorities.tt - The authority add/edit page. - blinddetail-biblio-search.tt - Not really testable -- It's the small popup window which appears during the process of linking an authority to a MARC record. - detail.tt - The authority detail page. Search for an authority record and click on the "details" link in the search results. - merge.tt - From a list of authority search results, select "Merge" from the Actions menu of two authority records. Test both the initial selection screen and the source/destination merging view. - searchresultlist.tt - The authority search results page. 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. --- .../prog/en/modules/authorities/authorities-home.tt | 10 ++++------ .../intranet-tmpl/prog/en/modules/authorities/authorities.tt | 8 +++----- .../prog/en/modules/authorities/blinddetail-biblio-search.tt | 12 ++++++------ .../intranet-tmpl/prog/en/modules/authorities/detail.tt | 9 +++------ koha-tmpl/intranet-tmpl/prog/en/modules/authorities/merge.tt | 10 +++------- .../prog/en/modules/authorities/searchresultlist.tt | 11 ++++------- 6 files changed, 23 insertions(+), 37 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities-home.tt index 9a71269..3a9867d 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities-home.tt @@ -10,17 +10,15 @@ -
-
-
-
- +
+
+
+ [% INCLUDE 'authorities-toolbar.inc' %]
-
[% MACRO jsinclude BLOCK %] diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt index cf978b1..785f854 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/authorities.tt @@ -175,11 +175,9 @@ function confirmnotdup(redirect){ -
- -
-
-
+
+
+
[% IF ( authid ) %]

Modify authority #[% authid %] [% authtypetext %]

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt index 8bd3bcd..e8b07a4 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/authorities/blinddetail-biblio-search.tt @@ -6,15 +6,15 @@ -
-
-
+
+
+
Loading
-
-
-
+
+
+ [% MACRO jsinclude BLOCK %]