mirror of
https://github.com/pgadmin-org/pgadmin4.git
synced 2025-02-25 18:55:31 -06:00
24 lines
785 B
Python
24 lines
785 B
Python
##########################################################################
|
|
#
|
|
# pgAdmin 4 - PostgreSQL Tools
|
|
#
|
|
# Copyright (C) 2013 - 2015, The pgAdmin Development Team
|
|
# This software is released under the PostgreSQL Licence
|
|
#
|
|
##########################################################################
|
|
|
|
"""Browser integration functions for the Help module."""
|
|
|
|
from flask import url_for
|
|
from flask.ext.babel import gettext
|
|
|
|
import config
|
|
|
|
def get_help_menu_items():
|
|
"""Return a (set) of dicts of help menu items, with name, priority, URL,
|
|
target and onclick code."""
|
|
return [{'name': 'mnu_contents',
|
|
'label': gettext('Contents'),
|
|
'priority': 1,
|
|
'target': '_new',
|
|
'url': url_for('help.static', filename='index.html') }] |