mirror of
https://github.com/woodpecker-ci/woodpecker.git
synced 2024-11-23 02:11:01 +00:00
parent
b7b1b94ab4
commit
486c8473fc
1 changed files with 6 additions and 2 deletions
|
@ -1,7 +1,11 @@
|
|||
<template>
|
||||
<div class="flex flex-col flex-grow">
|
||||
<div class="flex w-full min-h-0 flex-grow">
|
||||
<PipelineProcList v-model:selected-proc-id="selectedProcId" :pipeline="pipeline" />
|
||||
<PipelineProcList
|
||||
v-model:selected-proc-id="selectedProcId"
|
||||
:class="{ 'hidden md:flex': pipeline.status === 'blocked' }"
|
||||
:pipeline="pipeline"
|
||||
/>
|
||||
|
||||
<div class="flex flex-grow relative">
|
||||
<div v-if="error" class="flex flex-col p-4">
|
||||
|
@ -9,7 +13,7 @@
|
|||
<span class="text-red-400">{{ error }}</span>
|
||||
</div>
|
||||
|
||||
<div v-else-if="pipeline.status === 'blocked'" class="flex flex-col flex-grow justify-center items-center">
|
||||
<div v-else-if="pipeline.status === 'blocked'" class="flex flex-col flex-grow justify-center items-center p-2">
|
||||
<Icon name="status-blocked" class="w-32 h-32 text-color" />
|
||||
<p class="text-xl text-color">{{ $t('repo.pipeline.protected.awaits') }}</p>
|
||||
<div v-if="repoPermissions.push" class="flex mt-2 space-x-4">
|
||||
|
|
Loading…
Reference in a new issue