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