From 3b805b8b81af5faf31e0f71472cce541961fcba0 Mon Sep 17 00:00:00 2001 From: Owen Leonard Date: Tue, 14 May 2019 13:10:32 +0000 Subject: [PATCH] Bug 22906: Minor corrections to plugins home page This patch makes a few minor markup improvements to the plugins home page and corrects some CSS introduced by Bug 22053 which was having unintended consequences elsewhere. To test, apply the patch and rebuild the staff client CSS. - You should have one or more plugins installed. - Go to Administration -> Manage plugins. - The "badges" for disabled and enabled should look correct. - Go to Tools -> Staged MARC management and click on an batch. - In the information about the batch, the labels should be bold. Signed-off-by: Liz Rea Signed-off-by: Katrin Fischer Signed-off-by: Martin Renvoize (cherry picked from commit e9294c3cc20584adebb6d38451ebccce86a8f1aa) Signed-off-by: Fridolin Somers --- .../prog/css/src/staff-global.scss | 18 +++++++++++++----- .../prog/en/modules/plugins/plugins-home.tt | 14 +++++++------- 2 files changed, 20 insertions(+), 12 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss index 0ac6b70d48..333f9fda87 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -524,7 +524,7 @@ input { } label, -.label:not(.label-primary):not(.label-default) { +.label { color: #000; display: inline; font-size: inherit; @@ -3757,6 +3757,14 @@ span { font-style: italic; margin-left: .5em; } + + &[class*=" label-"] { + color: #FFF; + display: inline; + font-size: 75%; + font-weight: normal; + padding: .2em .6em .3em; + } } @@ -4455,6 +4463,10 @@ input.renew { top: 0; } +div#makechart ol li { + list-style: none; +} + @media (min-width: 200px) { } @@ -4626,10 +4638,6 @@ input.renew { } } -div#makechart ol li { - list-style: none; -} - @media only screen and ( min-width: 1200px ) { .browse-button { display: inline-block; diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt index 2c2d556388..786290bb64 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/plugins/plugins-home.tt @@ -78,12 +78,12 @@ [% FOREACH plugin IN plugins %] + [% plugin.metadata.name | html %] [% IF ( plugin.enabled ) %] ENABLED [% ELSE %] DISABLED [% END %] - [% plugin.metadata.name | html %] [% plugin.metadata.description | html %] @@ -114,27 +114,27 @@ -- 2.39.5