|
|
@@ -122,22 +122,26 @@
|
|
|
|
|
|
<table>
|
|
|
<tr
|
|
|
- v-if="structure.mapAddress && structure.mapAddress.postalCode !== structure.postalAddress.postalCode && structure.mapAddress.streetAddress !== structure.postalAddress.streetAddress"
|
|
|
+ v-if="structure.mapAddress && (structure.mapAddress.postalCode !== structure.postalAddress.postalCode || structure.mapAddress.streetAddress !== structure.postalAddress.streetAddress)"
|
|
|
>
|
|
|
- <td>
|
|
|
+ <td style="vertical-align: top">
|
|
|
<font-awesome-icon class="icon" :icon="['fas', 'map-marker-alt']" />
|
|
|
</td>
|
|
|
- <td class="mx-2">
|
|
|
+ <td class="mx-2" style="vertical-align: top">
|
|
|
<span v-if="structure.mapAddress.streetAddress" style="white-space: pre-line;">{{ structure.mapAddress.streetAddress }}<br></span>
|
|
|
<span v-if="structure.mapAddress.postalCode">{{ structure.mapAddress.postalCode }} </span>
|
|
|
{{ structure.mapAddress.addressCity }}
|
|
|
</td>
|
|
|
</tr>
|
|
|
<tr v-if="structure.postalAddress">
|
|
|
- <td>
|
|
|
+ <td style="vertical-align: top">
|
|
|
<font-awesome-icon class="icon" :icon="['fas', 'envelope']" />
|
|
|
</td>
|
|
|
- <td class="mx-2">
|
|
|
+ <td class="mx-2" style="vertical-align: top">
|
|
|
+ <div style="text-decoration: underline; font-size: 0.9em; margin-bottom: 0.25em;">
|
|
|
+ {{ $t('to_mail_us') }} :
|
|
|
+ </div>
|
|
|
+ <span>{{ structure.name }}<br></span>
|
|
|
<span v-if="structure.postalAddress.streetAddress" style="white-space: pre-line;">{{ structure.postalAddress.streetAddress }}<br></span>
|
|
|
<span v-if="structure.postalAddress.postalCode">{{ structure.postalAddress.postalCode }} </span>
|
|
|
{{ structure.postalAddress.addressCity }}
|
|
|
@@ -148,9 +152,9 @@
|
|
|
<font-awesome-icon class="icon" :icon="['fas', 'phone-alt']" />
|
|
|
</td>
|
|
|
<td class="phone">
|
|
|
- <div v-if="structure.telphone">
|
|
|
- <a v-if="showTel" :href="'tel:' + structure.telphone" class="neutral">
|
|
|
- {{ formatPhoneNumber(structure.telphone) }}
|
|
|
+ <div v-if="structure.telphone || structure.mobilPhone">
|
|
|
+ <a v-if="showTel" :href="'tel:' + (structure.telphone || structure.mobilPhone)" class="neutral">
|
|
|
+ {{ formatPhoneNumber(structure.telphone || structure.mobilPhone) }}
|
|
|
</a>
|
|
|
<v-btn v-else small @click="showTel = 1">
|
|
|
{{ $t('show_tel') }}
|