From d830397bc8c15024f15bfe08e1e2369cc807e8ae Mon Sep 17 00:00:00 2001 From: Egor Stronhin Date: Tue, 7 Jan 2025 16:47:51 +0200 Subject: [PATCH] feat: Improve actions --- .../Project/components/Workflow/Workflow.tsx | 17 ++++++++++------- 1 file changed, 10 insertions(+), 7 deletions(-) diff --git a/src/rendered/components/Project/components/Workflow/Workflow.tsx b/src/rendered/components/Project/components/Workflow/Workflow.tsx index 0af2a8d..3eaa8a5 100644 --- a/src/rendered/components/Project/components/Workflow/Workflow.tsx +++ b/src/rendered/components/Project/components/Workflow/Workflow.tsx @@ -28,14 +28,17 @@ export const Workflow: FC = ({ run }) => { - <TitleMain>{display_title}</TitleMain> - <TitleDescription> - <b>{name}</b> #{run_number} - {' | '} - {head_branch.length > tagLength ? `${head_branch.slice(0, tagLength)}...` : head_branch} - {' | '} + <TitleMain> + <b>{name}</b> + {': '} {event !== 'workflow_dispatch' ? event : 'manual'} - </TitleDescription> + {' ยป '} + {head_branch.length > tagLength ? `${head_branch.slice(0, tagLength)}...` : head_branch} + {' (#'} + {run_number} + {')'} + </TitleMain> + <TitleDescription>{display_title}</TitleDescription>