CourseLocation: view current location

This commit is contained in:
Mathieu Jaumotte 2021-08-12 17:05:43 +02:00
parent 8f9d4a1765
commit 64433b420d

View File

@ -10,17 +10,17 @@
{{ error }}
</div>
<div v-if="addAddress.options.displayResult && addAddress.result !== null"
<div v-if="accompanyingCourse.location"
class="chill-entity entity-address">
<div class="address multiline">
<p class="street">{{ addAddress.result.street }}
<span class="streetnumber">{{ addAddress.result.streetNumber }}</span>
<p class="street">{{ accompanyingCourse.location.street }}
<span class="streetnumber">{{ accompanyingCourse.location.streetNumber }}</span>
</p>
<p class="postcode">
<span class="code">{{ addAddress.result.postcode.code }}</span>
<span class="name">{{ addAddress.result.postcode.name }}</span>
<span class="code">{{ accompanyingCourse.location.postcode.code }}</span>
<span class="name">{{ accompanyingCourse.location.postcode.name }}</span>
</p>
<p class="country">{{ addAddress.result.country.name.fr }}</p>
<p class="country">{{ accompanyingCourse.location.country.name.fr }}</p>
</div>
</div>