From f36dac30fc0b34ddbea1d5280fb922af17419c80 Mon Sep 17 00:00:00 2001
From: Katrin Fischer <katrin.fischer.83@web.de>
Date: Sun, 9 Apr 2023 11:44:21 +0000
Subject: [PATCH] Bug 33356: [Alternate) Add mana-kb hint to reports start page

An alternate placement of the Mana KB hint on the reports start page.

To test:
* Go to Reports module
* Verify the hint shows when you haven't decided on Mana KB
* Once you set yes or no, it will no longer show
---
 .../prog/en/modules/reports/reports-home.tt              | 9 ++++++++-
 1 file changed, 8 insertions(+), 1 deletion(-)

diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt
index 04736fe13c..01ee09b054 100644
--- a/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt
+++ b/koha-tmpl/intranet-tmpl/prog/en/modules/reports/reports-home.tt
@@ -104,7 +104,14 @@
             [% END %]
 
             <li><a href="http://wiki.koha-community.org/wiki/SQL_Reports_Library" target="blank">Koha reports library</a></li>
-        </ul></div>
+        </ul>
+        [% IF ( Koha.Preference('Mana') == 2 ) %]
+        <div class="dialog message" style="margin:15px 0 0 0";>
+            <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 %]
+    </div>
 </div>
 
 
-- 
2.30.2