From bfb2e0e26e04dde78121855ab8d06cf2b27ab926 Mon Sep 17 00:00:00 2001 From: =?UTF-8?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 --- 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 be0e5aa..64c05f9 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.1.4