mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2025-08-29 15:57:27 +00:00
Use pipeline number in title (#5275)
This commit is contained in:
parent
88312dfc9e
commit
c1ad196534
@ -149,7 +149,7 @@ const { doSubmit: declinePipeline, isLoading: isDecliningPipeline } = useAsyncAc
|
|||||||
useWPTitle(
|
useWPTitle(
|
||||||
computed(() => [
|
computed(() => [
|
||||||
i18n.t('repo.pipeline.tasks'),
|
i18n.t('repo.pipeline.tasks'),
|
||||||
i18n.t('repo.pipeline.pipeline', { pipelineId: pipeline.value.id }),
|
i18n.t('repo.pipeline.pipeline', { pipelineId: pipeline.value.number }),
|
||||||
repo.value.full_name,
|
repo.value.full_name,
|
||||||
]),
|
]),
|
||||||
);
|
);
|
||||||
|
@ -21,7 +21,7 @@ const { t } = useI18n();
|
|||||||
useWPTitle(
|
useWPTitle(
|
||||||
computed(() => [
|
computed(() => [
|
||||||
t('repo.pipeline.files'),
|
t('repo.pipeline.files'),
|
||||||
t('repo.pipeline.pipeline', { pipelineId: pipeline.value.id }),
|
t('repo.pipeline.pipeline', { pipelineId: pipeline.value.number }),
|
||||||
repo.value.full_name,
|
repo.value.full_name,
|
||||||
]),
|
]),
|
||||||
);
|
);
|
||||||
|
@ -38,7 +38,7 @@ const { t } = useI18n();
|
|||||||
useWPTitle(
|
useWPTitle(
|
||||||
computed(() => [
|
computed(() => [
|
||||||
t('repo.pipeline.config'),
|
t('repo.pipeline.config'),
|
||||||
t('repo.pipeline.pipeline', { pipelineId: pipeline.value.id }),
|
t('repo.pipeline.pipeline', { pipelineId: pipeline.value.number }),
|
||||||
repo.value.full_name,
|
repo.value.full_name,
|
||||||
]),
|
]),
|
||||||
);
|
);
|
||||||
|
@ -79,7 +79,7 @@ async function downloadMetadata() {
|
|||||||
useWPTitle(
|
useWPTitle(
|
||||||
computed(() => [
|
computed(() => [
|
||||||
t('repo.pipeline.debug.title'),
|
t('repo.pipeline.debug.title'),
|
||||||
t('repo.pipeline.pipeline', { pipelineId: pipeline.value.id }),
|
t('repo.pipeline.pipeline', { pipelineId: pipeline.value.number }),
|
||||||
repo.value.full_name,
|
repo.value.full_name,
|
||||||
]),
|
]),
|
||||||
);
|
);
|
||||||
|
@ -80,7 +80,7 @@ const { t } = useI18n();
|
|||||||
useWPTitle(
|
useWPTitle(
|
||||||
computed(() => [
|
computed(() => [
|
||||||
pipeline.value.errors?.some((e) => !e.is_warning) ? t('repo.pipeline.errors') : t('repo.pipeline.warnings'),
|
pipeline.value.errors?.some((e) => !e.is_warning) ? t('repo.pipeline.errors') : t('repo.pipeline.warnings'),
|
||||||
t('repo.pipeline.pipeline', { pipelineId: pipeline.value.id }),
|
t('repo.pipeline.pipeline', { pipelineId: pipeline.value.number }),
|
||||||
repo.value.full_name,
|
repo.value.full_name,
|
||||||
]),
|
]),
|
||||||
);
|
);
|
||||||
|
Loading…
Reference in New Issue
Block a user