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

@@ -189,7 +189,7 @@ define('pgadmin.node.pga_jobstep', [
}, helpMessage: S(
gettext('Please specify the connection string for the remote database server. Each parameter setting is in the form keyword = value. Spaces around the equal sign are optional. To write an empty value, or a value containing spaces, surround it with single quotes, e.g., keyword = \'a value\'. Single quotes and backslashes within the value must be escaped with a backslash, i.e., \' and \\.<br>For more information, please see the documentation on %s')
).sprintf(
'<a href="https://www.postgresql.org/docs/current/static/libpq-connect.html#LIBPQ-CONNSTRING" target="_blank">libpq connection strings</a>'
'<a href="https://www.postgresql.org/docs/current/libpq-connect.html#LIBPQ-CONNSTRING" target="_blank">libpq connection strings</a>'
).value(), mode: ['create', 'edit'],
},{
id: 'jstonerror', label: gettext('On error'), cell: 'select2',