Skip to content

Commit

Permalink
Merge pull request #126 from openhealthcare/122-menuitems
Browse files Browse the repository at this point in the history
No need for plugin.menuitems for Pathways
  • Loading branch information
davidmiller authored May 16, 2017
2 parents 4e11c68 + ea9c9a2 commit d2b085e
Showing 1 changed file with 0 additions and 10 deletions.
10 changes: 0 additions & 10 deletions pathway/plugin.py
Original file line number Diff line number Diff line change
Expand Up @@ -5,16 +5,6 @@
from pathway.urls import urlpatterns
from django.conf import settings

menuitems = []
DISPLAY_MENU = getattr(settings, 'PATHWAY_MENU_ITEM', True)

if DISPLAY_MENU:
menuitems = [
dict(
href='/pathway/#/', display='Pathway', icon='fa fa-mail-forward',
activepattern='/pathway', index=2)
]


class PathwayPlugin(plugins.OpalPlugin):
"""
Expand Down

0 comments on commit d2b085e

Please sign in to comment.