add new OnTheFly vue sub-component

This commit is contained in:
2021-05-31 12:58:28 +02:00
parent 543f6b20dd
commit 68059a9938
2 changed files with 100 additions and 8 deletions

View File

@@ -13,16 +13,18 @@
<td>
<ul class="record_actions">
<li>
<a class="sc-button bt-show" target="_blank"
:href="url.show"
:title="$t('action.show')">
</a>
<on-the-fly
:type="participation.person.type"
:id="participation.person.id"
action="show">
</on-the-fly>
</li>
<li>
<a class="sc-button bt-update" target="_blank"
:href="url.edit"
:title="$t('action.edit')">
</a>
<on-the-fly
:type="participation.person.type"
:id="participation.person.id"
action="edit">
</on-the-fly>
</li>
<!--li>
<button class="sc-button bt-delete"
@@ -44,8 +46,13 @@
</template>
<script>
import OnTheFly from 'ChillMainAssets/vuejs/_components/OnTheFly.vue';
export default {
name: 'PersonItem',
components: {
OnTheFly
},
props: ['participation'],
data() {
return {