Coverage for lino/modlib/notifier/__init__.py : 70%

Hot-keys on this page
r m x p toggle line displays
j k next/prev highlighted chunk
0 (zero) top of page
1 (one) first highlighted chunk
# Copyright 2008-2015 Luc Saffre # License: BSD (see file COPYING for details)
.. autosummary:: :toctree:
models
"""
"See :class:`lino.core.plugin.Plugin`."
"""The template used to build the subject lino of notification emails.
:obj: is the :class:`Notification <lino.modlib.notify.models.Notification>` object.
"""
# def setup_main_menu(self, site, profile, m): # p = site.plugins.office # m = m.add_menu(p.app_label, p.verbose_name) # m.add_action('notifier.MyNotifications')
p = site.plugins.system m = m.add_menu(p.app_label, p.verbose_name) m.add_action('notifier.AllNotifications') |