Bugzilla – Attachment 169207 Details for
Bug 37029
'About Koha' button on staff side homepage seems out of place among application buttons
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 37029: Remove 'About Koha' from intranet-main
Bug-37029-Remove-About-Koha-from-intranet-main.patch (text/plain), 3.75 KB, created by
Owen Leonard
on 2024-07-19 11:52:55 UTC
(
hide
)
Description:
Bug 37029: Remove 'About Koha' from intranet-main
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2024-07-19 11:52:55 UTC
Size:
3.75 KB
patch
obsolete
>From bbab472559594cc897ba091959b01790cef84ead Mon Sep 17 00:00:00 2001 >From: PerplexedTheta <jahdobble@llownd.net> >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. > >Signed-off-by: Owen Leonard <oleonard@myacpl.org> >--- > 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 %] >+ <div id="koha_community"><a href="https://www.koha-community.org"><i class="fa-solid fa-globe"></i> Koha Community</a></div> > </div> <!-- /.col-md-12 --> > </div> <!-- /.row --> > <!-- the main div is closed in intranet-bottom.inc --> >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 @@ > <a class="icon_general icon_administration" href="/cgi-bin/koha/admin/admin-home.pl"><i class="fa fa-fw fa-gears"></i>Koha administration</a> > </li> > [% END %] >- <li> >- <a class="icon_general icon_koha" href="/cgi-bin/koha/about.pl"><img src="[% interface | html %]/[% theme | html %]/img/koha-egg.svg" alt="Koha Logo SVG"/> About Koha</a> >- </li> > </ul> > </div> <!-- /.col-sm-6 --> > >@@ -295,7 +292,7 @@ > > <div class="row"> > <div class="col-sm-12"> >- <div id="koha_version"><a href="https://koha-community.org">Koha [% Koha.Version.maintenance | html %]</a></div> >+ <div id="koha_version"><a href="/cgi-bin/koha/about.pl">Koha [% Koha.Version.maintenance | html %]</a></div> > </div> > </div> > >-- >2.39.2
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
|
Splinter Review
Attachments on
bug 37029
:
169187
|
169207
|
169303