Show international phone number with 00 instead of +

Customer wants it that way.
This commit is contained in:
jordi fita mas 2024-01-11 20:56:35 +01:00
parent f28664acce
commit 2f1895b71a
1 changed files with 8 additions and 8 deletions

View File

@ -24,7 +24,7 @@
<header> <header>
{{ with .CompanyAddress -}} {{ with .CompanyAddress -}}
<address> <address>
<a href="tel:{{ replaceAll .Phone " " "" }}">{{ .Phone }}</a> <a href="tel:{{ replaceAll .Phone " " "" }}">{{ replaceAll .Phone "+" "00 " }}</a>
<a href="mailto:{{ .Email }}">{{ .Email }}</a> <a href="mailto:{{ .Email }}">{{ .Email }}</a>
</address> </address>
{{- end }} {{- end }}
@ -119,12 +119,12 @@
<h2>{{ .CompanyAddress.TradeName }}</h2> <h2>{{ .CompanyAddress.TradeName }}</h2>
{{ template "companyAddress" .CompanyAddress }} {{ template "companyAddress" .CompanyAddress }}
{{ printf ( gettext "<abbr title=\"Catalonia Tourism Registry\">RTC</abbr> <abbr title=\"Number\">#</abbr>%s") .CompanyAddress.RTCNumber | raw }} {{ printf ( gettext "<abbr title=\"Catalonia Tourism Registry\">RTC</abbr> <abbr title=\"Number\">#</abbr>%s") .CompanyAddress.RTCNumber | raw }}
<div class="camping-association"> <div class="camping-association">
<img src="/static/camping-association/Reconeixement.gif" alt="Alan Rogers"> <img src="/static/camping-association/Reconeixement.gif" alt="Alan Rogers">
<img src="/static/camping-association/acsi.jpg" alt="ACSI"> <img src="/static/camping-association/acsi.jpg" alt="ACSI">
<img src="/static/camping-association/logofecc4.gif" alt="Federación Española de Clubes Capistas"> <img src="/static/camping-association/logofecc4.gif" alt="Federación Española de Clubes Capistas">
<img src="/static/camping-association/anwb.png" alt="anwb"> <img src="/static/camping-association/anwb.png" alt="anwb">
</div> </div>
</section> </section>
</div> </div>
<span>© {{( gettext "Campsite Montagut" )}} | 19942023</span> <span>© {{( gettext "Campsite Montagut" )}} | 19942023</span>