Révision 8881779a
Ajouté par Frédéric Péters il y a presque 8 ans
extra/modules/clicrdv.py | ||
---|---|---|
201 | 201 |
FormStatusPage.clicrdvevent = form_download_event |
202 | 202 |
init = classmethod(init) |
203 | 203 |
|
204 |
def is_available(self): |
|
204 |
def is_available(self, workflow=None):
|
|
205 | 205 |
return get_publisher().has_site_option('clicrdv') |
206 | 206 |
is_available = classmethod(is_available) |
207 | 207 |
|
... | ... | |
331 | 331 |
title=_('Status On Failure'), value=self.status_on_failure, |
332 | 332 |
options = [(None, '---')] + [(x.id, x.name) for x in self.parent.parent.possible_status]) |
333 | 333 |
|
334 |
def is_available(self): |
|
334 |
def is_available(self, workflow=None):
|
|
335 | 335 |
return get_publisher().has_site_option('clicrdv') |
336 | 336 |
is_available = classmethod(is_available) |
337 | 337 |
|
Formats disponibles : Unified diff
misc: add new workflow keyword arg to action is_available methods (#11336)