From 21dc8c71fcbbe7cdc213576faf917d952486692e Mon Sep 17 00:00:00 2001 From: Yaro Kasear Date: Tue, 19 Aug 2025 16:24:26 -0500 Subject: [PATCH] Add refresh_url and field_name parameters to update rendering in worklog template --- inventory/templates/worklog.html | 6 ++++-- 1 file changed, 4 insertions(+), 2 deletions(-) diff --git a/inventory/templates/worklog.html b/inventory/templates/worklog.html index 7ea1f5e..18bc1d8 100644 --- a/inventory/templates/worklog.html +++ b/inventory/templates/worklog.html @@ -233,8 +233,10 @@ id = update.id, title = update.timestamp.strftime('%Y-%m-%d %H:%M:%S'), 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 %}