From f098cfac1f9e4fce52933c20028ff44f0f022478 Mon Sep 17 00:00:00 2001 From: tianshujie Date: Mon, 8 Jan 2024 17:25:53 +0800 Subject: [PATCH] * Fix bug #43452. --- module/task/ui/view.html.php | 14 +++++++++++++- 1 file changed, 13 insertions(+), 1 deletion(-) diff --git a/module/task/ui/view.html.php b/module/task/ui/view.html.php index 2692703afd..88b327a620 100644 --- a/module/task/ui/view.html.php +++ b/module/task/ui/view.html.php @@ -285,7 +285,19 @@ detailBody set::href(createLink('story', 'view', "id={$task->story}")), set::title($task->storyTitle), $task->storyTitle - ) + ), + $task->needConfirm ? span + ( + setClass('ml-1'), + '(' . $lang->story->changed, + a + ( + setClass('mx-1 rounded primary-pale p-1'), + set::href(createLink('task', 'confirmStoryChange', "taskID={$task->id}")), + $lang->confirm + ), + ')' + ) : null ), item (