create style for badge 3party and introduce in ThirdPartyRenderBox.vue

This commit is contained in:
2021-10-12 17:32:17 +02:00
parent 88d073b9a9
commit b84d0100e0
11 changed files with 54 additions and 13 deletions

View File

@@ -81,13 +81,7 @@
<div class="item-row entity-bloc">
<div class="item-col">
{{ _self.label(thirdparty, options) }}
{% if thirdparty.kind == 'company' %}
<span class="badge bg-info">{{ 'thirdparty.company'|trans }}</span>
{% elseif thirdparty.kind == 'child' %}
<span class="badge bg-chill-blue">{{ 'thirdparty.Child'|trans }}</span>
{% elseif thirdparty.kind == 'contact' %}
<span class="badge bg-secondary">{{ 'thirdparty.contact'|trans }}</span>
{% endif %}
<span class="badge bg-thirdparty-{{ thirdparty.kind }}">{{ ('thirdparty.' ~ thirdparty.kind)|trans }}</span>
</div>
<div class="item-col">
<ul class="list-content fa-ul">