Project

General

Profile

Revision 8ad24667

ID8ad2466776e8ee7ac7212c65934c31058d9cd303
Parent a31d3d75
Child d6c3a0c9

Added by Thomas ANDREJAK about 15 years ago

Ajout de fonctionnalités pour les plugins de Vigiboard

git-svn-id: https://vigilo-dev.si.c-s.fr/svn@517 b22e2e97-25c9-44ff-b637-2e5ceca36478

View differences:

vigiboard/controllers/vigiboardrequest.py
66 66
        self.idevents = []
67 67
        self.hist = []
68 68
        self.req = DBSession
69
        self.context_fct = []
69 70

  
70 71
    def add_plugin(self, *argv):
71 72
        
......
427 428
        # Dialogue de détail d'un évènement
428 429
        tmpl_context.historydialog = JQueryUIDialog(id='HistoryDialog',
429 430
                autoOpen=False,title=_('History'))
431

  
432
        # Exécution des contexts des plugins
433
        for j in self.plugin:
434
            j.context(self.context_fct)

Also available in: Unified diff