From b779cbefaf02842f5855adc02fd8e5d900c5bc39 Mon Sep 17 00:00:00 2001 From: Fridolin Somers Date: Thu, 11 Feb 2021 11:33:35 +0100 Subject: [PATCH] Bug 27497: Display Koha version in staff interface home page Koha current version is very useful in staff interface. You can find it in 'About' page but home page is the first page you see. Display it in the lower right-hand side of the page, after 'IntranetmainUserblock' content. Note that it is not a vertical floating text, it whould conflict with languages floating bar. Test plan : 1) Apply patch and update staff client CSS : https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client 2) Look at staff interface home page and look at lower right-hand side of the page Signed-off-by: Owen Leonard Signed-off-by: Michael Adamyk --- koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 5 +++++ koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt | 7 +++++++ 2 files changed, 12 insertions(+) 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 84766fd401..6c28fd7fa0 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -4373,6 +4373,11 @@ div .suggestion_note { } } +#koha_version { + float: left; + margin: .5em; +} + @media (min-width: 200px) { } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt index 8c379207b3..6306b42e80 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt @@ -230,6 +230,13 @@ [% END %] + +
+
+
Version [% Koha.Version.maintenance | html %]
+
+
+ -- 2.11.0