Remove panels for www.pgadmin.org and www.postgresql.org as they won't work with X-Frame-Options: SAMEORIGIN which is used now.

This commit is contained in:
Murtuza Zabuawala 2017-10-10 09:16:23 +01:00 committed by Dave Page
parent 91406d2879
commit 63103c7a48

View File

@ -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 [
@ -54,23 +54,9 @@ class HelpModule(PgAdminModule):
title=gettext('Online Help'),
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__]