From c70eef13e9cc4758d414c1dfdde4d95bf179b127 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 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- .../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 542a350..8f1e50f 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 %]
-- 1.7.9.5