thirdparty: improve render for children/parent dependencies in renderbox vue/twig

This commit is contained in:
2021-12-09 14:35:22 +01:00
parent 5b321dfb81
commit 5fdbba9ef5
3 changed files with 87 additions and 49 deletions

View File

@@ -10,9 +10,9 @@
{{ $t('renderbox.type.thirdparty')}}
</template>
<i class="fa fa-user fa-fw" v-if="entity.kind === 'child'"></i>
<i class="fa fa-hospital-o fa-fw" v-else-if="entity.kind === 'company'"></i>
<i class="fa fa-user-md fa-fw" v-else></i>
<i class="fa fa-fw fa-user" v-if="entity.kind === 'child'"></i>
<i class="fa fa-fw fa-hospital-o" v-else-if="entity.kind === 'company'"></i>
<i class="fa fa-fw fa-user-md" v-else></i>
<template v-if="options.displayLong === true">
<span v-if="entity.kind === 'child'">{{ $t('tparty.child')}}</span>