Only show commit title (#2361)

https://github.com/woodpecker-ci/woodpecker/issues/2359
This commit is contained in:
qwerty287
2023-08-30 17:08:56 +02:00
committed by GitHub
parent e847cbadfa
commit 971534929c
4 changed files with 15 additions and 11 deletions

View File

@@ -16,7 +16,9 @@
<PipelineStatusIcon :status="pipeline.status" class="flex flex-shrink-0" />
<span class="flex-shrink-0 text-center">{{ $t('repo.pipeline.pipeline', { pipelineId }) }}</span>
<span class="hidden md:inline-block">-</span>
<span class="min-w-0 whitespace-nowrap overflow-hidden overflow-ellipsis">{{ message }}</span>
<span class="min-w-0 whitespace-nowrap overflow-hidden overflow-ellipsis" :title="message">{{
title
}}</span>
</div>
<template v-if="repoPermissions.push">
@@ -122,11 +124,9 @@ if (!repo || !repoPermissions) {
}
const pipeline = pipelineStore.getPipeline(repositoryId, pipelineId);
const { since, duration, created } = usePipeline(pipeline);
const { since, duration, created, message, title } = usePipeline(pipeline);
provide('pipeline', pipeline);
const { message } = usePipeline(pipeline);
const showDeployPipelinePopup = ref(false);
async function loadPipeline(): Promise<void> {