Bugzilla – Attachment 149067 Details for
Bug 33356
Add link to mana-kb settings from 'Useful resources' in reports
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
[patch]
Bug 33356: Highlight mana-kb from reports when not configured
Bug-33356-Highlight-mana-kb-from-reports-when-not-.patch (text/plain), 1.51 KB, created by
David Nind
on 2023-04-01 20:50:15 UTC
(
hide
)
Description:
Bug 33356: Highlight mana-kb from reports when not configured
Filename:
MIME Type:
Creator:
David Nind
Created:
2023-04-01 20:50:15 UTC
Size:
1.51 KB
patch
obsolete
>From 50ef1d93036abbbd145a3cb00da8aa454e4e1f83 Mon Sep 17 00:00:00 2001 >From: Martin Renvoize <martin.renvoize@ptfs-europe.com> >Date: Wed, 29 Mar 2023 14:38:46 +0100 >Subject: [PATCH] Bug 33356: Highlight mana-kb from reports when not configured > >This patch adds a 'Knowledgebase' info block under 'Useful resources' on >teh report creation pages. This highlights to reports users that mana >has not be configured as yet, hopefully encouraging them to turn it on. > >Signed-off-by: David Nind <david@davidnind.com> >--- > .../intranet-tmpl/prog/en/includes/guided-reports-view.inc | 6 ++++++ > 1 file changed, 6 insertions(+) > >diff --git a/koha-tmpl/intranet-tmpl/prog/en/includes/guided-reports-view.inc b/koha-tmpl/intranet-tmpl/prog/en/includes/guided-reports-view.inc >index 94b73fd44e..926e2e03d8 100644 >--- a/koha-tmpl/intranet-tmpl/prog/en/includes/guided-reports-view.inc >+++ b/koha-tmpl/intranet-tmpl/prog/en/includes/guided-reports-view.inc >@@ -11,6 +11,12 @@ > <li><a href="/cgi-bin/koha/reports/dictionary.pl?phase=View%20Dictionary">View dictionary</a></li> > </ul> > <h5>Useful resources</h5> >+[% IF ( Koha.Preference('Mana') == 2 ) %] >+<div class="dialog message"> >+ <strong>Knowledgebase</strong> >+ <p> You haven't decided if you want to activate Mana Knowledge Base. <a href=/cgi-bin/koha/admin/share_content.pl>Change your Mana KB settings</a>.</p> >+</div> >+[% END %] > <ul> > <li><a href="http://wiki.koha-community.org/wiki/SQL_Reports_Library" target="blank">Koha report library</a></li> > [% SET koha_version = Koha.Version %] >-- >2.30.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 33356
:
148917
|
149067
|
149355
|
149985
|
150412