Bugzilla – Attachment 116103 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), 3.08 KB, created by
Katrin Fischer
on 2021-01-31 13:28:31 UTC
(
hide
)
Description:
Bug 27497: (follow-up) Suggested new placement
Filename:
MIME Type:
Creator:
Katrin Fischer
Created:
2021-01-31 13:28:31 UTC
Size:
3.08 KB
patch
obsolete
>From 0e262d32708ef4bc91b2e252a82b912d58517cc2 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. > >Signed-off-by: Wainui Witika-Park <wainuiwitikapark@catalyst.net.nz> > >Signed-off-by: Katrin Fischer <katrin.fischer.83@web.de> >--- > 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 | 3 +-- > 3 files changed, 16 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 2d082e9f93..46f0591c19 100644 >--- a/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >+++ b/koha-tmpl/intranet-tmpl/prog/css/src/staff-global.scss >@@ -1940,14 +1940,8 @@ i { > > #header_logo { > float:left; >- >- .koha_version { >- text-align: center; >- font-weight: bold; >- } > } > >- > #closewindow { > margin-top: 2em; > text-align: center; >@@ -2030,6 +2024,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..d506458e9c 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/logo.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/logo.inc >@@ -3,5 +3,4 @@ > <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