From a02835ead4e8b33e4216ae8a8957f0533cb838bb Mon Sep 17 00:00:00 2001 From: liumengyi Date: Tue, 2 Apr 2024 16:08:59 +0800 Subject: [PATCH] * Modify style of project statistic block. --- module/block/ui/projectstatisticblock.html.php | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/module/block/ui/projectstatisticblock.html.php b/module/block/ui/projectstatisticblock.html.php index 902c178280..02da448212 100644 --- a/module/block/ui/projectstatisticblock.html.php +++ b/module/block/ui/projectstatisticblock.html.php @@ -95,7 +95,7 @@ if($project) $project->executions[0]->name ) ) - ) : div(); + ) : null; $cells = array(); if(in_array($project->model, array('scrum', 'kanban', 'agileplus'))) @@ -422,7 +422,7 @@ statisticBlock div ( setClass('flex bg-white leading-6 px-2 py-1 mt-1 mx-3 items-center gap-x-2 gap-y-1 justify-between' . ($longBlock ? ' h-10 my-3 flex-nowrap' : ' h-14 mb-1 flex-wrap')), - $lastestExecution, + !empty($lastestExecution) || !$longBlock ? $lastestExecution : div(), div(setClass('flex justify-end gap-x-2 nowrap'), $projectOverview) ), div