mirror of
https://github.com/Evolix/chexpire.git
synced 2024-05-16 15:38:40 +02:00
Mailers recurrent failures: conditional display for dates
This commit is contained in:
parent
c9c8b25db6
commit
99e8be8415
|
@ -8,9 +8,14 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
Our last known expiry date is <%= format_utc(@check.domain_expires_at) %>.
|
<%- if @check.domain_expires_at.present? %>
|
||||||
<br />
|
Our last known expiry date is <%= format_utc(@check.domain_expires_at) %>.
|
||||||
Our last successful check occured <%= format_utc(@check.last_success_at) %>.
|
<br />
|
||||||
|
<% end %>
|
||||||
|
|
||||||
|
<%- if @check.last_success_at.present? %>
|
||||||
|
Our last successful check occured <%= format_utc(@check.last_success_at) %>.
|
||||||
|
<% end %>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|
|
@ -3,8 +3,12 @@ Hi,
|
||||||
We had recurrent failures while checking the whois database for domain
|
We had recurrent failures while checking the whois database for domain
|
||||||
<%= @check.domain %>. As of today, we can't anymore verify the expiry date.
|
<%= @check.domain %>. As of today, we can't anymore verify the expiry date.
|
||||||
|
|
||||||
|
<%- if @check.domain_expires_at.present? %>
|
||||||
The last known expiry date is <%= format_utc(@check.domain_expires_at) %>.
|
The last known expiry date is <%= format_utc(@check.domain_expires_at) %>.
|
||||||
|
<% end %>
|
||||||
|
<%- if @check.last_success_at.present? %>
|
||||||
The last successful check occured <%= format_utc(@check.last_success_at) %>.
|
The last successful check occured <%= format_utc(@check.last_success_at) %>.
|
||||||
|
<% end %>
|
||||||
|
|
||||||
If you have deleted your domain or have not renewed it, please disable
|
If you have deleted your domain or have not renewed it, please disable
|
||||||
or delete the check by following this link:
|
or delete the check by following this link:
|
||||||
|
|
|
@ -8,9 +8,14 @@
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
La dernière date d'expiration connue est le <%= format_utc(@check.domain_expires_at) %>.
|
<%- if @check.domain_expires_at.present? %>
|
||||||
<br />
|
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) %>.
|
<br />
|
||||||
|
<% end %>
|
||||||
|
|
||||||
|
<%- if @check.last_success_at.present? %>
|
||||||
|
Notre dernière vérification réussie a eu lieu le <%= format_utc(@check.last_success_at) %>.
|
||||||
|
<% end %>
|
||||||
</p>
|
</p>
|
||||||
|
|
||||||
<p>
|
<p>
|
||||||
|
|
|
@ -4,6 +4,13 @@ Nous avons rencontré de multiples erreurs pendant l'exécution des vérificatio
|
||||||
du domaine <strong><%= @check.domain %></strong>.
|
du domaine <strong><%= @check.domain %></strong>.
|
||||||
Nous ne pouvons plus interroger la base Whois pour vérifier la date d'expiration.
|
Nous ne pouvons plus interroger la base Whois pour vérifier la date d'expiration.
|
||||||
|
|
||||||
|
<%- if @check.domain_expires_at.present? %>
|
||||||
|
La dernière date d'expiration connue est le <%= format_utc(@check.domain_expires_at) %>.
|
||||||
|
<% end %>
|
||||||
|
<%- if @check.last_success_at.present? %>
|
||||||
|
Notre dernière vérification réussie a eu lieu le <%= format_utc(@check.last_success_at) %>.
|
||||||
|
<% end %>
|
||||||
|
|
||||||
Si vous avez supprimé le domaine ou ne l'avez pas renouvellé,
|
Si vous avez supprimé le domaine ou ne l'avez pas renouvellé,
|
||||||
merci de désactiver la vérification associée, avec ce lien :
|
merci de désactiver la vérification associée, avec ce lien :
|
||||||
<%= edit_check_url(@check) %>
|
<%= edit_check_url(@check) %>
|
||||||
|
|
Loading…
Reference in a new issue