From e53b80dedf91617f9eecb9defd2d6f5222f03d65 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Marc=20V=C3=A9ron?= Date: Wed, 23 Mar 2016 08:11:49 +0100 Subject: [PATCH] Bug 16133: Translatability of database administrator account warning This patch removes sentence splitting of the database administrator warning with a button styled link. Additionally, it uses the same wording as in the warning on the 'About' page. To test: - Apply patch - Log in to Staff client as database administration user - Verify that the wording of the warning is the same as on the About page (Tab 'System information') - Verify that the link to the patron administration page is styled as a button and behaves correctly NOTE: Actually, the category is irrelevant. But I like the improved message. Categories may or may not be set up at the initial log in. Signed-off-by: Mark Tompsett Signed-off-by: Katrin Fischer Signed-off-by: Brendan A Gallagher --- koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt | 5 +++-- 1 file changed, 3 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 be0e5aa35d..64c05f9578 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/intranet-main.tt @@ -19,8 +19,9 @@
[% IF adminWarning %]
-

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.

+

Warning: You are logged in as the database administrative user. This is not recommended because some parts of Koha will not function as expected when using this account.

+

Please log in instead with a regular staff account. To create a staff account, create a library, a patron category 'Staff' and add a new patron. Then give this patron permissions from 'More' in the toolbar.

+

Create patron

[% END %]
-- 2.39.5