From ace13fcd61ba9d7f8a55ca34f79abbdb5893475f 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 --- 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 542a350752..8f1e50ff30 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