Home | Trees | Indices | Help |
|
---|
|
1 #===================================================== 2 # GNUmed provider inbox plugin 3 # later to evolve into a more complete "provider-centric hub" 4 #===================================================== 5 __author__ = "Karsten Hilbert <Karsten.Hilbert@gmx.net>" 6 __license__ = "GPL" 7 8 from Gnumed.wxpython import gmPlugin, gmProviderInboxWidgets 9 from Gnumed.wxpython import gmAccessPermissionWidgets10 11 #====================================================================== 12 -class gmProviderInboxPlugin(gmPlugin.cNotebookPlugin):13 """Plugin to encapsulate the provider inbox window.""" 14 15 tab_name = _('Inbox') 16 required_minimum_role = 'staff' 17 18 @gmAccessPermissionWidgets.verify_minimum_required_role ( 19 required_minimum_role, 20 activity = _('loading plugin <%s>') % tab_name, 21 return_value_on_failure = False, 22 fail_silently = False 23 ) 26 #------------------------------------------------- 27 #-------------------------------------------------------- 30 #-------------------------------------------------------- 33 #-------------------------------------------------------- 37 #--------------------------------------------------------43 #====================================================================== 4439 return ('office', _('Provider &inbox'))40 #--------------------------------------------------------
Home | Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sat Aug 3 03:56:39 2013 | http://epydoc.sourceforge.net |