From 6d9516922bb57fd2ac1853c302901d2d275e6baa Mon Sep 17 00:00:00 2001 From: PerplexedTheta Date: Fri, 19 Jul 2024 10:35:49 +0100 Subject: [PATCH] Bug 37029: Remove 'About Koha' from intranet-main This patch removes the 'About Koha' link as a module button, and instead uses the 'Koha xx.xx.xx' version URL on the mainpage as a shortcut to the 'About Koha' page. Additionally, a link to the Koha Community website has been added to the bottom of the 'About Koha' page, in the same place the 'Koha xx.xx.xx' version URL appears on the mainpage. To test: a) Log in to Koha's staff client b) Notice the 'About Koha' module button, and that the 'Koha xx.xx.xx' version URL goes to the Koha Community website. c) Notice that on the 'About Koha' page, there is no link to the Koha Community website. d) --> Apply patch <-- e) Notice that the About Koha module button is now missing f) Notice that the 'Koha xx.xx.xx' version URL now goes to 'About Koha' g) Notice that on the 'About Koha' page, there is now a link for the Koha Community website at the bottom of the page. --- koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 3 ++- koha-tmpl/intranet-tmpl/prog/en/modules/about.tt | 1 + koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt | 5 +---- 3 files changed, 4 insertions(+), 5 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 43115f8ce8..15d4f21ee1 100644 --- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss +++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss @@ -4617,7 +4617,8 @@ div .suggestion_note { } } -#koha_version { +#koha_version, +#koha_community { float: right; margin: .5em; } diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt index cb5b62ce97..b2865a27ff 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/about.tt @@ -56,6 +56,7 @@ [% END %] [% END %] [% END # /WRAPPER abouttabs %] +
Koha Community
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 ac7d8ba8df..08eb886737 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt @@ -171,9 +171,6 @@ Koha administration [% END %] -
  • - Koha Logo SVG About Koha -
  • @@ -295,7 +292,7 @@
    -- 2.39.3 (Apple Git-146)