Use Jinja2 as the template engine
Use Jinja2 to render the templates of the indexing, workflows, smart links, user mailer and metadata apps. Signed-off-by: Roberto Rosario <roberto.rosario.gonzalez@gmail.com>
This commit is contained in:
@@ -91,14 +91,14 @@ class DocumentStatesApp(MayanAppConfig):
|
||||
|
||||
ModelAttribute(
|
||||
model=Document,
|
||||
name='workflow.< workflow internal name >.get_current_state',
|
||||
name='workflow.< workflow internal name >.get_current_state()',
|
||||
label=_('Current state of a workflow'), description=_(
|
||||
'Return the current state of the selected workflow'
|
||||
)
|
||||
)
|
||||
ModelAttribute(
|
||||
model=Document,
|
||||
name='workflow.< workflow internal name >.get_current_state.completion',
|
||||
name='workflow.< workflow internal name >.get_current_state().completion',
|
||||
label=_('Current state of a workflow'), description=_(
|
||||
'Return the completion value of the current state of the '
|
||||
'selected workflow'
|
||||
|
||||
Reference in New Issue
Block a user