Bugzilla – Attachment 131648 Details for
Bug 30288
Provide links to OPACUserJS and OPACUserCSS from News/HTML customizations
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 30288: Provide links to OPACUserJS and OPACUserCSS in tools
Bug-30288-Provide-links-to-OPACUserJS-and-OPACUser.patch (text/plain), 1.72 KB, created by
Aleisha Amohia
on 2022-03-14 04:21:29 UTC
(
hide
)
Description:
Bug 30288: Provide links to OPACUserJS and OPACUserCSS in tools
Filename:
MIME Type:
Creator:
Aleisha Amohia
Created:
2022-03-14 04:21:29 UTC
Size:
1.72 KB
patch
obsolete
>From fa2061e60ad22e8d8df1538d32f4908009f2a3c4 Mon Sep 17 00:00:00 2001 >From: Aleisha Amohia <aleishaamohia@hotmail.com> >Date: Mon, 14 Mar 2022 17:14:06 +1300 >Subject: [PATCH] Bug 30288: Provide links to OPACUserJS and OPACUserCSS in > tools > >This patch provides easy access to the OPACUserJS and OPACUserCSS system >preferences in the Additional Contents (News and HTML customisations) >sections. > >To test: > >1. In the staff client, go to Tools -> News. Notice there is a button to >add a New entry. Confirm this button is also there when you go to Tools >-> HTML customisations. >2. Apply the patch and refresh the page. >3. Confirm there are now two new buttons to take you to OPACUserJS and >OPACUserCSS. Confirm these buttons take you to the correct system >preference. > >Sponsored-by: Catalyst IT >--- > koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt | 2 ++ > 1 file changed, 2 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt >index 92fcf23cc95..443b962a8d7 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt >+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/tools/additional-contents.tt >@@ -292,6 +292,8 @@ > </li> > </ul> > </div> >+ <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OPACUserJS" class="btn btn-default"><i class="fa fa-code"></i> OPACUserJS</a> >+ <a href="/cgi-bin/koha/admin/preferences.pl?op=search&searchfield=OPACUserCSS" class="btn btn-default"><i class="fa fa-code"></i> OPACUserCSS</a> > </div> > > <h2>Additional contents ([% IF category == 'news' %]News[% ELSE %]HTML customizations[% END %])</h2> >-- >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 30288
:
131648
|
131698
|
131704
|
131705
|
131765
|
133355
|
133510
|
133612
|
133613
|
133783