From f5094791ac1681b8f0eaf6a5d138ce342d691c31 Mon Sep 17 00:00:00 2001 From: Magnus Enger Date: Tue, 19 Mar 2013 10:45:33 +0100 Subject: [PATCH] Bug 9841 - Improve the link from the "logged in as mysql-user"-warning Currently, the link from the "logged in as mysql-user"-warning goes to add a patron in a seemingly random category code. This patch changes the link to point to Home > Patrons, where a category for the new patron can be chosen. A small typo in the warning message is also corrected. To test: - Apply the patch - Login as the MySQL user - Check that the warning appears on the intranet home page - Check that the typo in the first line is fixed: "This *is* a bad idea" - Check that the link in the warning leads to Home > Patrons Signed-off-by: Brendan Signed-off-by: Katrin Fischer All happy with this. Signed-off-by: Jared Camins-Esakov Signed-off-by: Chris Cormack --- koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt index 4e91e06758..2862def346 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt @@ -18,8 +18,8 @@
[% IF adminWarning %]
-

Warning: You're logged in with the database administrator account. This a bad idea, and you are likely to encounter problems.

-

You should create a patron to use when administering Koha and give it superlibrarian permissions.

+

Warning: You're logged in with the database administrator account. This is a bad idea, and you are likely to encounter problems.

+

You should create a patron to use when administering Koha and give it superlibrarian permissions.

[% END %]
-- 2.39.5