feat: show country-specific logo in price calculator
closes #8697b9y45, #8697b9ykv
This commit is contained in:
+10
@@ -250,6 +250,10 @@
|
|||||||
<div class="py-8 text-xl text-center font-bold" v-show="submitted">
|
<div class="py-8 text-xl text-center font-bold" v-show="submitted">
|
||||||
Vielen Dank für Deine {{ mode === 'booking' ? 'Buchung' : 'Anfrage' }}. Wir werden diese schnellstmöglich bearbeiten.
|
Vielen Dank für Deine {{ mode === 'booking' ? 'Buchung' : 'Anfrage' }}. Wir werden diese schnellstmöglich bearbeiten.
|
||||||
</div>
|
</div>
|
||||||
|
<div>
|
||||||
|
<img :src="logoAt" alt="" v-if="countryCode === 'AT'" class="block w-full h-auto max-w-24">
|
||||||
|
<img :src="logoCh" alt="" v-if="countryCode === 'CH'" class="block w-full h-auto max-w-24">
|
||||||
|
</div>
|
||||||
<div class="fixed top-0 left-0 inset-0 bg-white/85 flex items-center justify-center" v-show="processing">
|
<div class="fixed top-0 left-0 inset-0 bg-white/85 flex items-center justify-center" v-show="processing">
|
||||||
<img :src="loaderUri" alt="Loading...">
|
<img :src="loaderUri" alt="Loading...">
|
||||||
</div>
|
</div>
|
||||||
@@ -274,6 +278,12 @@ export default {
|
|||||||
type: String,
|
type: String,
|
||||||
required: true
|
required: true
|
||||||
},
|
},
|
||||||
|
logoAt: {
|
||||||
|
type: String,
|
||||||
|
},
|
||||||
|
logoCh: {
|
||||||
|
type: String,
|
||||||
|
},
|
||||||
configsJson: {
|
configsJson: {
|
||||||
type: String,
|
type: String,
|
||||||
required: true
|
required: true
|
||||||
|
|||||||
@@ -20,6 +20,8 @@
|
|||||||
country-code="{countryCode}"
|
country-code="{countryCode}"
|
||||||
endpoint="{ep:uri.ajax(action: 'processForm', controller: 'AjaxGroupsPrice', pageUid: settings.defaultAjaxUid, arguments: '{hotel: hotel}')}"
|
endpoint="{ep:uri.ajax(action: 'processForm', controller: 'AjaxGroupsPrice', pageUid: settings.defaultAjaxUid, arguments: '{hotel: hotel}')}"
|
||||||
loader-uri="{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/ajax-loader-white.gif')}"
|
loader-uri="{f:uri.image(src: 'EXT:ep_theme/Resources/Public/images/ajax-loader-white.gif')}"
|
||||||
|
logo-at="{f:uri.image(src: 'fileadmin/user_upload/Logos_Banner/Alpinevacation.jpg')}"
|
||||||
|
logo-ch="{f:uri.image(src: 'fileadmin/user_upload/Logos_Banner/Cllt_Touristik_frei_gestellt.jpg')}"
|
||||||
>
|
>
|
||||||
</groups-price-calculator>
|
</groups-price-calculator>
|
||||||
</f:format.raw>
|
</f:format.raw>
|
||||||
|
|||||||
Reference in New Issue
Block a user