This commit is contained in:
parent
423bfc8798
commit
ca967e83bd
|
@ -4,7 +4,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
-->
|
-->
|
||||||
|
|
||||||
<template>
|
<template>
|
||||||
<MkFolder>
|
<MkFolder>
|
||||||
<template #label>{{ entity.name || entity.url }}</template>
|
<template #label>{{ entity.name || entity.url }}</template>
|
||||||
<template #icon>
|
<template #icon>
|
||||||
<i v-if="!entity.isActive" class="ti ti-player-pause"/>
|
<i v-if="!entity.isActive" class="ti ti-player-pause"/>
|
||||||
|
@ -20,12 +20,7 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<MkTime v-if="entity.latestSentAt" :time="entity.latestSentAt" style="margin-right: 8px"/>
|
<MkTime v-if="entity.latestSentAt" :time="entity.latestSentAt" style="margin-right: 8px"/>
|
||||||
<span v-else>-</span>
|
<span v-else>-</span>
|
||||||
</template>
|
</template>
|
||||||
|
<template #footer>
|
||||||
<div class="_gaps">
|
|
||||||
<MkKeyValue>
|
|
||||||
<template #key>latestStatus</template>
|
|
||||||
<template #value>{{ entity.latestStatus ?? '-' }}</template>
|
|
||||||
</MkKeyValue>
|
|
||||||
<div class="_buttons">
|
<div class="_buttons">
|
||||||
<MkButton @click="onEditClick">
|
<MkButton @click="onEditClick">
|
||||||
<i class="ti ti-settings"></i> {{ i18n.ts.edit }}
|
<i class="ti ti-settings"></i> {{ i18n.ts.edit }}
|
||||||
|
@ -34,8 +29,15 @@ SPDX-License-Identifier: AGPL-3.0-only
|
||||||
<i class="ti ti-trash"></i> {{ i18n.ts.delete }}
|
<i class="ti ti-trash"></i> {{ i18n.ts.delete }}
|
||||||
</MkButton>
|
</MkButton>
|
||||||
</div>
|
</div>
|
||||||
|
</template>
|
||||||
|
|
||||||
|
<div class="_gaps">
|
||||||
|
<MkKeyValue>
|
||||||
|
<template #key>latestStatus</template>
|
||||||
|
<template #value>{{ entity.latestStatus ?? '-' }}</template>
|
||||||
|
</MkKeyValue>
|
||||||
</div>
|
</div>
|
||||||
</MkFolder>
|
</MkFolder>
|
||||||
</template>
|
</template>
|
||||||
|
|
||||||
<script lang="ts" setup>
|
<script lang="ts" setup>
|
||||||
|
|
Loading…
Reference in New Issue