mirror of
https://github.com/jbcr/core.git
synced 2026-04-02 14:22:22 +02:00
Some Vue fixes
This commit is contained in:
@@ -23,14 +23,14 @@
|
||||
<div
|
||||
v-if="size === 'normal'"
|
||||
class="listing__row--item is-thumbnail"
|
||||
:style="`background-image: url(${record | image(onlyPath=true)})`"
|
||||
:style="`background-image: url(${record.extras.image.path})`"
|
||||
></div>
|
||||
<!-- end column -->
|
||||
|
||||
<!-- column details -->
|
||||
<div class="listing__row--item is-details">
|
||||
<a :href="record.extras.editLink">record.extras.title</a>
|
||||
<span>record.extras.excerpt</span>
|
||||
<a :href="record.extras.editLink">{{ record.extras.title }}</a>
|
||||
<span>{{ record.extras.excerpt }}</span>
|
||||
</div>
|
||||
<!-- end column -->
|
||||
|
||||
|
||||
@@ -10,9 +10,7 @@
|
||||
<tr :key="record.id">
|
||||
<td>{{ record.id }}</td>
|
||||
<td>
|
||||
<a :href="'edit/' + record.id">{{
|
||||
record.fields[0].value.value
|
||||
}}</a>
|
||||
<a :href="record.extras.editLink">{{ record.extras.title }}</a>
|
||||
</td>
|
||||
</tr>
|
||||
<!-- Maybe is better to have a component to print each row? -->
|
||||
|
||||
Reference in New Issue
Block a user