From 8016eb3b62e059e6647b07348ef6347a99112834 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Mon, 8 Apr 2019 18:34:56 +0000 Subject: [PATCH] Bug 15326: (follow-up) Corrections to staff client templates This patch makes some corrections to the staff client's CMS-related templates: - Add missing Template Toolkit filters. - Remove JavaScript from tools-menu.inc. This must have crept in during a rebase. - Add navigation link highlighting to tools-menu.js instead. - Convert tools/cmspages.tt to Bootstrap grid. - Correct toolbar button class. - Move some column sorting configuration out of JS and into table markup. - Move "Select all" / "Clear all" links to the top of the table to match similar interfaces. - Change the Action menu's "Intranet" and "OPAC" links to be "View" and "View in OPAC." The OPAC view now opens a new window. To test, apply the patches and test the Pages feature in the staff client: Adding, editing, deleting, viewing. For each view, test that the page layout adjusts to various browser widths. --- .../prog/en/includes/cms-pages-nav.inc | 6 +- .../intranet-tmpl/prog/en/includes/tools-menu.inc | 19 - .../prog/en/modules/tools/cmspages.tt | 613 +++++++++++---------- koha-tmpl/intranet-tmpl/prog/js/tools-menu.js | 2 + 4 files changed, 314 insertions(+), 326 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/cms-pages-nav.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/cms-pages-nav.inc index 0abbfcb..c4787fd 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/includes/cms-pages-nav.inc +++ b/koha-tmpl/intranet-tmpl/prog/en/includes/cms-pages-nav.inc @@ -2,13 +2,13 @@