mirror of
https://gitlab.com/Chill-Projet/chill-bundles.git
synced 2025-06-13 13:54:23 +00:00
adapt requestor to flex-table
This commit is contained in:
parent
549f3a4c78
commit
56242f9b5a
@ -11,41 +11,45 @@
|
|||||||
</label>
|
</label>
|
||||||
|
|
||||||
<div class="item-bloc">
|
<div class="item-bloc">
|
||||||
<h4>
|
<div class="item-row">
|
||||||
<span class="badge badge-pill badge-secondary">{{ accompanyingCourse.requestor.type }}</span>
|
<div class="item-col">
|
||||||
{{ accompanyingCourse.requestor.text }}
|
<h4>
|
||||||
</h4>
|
{{ accompanyingCourse.requestor.text }}
|
||||||
|
</h4>
|
||||||
<dl class="content-bloc" v-if="accompanyingCourse.requestor.type === 'person'">
|
<span class="badge badge-pill badge-secondary">{{ accompanyingCourse.requestor.type }}</span>
|
||||||
|
</div>
|
||||||
<dt>{{ $t('requestor.birthdate') }}</dt>
|
<div class="item-col">
|
||||||
<dd>{{ $d(accompanyingCourse.requestor.birthdate.datetime, 'short') }}</dd>
|
<ul class="content-bloc" v-if="accompanyingCourse.requestor.type === 'person'">
|
||||||
|
|
||||||
<dt>{{ $t('requestor.center') }}</dt>
|
<li><i>{{ $t('requestor.birthdate') }}</i>
|
||||||
<dd>{{ accompanyingCourse.requestor.center.name }}</dd>
|
{{ $d(accompanyingCourse.requestor.birthdate.datetime, 'short') }}
|
||||||
|
</li>
|
||||||
<dt>{{ $t('requestor.phonenumber') }}</dt>
|
<li><i>{{ $t('requestor.center') }}</i>
|
||||||
<dd>{{ accompanyingCourse.requestor.phonenumber }}</dd>
|
{{ accompanyingCourse.requestor.center.name }}
|
||||||
<dt>{{ $t('requestor.mobilenumber') }}</dt>
|
</li>
|
||||||
<dd>{{ accompanyingCourse.requestor.mobilenumber }}</dd>
|
<li><i>{{ $t('requestor.phonenumber') }}</i>
|
||||||
</dl>
|
{{ accompanyingCourse.requestor.phonenumber }}
|
||||||
|
</li>
|
||||||
<dl class="content-bloc" v-if="accompanyingCourse.requestor.type === 'thirdparty'">
|
<li><i>{{ $t('requestor.mobilenumber') }}</i>
|
||||||
|
{{ accompanyingCourse.requestor.mobilenumber }}
|
||||||
<dt>{{ $t('requestor.address') }}</dt>
|
</li>
|
||||||
<dd>{{ accompanyingCourse.requestor.address.text }}</dd>
|
</ul>
|
||||||
|
<ul class="content-bloc" v-if="accompanyingCourse.requestor.type === 'thirdparty'">
|
||||||
<dt>{{ $t('requestor.location') }}</dt>
|
|
||||||
<dd>{{ accompanyingCourse.requestor.address.postcode.name }}</dd>
|
<dt>{{ $t('requestor.address') }}</dt>
|
||||||
</dl>
|
<dd>{{ accompanyingCourse.requestor.address.text }}</dd>
|
||||||
|
|
||||||
<ul class="record_actions">
|
<dt>{{ $t('requestor.location') }}</dt>
|
||||||
<li>
|
<dd>{{ accompanyingCourse.requestor.address.postcode.name }}</dd>
|
||||||
<a class="sc-button bt-show" :title="$t('action.show')" target="_blank" :href="url.show"></a>
|
</ul>
|
||||||
</li>
|
<ul class="record_actions">
|
||||||
</ul>
|
<li>
|
||||||
|
<a class="sc-button bt-show" :title="$t('action.show')" target="_blank" :href="url.show"></a>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<ul class="record_actions">
|
<ul class="record_actions">
|
||||||
<li>
|
<li>
|
||||||
<button class="sc-button bt-remove"
|
<button class="sc-button bt-remove"
|
||||||
@ -55,7 +59,6 @@
|
|||||||
</button>
|
</button>
|
||||||
</li>
|
</li>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<div v-else>
|
<div v-else>
|
||||||
<label>{{ $t('requestor.counter') }}</label>
|
<label>{{ $t('requestor.counter') }}</label>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user