public inbox for [email protected]  
help / color / mirror / Atom feed
[pgAdmin4][PATCH] To enable dialog help option for Language and Foreign table node
2+ messages / 2 participants
[nested] [flat]

* [pgAdmin4][PATCH] To enable dialog help option for Language and Foreign table node
@ 2017-05-31 06:26 Murtuza Zabuawala <[email protected]>
  2017-06-06 08:52 ` Re: [pgAdmin4][PATCH] To enable dialog help option for Language and Foreign table node Dave Page <[email protected]>
  0 siblings, 1 reply; 2+ messages in thread

From: Murtuza Zabuawala @ 2017-05-31 06:26 UTC (permalink / raw)
  To: pgadmin-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,


^ permalink  raw  reply  [nested|flat] 2+ messages in thread

* Re: [pgAdmin4][PATCH] To enable dialog help option for Language and Foreign table node
  2017-05-31 06:26 [pgAdmin4][PATCH] To enable dialog help option for Language and Foreign table node Murtuza Zabuawala <[email protected]>
@ 2017-06-06 08:52 ` Dave Page <[email protected]>
  0 siblings, 0 replies; 2+ messages in thread

From: Dave Page @ 2017-06-06 08:52 UTC (permalink / raw)
  To: Murtuza Zabuawala <[email protected]>; +Cc: pgadmin-hackers

Thanks, applied.

On Wed, May 31, 2017 at 7:26 AM, Murtuza Zabuawala
<[email protected]> wrote:
> 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
>
>
> --
> Sent via pgadmin-hackers mailing list ([email protected])
> To make changes to your subscription:
> http://www.postgresql.org/mailpref/pgadmin-hackers
>



-- 
Dave Page
Blog: http://pgsnake.blogspot.com
Twitter: @pgsnake

EnterpriseDB UK: http://www.enterprisedb.com
The Enterprise PostgreSQL Company


-- 
Sent via pgadmin-hackers mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgadmin-hackers




^ permalink  raw  reply  [nested|flat] 2+ messages in thread


end of thread, other threads:[~2017-06-06 08:52 UTC | newest]

Thread overview: 2+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2017-05-31 06:26 [pgAdmin4][PATCH] To enable dialog help option for Language and Foreign table node Murtuza Zabuawala <[email protected]>
2017-06-06 08:52 ` Dave Page <[email protected]>

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox