diff --git a/app/views/notifications_mailer/_check_comment_vendor.fr.html.erb b/app/views/notifications_mailer/_check_comment_vendor.fr.html.erb new file mode 100644 index 0000000..c2d7576 --- /dev/null +++ b/app/views/notifications_mailer/_check_comment_vendor.fr.html.erb @@ -0,0 +1,13 @@ +<%- if @check.comment.present? -%> +
+ Vous avez saisi le commentaire suivant pour ce domaine : + +
+ <%= @check.comment -%> ++ +<%- end -%> + +<%- if @check.vendor.present? -%> +Fournisseur : <%= @check.vendor %> +<% end %> diff --git a/app/views/notifications_mailer/_check_comment_vendor.fr.text.erb b/app/views/notifications_mailer/_check_comment_vendor.fr.text.erb new file mode 100644 index 0000000..b52e291 --- /dev/null +++ b/app/views/notifications_mailer/_check_comment_vendor.fr.text.erb @@ -0,0 +1,11 @@ +<%- if @check.comment.present? -%> +Vous avez saisi le commentaire suivant pour ce domaine : + + <%= @check.comment -%> +<%- end -%> + + + +<%- if @check.vendor.present? -%> +Fournisseur : <%= @check.vendor %> +<% end %> diff --git a/app/views/notifications_mailer/_footer_expires_soon.fr.html.erb b/app/views/notifications_mailer/_footer_expires_soon.fr.html.erb new file mode 100644 index 0000000..d6f13b9 --- /dev/null +++ b/app/views/notifications_mailer/_footer_expires_soon.fr.html.erb @@ -0,0 +1,11 @@ +
+ Vous avez reçu ce courriel à <%= pluralize(delay, "jour", "jours") %> avant la date d'expiration. + Vous pouvez gérer les notifications pour cette vérification à ce adresse : + <%= link_to nil, edit_check_url(check) %> +
+ +L'équipe Chexpire
diff --git a/app/views/notifications_mailer/_footer_expires_soon.fr.text.erb b/app/views/notifications_mailer/_footer_expires_soon.fr.text.erb new file mode 100644 index 0000000..35d29f2 --- /dev/null +++ b/app/views/notifications_mailer/_footer_expires_soon.fr.text.erb @@ -0,0 +1,8 @@ +-- + +Vous avez reçu ce courriel à <%= pluralize(delay, "jour", "jours") %> avant +la date d'expiration. +Vous pouvez gérer les notifications pour cette vérification à ce adresse : +<%= edit_check_url(check) %> + +L'équipe Chexpire diff --git a/app/views/notifications_mailer/_footer_recurrent_failures.fr.html.erb b/app/views/notifications_mailer/_footer_recurrent_failures.fr.html.erb new file mode 100644 index 0000000..8d68f9d --- /dev/null +++ b/app/views/notifications_mailer/_footer_recurrent_failures.fr.html.erb @@ -0,0 +1,10 @@ +Vous avez reçu ce courriel à <%= pluralize(delay, "jour", "jours") %> avant la dernière date d'expiration connue.
+Vous pouvez gérer les notifications pour cette vérification à ce adresse :
+<%= link_to nil, edit_check_url(check) %>
+
L'équipe Chexpire
diff --git a/app/views/notifications_mailer/_footer_recurrent_failures.fr.text.erb b/app/views/notifications_mailer/_footer_recurrent_failures.fr.text.erb new file mode 100644 index 0000000..ca48eea --- /dev/null +++ b/app/views/notifications_mailer/_footer_recurrent_failures.fr.text.erb @@ -0,0 +1,8 @@ +-- + +Vous avez reçu ce courriel à <%= pluralize(delay, "jour", "jours") %> +avant la dernière date d'expiration connue. +Vous pouvez gérer les notifications pour cette vérification à ce adresse : +<%= edit_check_url(check) %> + +L'équipe Chexpire diff --git a/app/views/notifications_mailer/domain_expires_soon.fr.html.erb b/app/views/notifications_mailer/domain_expires_soon.fr.html.erb new file mode 100644 index 0000000..365f986 --- /dev/null +++ b/app/views/notifications_mailer/domain_expires_soon.fr.html.erb @@ -0,0 +1,12 @@ +
+ Salut,
+
+
+ le domaine <%= @check.domain %> va expirer le
+ <%= format_utc(@check.domain_expires_at) %>.
+
+ Salut,
+
+
+
+ Nous avons rencontré de multiples erreurs pendant l'exécution des vérifications du domaine <%= @check.domain %>.
+ Nous ne pouvons plus interroger la base Whois pour vérifier la date d'expiration.
+
+ La dernière date d'expiration connue est le <%= format_utc(@check.domain_expires_at) %>.
+
+ Notre dernière vérification réussie a eu lieu le <%= format_utc(@check.last_success_at) %>.
+
+Si vous avez supprimé le domaine ou ne l'avez pas renouvellé, merci de désactiver la vérification associée, avec ce lien :
+<%= link_to nil, edit_check_url(@check) %>
+