Skip to content

Commit

Permalink
fix: make feedback email dynamic
Browse files Browse the repository at this point in the history
  • Loading branch information
tjorbo committed Apr 30, 2024
1 parent d1b46ab commit 3de266e
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 4 deletions.
1 change: 1 addition & 0 deletions .env
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ VUE_APP_DESCRIPTION=Der kulturfinder.sh ist eine App, die es den Nutzer:innen er
VUE_APP_DESCRIPTION_SHORT=Der kulturfinder.sh ist eine App, die es den Nutzer:innen ermöglicht, mobil auf ihrem Smartphone Kulturinstitutionen in ganz Schleswig-Holstein zu finden.
VUE_APP_KEYWORDS=Kulturfinder, Kultur, App, Schleswig-Holstein, Kultursphäre, Digitalisierung, Living Images, Schietwetter, Kulturinstitution
VUE_APP_URL=https://kulturfinder.sh
VUE_APP_EMAIL=info@kultursphaere.sh
1 change: 1 addition & 0 deletions .env.hb
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,4 @@ VUE_APP_DESCRIPTION=Der kulturfinder.bremen.de ist eine App, die es den Nutzer:i
VUE_APP_DESCRIPTION=Der kulturfinder.bremen.de ist eine App, die es den Nutzer:innen ermöglicht, mobil auf ihrem Smartphone Kulturinstitutionen in Bremen und Bremerhaven zu finden.
VUE_APP_KEYWORDS=Kulturfinder, Kultur, App, Bremen, Bremerhaven, Digitalisierung, Schietwetter, Kulturinstitution
VUE_APP_URL=https://kulturfinder.bremen.de
VUE_APP_EMAIL=kulturfinder@dataport.de
5 changes: 4 additions & 1 deletion src/components/details/FeedbackModal.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
<span>{{ $t('details.feedbackIntro') }}</span>
</b-row>
<b-row class="my-3">
<a :href="` mailto:${$t('details.feedbackEmail')}?subject=Feedback ${institutionName}`" class="text-primary">{{ $t('details.feedbackEmail') }}</a>
<a :href="`mailto:${email}?subject=Feedback ${institutionName}`" class="text-primary">{{ email }}</a>
</b-row>
<b-row class="my-2">
<span class="headline-feedback">{{ $t('details.feedbackInstitutionHeadline') }}</span>
Expand All @@ -40,6 +40,9 @@ export default {
type: String,
default: ''
}
},
computed: {
email: function () { return process.env.VUE_APP_EMAIL }
}
}
</script>
Expand Down
1 change: 0 additions & 1 deletion src/locales/da.json
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@
"sd0025": "Reformationsdag (31. oktober)"
},
"feedback": "Feedback",
"feedbackEmail": "info@kultursphaere.sh",
"feedbackIntro": "Any comments, ideas, or feedback about the app? Please contact our team at kulturfinder.sh. We would very much appreciate to hear from you!",
"feedbackInstitutionHeadline": "Would you like to contact the institution directly?",
"feedbackInstitutionText": "For questions or inqueries concerning the institution, please check out the 'contact' section for each institution.",
Expand Down
1 change: 0 additions & 1 deletion src/locales/de.json
Original file line number Diff line number Diff line change
Expand Up @@ -298,7 +298,6 @@
"sd0025": "Reformationstag"
},
"feedback": "Feedback",
"feedbackEmail": "info@kultursphaere.sh",
"feedbackIntro": "Haben Sie Wünsche oder Kritik? Melden Sie sich gerne beim Team vom kulturfinder.sh. Wir freuen uns über Feedback!",
"feedbackInstitutionHeadline": "Sie möchten direkt mit einer Institution in Kontakt treten?",
"feedbackInstitutionText": "Melden sie sich bei Anliegen und Fragen bitte direkt bei der Institution. Informationen hierzu finden sie unter 'Kontakt' auf der Seite der Institution.",
Expand Down
1 change: 0 additions & 1 deletion src/locales/en.json
Original file line number Diff line number Diff line change
Expand Up @@ -299,7 +299,6 @@
"sd0025": "Reformation Day"
},
"feedback": "Feedback",
"feedbackEmail": "info@kultursphaere.sh",
"feedbackIntro": "Have you got any comments or feedback about the app? Please contact our team at kulturfinder.sh. We look forward to hearing from you!",
"feedbackInstitutionHeadline": "Would you like to contact the institution directly?",
"feedbackInstitutionText": "For questions or enquiries, please contact the institution. You will find the details in the 'contact' section on the institution's page.",
Expand Down

0 comments on commit 3de266e

Please sign in to comment.