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>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
Signed-off-by: Martin Renvoize <martin.renvoize@ptfs-europe.com>
(cherry picked from commit 4743e4639a)
Signed-off-by: Lucas Gass <lucas@bywatersolutions.com>
This commit is contained in:
PerplexedTheta 2024-07-19 10:35:49 +01:00 committed by Lucas Gass
parent c870358e9d
commit bc109f73c4
3 changed files with 4 additions and 5 deletions

View File

@ -4622,7 +4622,8 @@ div .suggestion_note {
}
}
#koha_version {
#koha_version,
#koha_community {
float: right;
margin: .5em;
}

View File

@ -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 -->

View File

@ -170,9 +170,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 -->
@ -290,7 +287,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>