Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix: feedback email not filling the sender information (name, email, ...) #634

Merged
merged 2 commits into from
May 29, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 5 additions & 5 deletions app/views/notifier/feedback.html.haml
Original file line number Diff line number Diff line change
Expand Up @@ -5,17 +5,17 @@
%meta{content: "no-cache", name: "turbo-cache-control"}/
%body
%p
= t("ontologies.notifier.name", name: @name)
= t("feedback_mail.name", name: @name)
%p
= t("ontologies.notifier.email", email: @email)
= t("feedback_mail.email", email: @email)
%p
= t("ontologies.notifier.location", location: @location)
%p= t("ontologies.notifier.tags")
= t("feedback_mail.location", location: @location)
%p= t("feedback_mail.tags")
%ul
- for tag in @tags
%li
= tag
%p
%br/
%strong= t("ontologies.notifier.feedback")
%strong= t("feedback_mail.feedback")
= simple_format(@comment)
8 changes: 7 additions & 1 deletion config/locales/en.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1464,4 +1464,10 @@ en:
description: >
This tool/service verifies the resolvability of Uniform Resource Identifiers (URIs) and their content negotiability.
It checks whether a given URI is accessible and whether the content associated with it can be negotiated based on the client's preferences.
This functionality ensures the reliability and accessibility of linked resources within the RDF ecosystem, aiding in maintaining data integrity and facilitating seamless integration with external resources.
This functionality ensures the reliability and accessibility of linked resources within the RDF ecosystem, aiding in maintaining data integrity and facilitating seamless integration with external resources.
feedback_mail:
name: "Name: %{name}"
email: "Email: %{email}"
location: "Location: %{location}"
tags: Tags
feedback: Feedback
7 changes: 6 additions & 1 deletion config/locales/fr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -1503,4 +1503,9 @@ fr:
Il vérifie si un URI donné est accessible et si le contenu associé peut être négocié en fonction des préférences du client.
Cette fonctionnalité garantit la fiabilité et l'accessibilité des ressources liées dans l'écosystème RDF, aidant ainsi à maintenir l'intégrité des données et facilitant l'intégration transparente avec des ressources externes.


feedback_mail:
name: "Nom: %{name}"
email: "E-mail: %{email}"
location: "Emplacement: %{location}"
tags: Tags
feedback: Feedback
Loading