​Hi,

PFA minor patch to remove external links from Panel's context menu.
RM#2772​

--
Regards,
Murtuza Zabuawala
EnterpriseDB: http://www.enterprisedb.com
The Enterprise PostgreSQL Company
diff --git a/web/pgadmin/help/__init__.py b/web/pgadmin/help/__init__.py
index cab7a03..0840698 100644
--- a/web/pgadmin/help/__init__.py
+++ b/web/pgadmin/help/__init__.py
@@ -43,7 +43,7 @@ class HelpModule(PgAdminModule):
                      priority=300,
                      target='_blank',
                      icon='fa fa-external-link',
-                     url='http://www.postgresql.org/')]}
+                     url='https://www.postgresql.org/')]}
 
     def get_panels(self):
         return [
@@ -55,22 +55,8 @@ class HelpModule(PgAdminModule):
                 icon='fa fa-question').__dict__,
 
             Panel(
-                name='pnl_pgadmin_website',
-                priority=200,
-                title=gettext('pgAdmin Website'),
-                icon='fa fa-external-link',
-                content='https://www.pgadmin.org/').__dict__,
-
-            Panel(
-                name='pnl_postgresql_website',
-                priority=300,
-                title=gettext('PostgreSQL Website'),
-                icon='fa fa-external-link',
-                content='http://www.postgresql.org/').__dict__,
-
-            Panel(
                 name='pnl_sql_help',
-                priority=400,
+                priority=200,
                 isPrivate=True,
                 icon='fa fa-info',
                 title=gettext('SQL Help')).__dict__]

Reply via email to