Display template IDs on the list UI and popup editor. Closes #986.
This commit is contained in:
parent
281c47198c
commit
372a144322
2 changed files with 10 additions and 1 deletions
|
@ -7,7 +7,12 @@
|
|||
class="is-pulled-right" type="is-primary"
|
||||
icon-left="file-find-outline">{{ $t('templates.preview') }}</b-button>
|
||||
|
||||
<h4 v-if="isEditing">{{ data.name }}</h4>
|
||||
<template v-if="isEditing">
|
||||
<h4>{{ data.name }}</h4>
|
||||
<p class="has-text-grey is-size-7">
|
||||
{{ $t('globals.fields.id') }}: <span data-cy="id">{{ data.id }}</span>
|
||||
</p>
|
||||
</template>
|
||||
<h4 v-else>{{ $t('templates.newTemplate') }}</h4>
|
||||
</header>
|
||||
<section expanded class="modal-card-body">
|
||||
|
|
|
@ -41,6 +41,10 @@
|
|||
</b-tag>
|
||||
</b-table-column>
|
||||
|
||||
<b-table-column v-slot="props" field="id" :label="$t('globals.fields.id')" sortable>
|
||||
{{ props.row.id }}
|
||||
</b-table-column>
|
||||
|
||||
<b-table-column v-slot="props" field="createdAt"
|
||||
:label="$t('globals.fields.createdAt')" sortable>
|
||||
{{ $utils.niceDate(props.row.createdAt) }}
|
||||
|
|
Loading…
Reference in a new issue