public inbox for [email protected]
help / color / mirror / Atom feedFrom: Murtuza Zabuawala <[email protected]>
To: pgadmin-hackers <[email protected]>
Subject: [pgAdmin4][PATCH] To enable dialog help option for Language and Foreign table node
Date: Wed, 31 May 2017 11:56:31 +0530
Message-ID: <CAKKotZS81pfeft=n75=HrQ7C1_c+Rjf0goKpZ9E+nnT2=XsExQ@mail.gmail.com> (raw)
List-Unsubscribe: <mailto:[email protected]?body=unsub%20pgadmin-hackers>
Hi,
PFA minor patch to enable dialog help option for Language and Foreign table
node.
RM#2116
--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
diff --git a/web/pgadmin/browser/server_groups/servers/databases/languages/templates/languages/js/languages.js b/web/pgadmin/browser/server_groups/servers/databases/languages/templates/languages/js/languages.js
index e55c1ab..4340b9e 100644
--- a/web/pgadmin/browser/server_groups/servers/databases/languages/templates/languages/js/languages.js
+++ b/web/pgadmin/browser/server_groups/servers/databases/languages/templates/languages/js/languages.js
@@ -21,6 +21,7 @@ define(
type: 'language',
sqlAlterHelp: 'sql-alterlanguage.html',
sqlCreateHelp: 'sql-createlanguage.html',
+ dialogHelp: '{{ url_for('help.static', filename='language_dialog.html') }}',
label: '{{ _('Language') }}',
hasSQL: true,
canDrop: true,
diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/templates/foreign_tables/js/foreign_tables.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/templates/foreign_tables/js/foreign_tables.js
index 5f3dc69..ac8ce5d 100644
--- a/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/templates/foreign_tables/js/foreign_tables.js
+++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/templates/foreign_tables/js/foreign_tables.js
@@ -450,6 +450,7 @@ function($, _, S, pgAdmin, pgBrowser, alertify) {
type: 'foreign-table',
sqlAlterHelp: 'sql-alterforeigntable.html',
sqlCreateHelp: 'sql-createforeigntable.html',
+ dialogHelp: '{{ url_for('help.static', filename='foreign_table_dialog.html') }}',
label: '{{ _('Foreign Table') }}',
collection_type: 'coll-foreign-table',
hasSQL: true,
--
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers
Attachments:
[text/plain] RM_2116.diff (1.7K, 3-RM_2116.diff)
download | inline diff:
diff --git a/web/pgadmin/browser/server_groups/servers/databases/languages/templates/languages/js/languages.js b/web/pgadmin/browser/server_groups/servers/databases/languages/templates/languages/js/languages.js
index e55c1ab..4340b9e 100644
--- a/web/pgadmin/browser/server_groups/servers/databases/languages/templates/languages/js/languages.js
+++ b/web/pgadmin/browser/server_groups/servers/databases/languages/templates/languages/js/languages.js
@@ -21,6 +21,7 @@ define(
type: 'language',
sqlAlterHelp: 'sql-alterlanguage.html',
sqlCreateHelp: 'sql-createlanguage.html',
+ dialogHelp: '{{ url_for('help.static', filename='language_dialog.html') }}',
label: '{{ _('Language') }}',
hasSQL: true,
canDrop: true,
diff --git a/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/templates/foreign_tables/js/foreign_tables.js b/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/templates/foreign_tables/js/foreign_tables.js
index 5f3dc69..ac8ce5d 100644
--- a/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/templates/foreign_tables/js/foreign_tables.js
+++ b/web/pgadmin/browser/server_groups/servers/databases/schemas/foreign_tables/templates/foreign_tables/js/foreign_tables.js
@@ -450,6 +450,7 @@ function($, _, S, pgAdmin, pgBrowser, alertify) {
type: 'foreign-table',
sqlAlterHelp: 'sql-alterforeigntable.html',
sqlCreateHelp: 'sql-createforeigntable.html',
+ dialogHelp: '{{ url_for('help.static', filename='foreign_table_dialog.html') }}',
label: '{{ _('Foreign Table') }}',
collection_type: 'coll-foreign-table',
hasSQL: true,
view thread (2+ messages) latest in thread
reply
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients using the --to and --cc options:
reply via email
To: [email protected]
Cc: [email protected]
Subject: Re: [pgAdmin4][PATCH] To enable dialog help option for Language and Foreign table node
In-Reply-To: <CAKKotZS81pfeft=n75=HrQ7C1_c+Rjf0goKpZ9E+nnT2=XsExQ@mail.gmail.com>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox