Bugzilla – Attachment 115834 Details for
Bug 27497
Display Koha version in staff interface home page
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 27497: (follow-up) Suggested new placement
Bug-27497-follow-up-Suggested-new-placement.patch (text/plain), 2.96 KB, created by
Owen Leonard
on 2021-01-26 17:29:51 UTC
(
hide
)
Description:
Bug 27497: (follow-up) Suggested new placement
Filename:
MIME Type:
Creator:
Owen Leonard
Created:
2021-01-26 17:29:51 UTC
Size:
2.96 KB
patch
obsolete
>From d092761b894af9c9491623cf4b946b625addf7cc Mon Sep 17 00:00:00 2001 >From: Owen Leonard <oleonard@myacpl.org> >Date: Tue, 26 Jan 2021 17:24:26 +0000 >Subject: [PATCH] Bug 27497: (follow-up) Suggested new placement > >This patch modifies include files and SCSS to move the version >information into the "About Koha" menu item in the header menu. > >To test, apply the patch and rebuild the staff interface CSS >(https://wiki.koha-community.org/wiki/Working_with_SCSS_in_the_OPAC_and_staff_client). > >In the staff client, click the "More" menu in the header. You should see >version information next to the "About Koha" menu item. >--- > koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss | 18 ++++++++++++------ > koha-tmpl/intranet-tmpl/prog/en/includes/header.inc | 4 +++- > koha-tmpl/intranet-tmpl/prog/en/includes/logo.inc | 4 ++-- > 3 files changed, 17 insertions(+), 9 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 0f33a70486..d39e22eec3 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >@@ -1921,14 +1921,8 @@ i { > > #header_logo { > float:left; >- >- .koha_version { >- text-align: center; >- font-weight: bold; >- } > } > >- > #closewindow { > margin-top: 2em; > text-align: center; >@@ -2011,6 +2005,18 @@ li { > } > } > >+.koha_version { >+ background-color: #FFF; >+ border: 1px solid #EEE; >+ border-radius: 3px; >+ color: #666; >+ display: inline-block; >+ font-size: 85%; >+ margin: 0 .5em; >+ padding: 1px 4px; >+ text-shadow: none; >+} >+ > #searchresults { > ul { > li { >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc >index 12deaa80ee..c2d2eb1091 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/header.inc >@@ -64,7 +64,9 @@ > [% IF ( CAN_user_parameters ) %] > <li><a href="/cgi-bin/koha/admin/admin-home.pl">Administration</a></li> > [% END %] >- <li><a href="/cgi-bin/koha/about.pl">About Koha</a></li> >+ <li> >+ <a href="/cgi-bin/koha/about.pl">About Koha <span class="koha_version">[% Koha.Version.maintenance | html %]</span></a> >+ </li> > </ul> > </li> > </ul> >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/logo.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/logo.inc >index 7f0954ceee..30f09f95e0 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/logo.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/logo.inc >@@ -3,5 +3,5 @@ > <h1 id="logo"> > <a href="/cgi-bin/koha/mainpage.pl">[% LibraryName | html %]</a> > </h1> >- <div class="koha_version">[% Koha.Version.maintenance | html %]</div> >-</div> >\ No newline at end of file >+</div> >+ >-- >2.11.0
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 27497
:
115443
|
115444
|
115445
|
115834
|
115998
|
115999
|
116103
|
116172
|
116703
|
116704
|
116706
|
116781
|
116782
|
118564
|
118956
|
119005
|
119006
|
119821
|
119822
|
119823