Add refresh_url and field_name parameters to update rendering in worklog template
This commit is contained in:
parent
42b87d08cc
commit
21dc8c71fc
1 changed files with 4 additions and 2 deletions
|
|
@ -233,8 +233,10 @@
|
||||||
id = update.id,
|
id = update.id,
|
||||||
title = update.timestamp.strftime('%Y-%m-%d %H:%M:%S'),
|
title = update.timestamp.strftime('%Y-%m-%d %H:%M:%S'),
|
||||||
mode = 'view',
|
mode = 'view',
|
||||||
content = update.content,
|
enabled = not log.complete,
|
||||||
enabled = not log.complete
|
refresh_url = url_for('ui.get_value', model_name='work_note'),
|
||||||
|
field_name = 'content',
|
||||||
|
record_id = update.id
|
||||||
) }}
|
) }}
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
<template id="editor-template">
|
<template id="editor-template">
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue