mirror of
https://github.com/semaphoreui/semaphore.git
synced 2024-11-23 20:35:24 +01:00
feat(fe): simplify template list
This commit is contained in:
parent
2cc1c145d5
commit
31e14eccb9
@ -89,6 +89,7 @@
|
||||
<template v-slot:item.version="{ item }">
|
||||
<TaskLink
|
||||
v-if="item.last_task && item.last_task.tpl_type !== ''"
|
||||
:disabled="true"
|
||||
:status="item.last_task.status"
|
||||
|
||||
:task-id="item.last_task.tpl_type === 'build'
|
||||
@ -110,16 +111,16 @@
|
||||
<div class="mt-2 mb-2" v-if="item.last_task != null">
|
||||
<div class="d-flex">
|
||||
<TaskStatus :status="item.last_task.status"/>
|
||||
<div class="ml-3" style="line-height: 1">
|
||||
<TaskLink
|
||||
:task-id="item.last_task.id"
|
||||
:label="'#' + item.last_task.id"
|
||||
:tooltip="item.last_task.message"
|
||||
/>
|
||||
<div style="color: gray; font-size: 14px;">
|
||||
by {{ item.last_task.user_name }} {{ item.last_task.created|formatDate }}
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div class="ml-3" style="line-height: 1">-->
|
||||
<!-- <TaskLink-->
|
||||
<!-- :task-id="item.last_task.id"-->
|
||||
<!-- :label="'#' + item.last_task.id"-->
|
||||
<!-- :tooltip="item.last_task.message"-->
|
||||
<!-- />-->
|
||||
<!-- <div style="color: gray; font-size: 14px;">-->
|
||||
<!-- by {{ item.last_task.user_name }} {{ item.last_task.created|formatDate }}-->
|
||||
<!-- </div>-->
|
||||
<!-- </div>-->
|
||||
</div>
|
||||
</div>
|
||||
<div v-else class="mt-3 mb-2 d-flex" style="color: gray;">Not launched</div>
|
||||
|
Loading…
Reference in New Issue
Block a user