Hide keyboard shortcuts

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

1

2

3

4

5

6

7

8

9

10

11

12

13

14

15

16

17

18

19

20

21

22

23

24

25

26

27

# Copyright 2012-2015 Luc Saffre 

# License: BSD (see file COPYING for details) 

 

"""Adds functionality for recording database changes into a database 

table.  See :ref:`lino.tutorial.watch` for an introduction. 

 

.. autosummary:: 

   :toctree: 

 

    models 

 

""" 

from lino.api import ad, _ 

 

 

class Plugin(ad.Plugin): 

    "See :doc:`/dev/plugins`." 

 

    verbose_name = _("Changes") 

 

    needs_plugins = [ 

        'lino.modlib.notifier', 'lino.modlib.users', 'lino.modlib.gfks'] 

 

    def setup_explorer_menu(config, site, profile, m): 

        menu_group = site.plugins.system 

        m = m.add_menu(menu_group.app_label, menu_group.verbose_name) 

        m.add_action('changes.Changes')