From b0fbd825233f941a13e38b4d097b8990cb892cb6 Mon Sep 17 00:00:00 2001 From: Hayley Mapley Date: Mon, 4 Mar 2019 00:45:31 +0000 Subject: [PATCH] Bug 22366: Amended help text - Web Installer step2 On Step 2 of the Web Installer, the 'Need Help?' section refers to MySQL documentation if the DB used is MySQL, or refers to PostgreSQL documentation in all other cases. This patch removes the reference to PostgreSQL and instead only displays the 'Need Help' text if the user's database is MySQL. To test: When running the Web Installer, if you are using MySQL then text that says Need Help? with a link to the documentation should be present. If you are using anything else (PostgreSQL, MariaDB, etc.), this text and link should not be present. --- koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt | 8 +++----- 1 file changed, 3 insertions(+), 5 deletions(-) diff --git a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt b/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt index ec785a9546..f4c81f2bb1 100644 --- a/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt +++ b/koha-tmpl/intranet-tmpl/prog/en/modules/installer/step2.tt @@ -33,11 +33,9 @@

User [% user | $HtmlTags tag=>'code' %] doesn't have enough privilege on database [% dbname | $HtmlTags tag=>'code' %].

Ask for or make a change in the user's privileges. User [% user | $HtmlTags tag=>'code' %] must have USAGE, INSERT, UPDATE, DELETE, DROP and CREATE privileges on database [% dbname | $HtmlTags tag=>'code' %].

-

Need help? See manual for [% IF ( mysql ) %] - MySQL - [% ELSE %] - PostgreSQL - [% END %] + [% IF ( mysql ) %] +

Need help? See manual for MySQL + [% END %]

[% END %] [% ELSE %] -- 2.11.0