Fix SQL help for EPAS 10+, and refactor the URL generation code into a testable function. Fixes #4099

This commit is contained in:
Dave Page
2019-03-22 14:09:24 +00:00
parent ae23f146d1
commit ce073a2856
8 changed files with 106 additions and 30 deletions

View File

@@ -55,7 +55,7 @@ class HelpModule(PgAdminModule):
self.pg_help_path = self.help_preference.register(
'help', 'pg_help_path',
gettext("PostgreSQL Help Path"), 'text',
'https://www.postgresql.org/docs/$VERSION$/static/',
'https://www.postgresql.org/docs/$VERSION$/',
category_label=gettext('Help'),
help_str=gettext(
'Path to the PostgreSQL documentation. $VERSION$ will be '