|
10 | 10 | "noSnapshot.municipalityText": "diese Gemeinde", |
11 | 11 | "noSnapshot.p1": "Für {municipalityText} sind zur Zeit noch keine Analysen freigeschaltet.", |
12 | 12 | "noSnapshot.p2": "Erkunden Sie unsere Fallbeispiele um ein besseres Bild der Möglichkeiten für Ihre Gemeinde zu erhalten.", |
| 13 | + "noSnapshot.p3.1": "Gerne beraten wir sie via", |
| 14 | + "noSnapshot.p3.2": "oder telefonisch unter", |
| 15 | + "contactEmail": " [email protected]", |
| 16 | + "contactEmailSubject": "Anfrage Gemeindescan", |
| 17 | + "contactPhone": "+41 43 543 44 48", |
13 | 18 | "listtitle": "Fallbeispiele", |
14 | 19 | "listtitleMore": "Weitere Fallbeispiele" |
15 | 20 | }, |
|
22 | 27 | "noSnapshot.municipalityText": "cette communauté", |
23 | 28 | "noSnapshot.p1": "En ce moment il n’éxiste pas encore de données pour {municipalityText}.", |
24 | 29 | "noSnapshot.p2": "Prenez compte de nos études pour une meilleure vue d’ensemble des possibilitiées qui s’offrent à votre commune.", |
| 30 | + "noSnapshot.p3.1": "Gerne beraten wir sie via", |
| 31 | + "noSnapshot.p3.2": "oder telefonisch unter", |
| 32 | + "contactEmail": " [email protected]", |
| 33 | + "contactEmailSubject": "Offre pour Gemeindescan", |
| 34 | + "contactPhone": "+41 43 543 44 48", |
25 | 35 | "listtitle": "Examples", |
26 | 36 | "listtitleMore": "D'autres examples" |
27 | 37 | } |
|
52 | 62 | <!-- <h4>{{ $t('noSnapshot.title') }}</h4> --> |
53 | 63 | <p>{{ $t('noSnapshot.p1', { municipalityText: municipalityText }) }}</p> |
54 | 64 | <p>{{ $t('noSnapshot.p2') }}</p> |
| 65 | + <p> |
| 66 | + {{ $t('noSnapshot.p3.1') }} |
| 67 | + <a @click="composeEmail">{{$t('contactEmail')}}</a> |
| 68 | + {{ $t('noSnapshot.p3.2') }} |
| 69 | + <a @click="makeCall">{{$t('contactPhone')}}</a>. |
| 70 | + </p> |
55 | 71 | </div> |
56 | 72 | </div> |
57 | 73 |
|
@@ -346,6 +362,12 @@ export default { |
346 | 362 | this.$store.commit('setBfsnumber', result.data.municipality.bfsNumber); |
347 | 363 | this.$store.commit('setBfsname', result.data.municipality.fullname); |
348 | 364 | } |
| 365 | + }, |
| 366 | + composeEmail() { |
| 367 | + window.location.href = `mailto:${this.$t('contactEmail')}?subject=${this.$t('contactEmailSubject')}&body=`; |
| 368 | + }, |
| 369 | + makeCall() { |
| 370 | + window.location.href = `tel:${this.$t('contactPhone')}`; |
349 | 371 | } |
350 | 372 | } |
351 | 373 | }; |
|
0 commit comments