mirror of
https://github.com/Evolix/chexpire.git
synced 2024-04-29 15:30:49 +02:00
Mailers recurrent failures: conditional display for dates
This commit is contained in:
parent
c9c8b25db6
commit
99e8be8415
|
@ -8,9 +8,14 @@
|
|||
</p>
|
||||
|
||||
<p>
|
||||
<%- if @check.domain_expires_at.present? %>
|
||||
Our last known expiry date is <%= format_utc(@check.domain_expires_at) %>.
|
||||
<br />
|
||||
<% end %>
|
||||
|
||||
<%- if @check.last_success_at.present? %>
|
||||
Our last successful check occured <%= format_utc(@check.last_success_at) %>.
|
||||
<% end %>
|
||||
</p>
|
||||
|
||||
<p>
|
||||
|
|
|
@ -3,8 +3,12 @@ Hi,
|
|||
We had recurrent failures while checking the whois database for domain
|
||||
<%= @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) %>.
|
||||
<% end %>
|
||||
<%- if @check.last_success_at.present? %>
|
||||
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
|
||||
or delete the check by following this link:
|
||||
|
|
|
@ -8,9 +8,14 @@
|
|||
</p>
|
||||
|
||||
<p>
|
||||
<%- if @check.domain_expires_at.present? %>
|
||||
La dernière date d'expiration connue est le <%= format_utc(@check.domain_expires_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>
|
||||
|
|
|
@ -4,6 +4,13 @@ Nous avons rencontré de multiples erreurs pendant l'exécution des vérificatio
|
|||
du domaine <strong><%= @check.domain %></strong>.
|
||||
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é,
|
||||
merci de désactiver la vérification associée, avec ce lien :
|
||||
<%= edit_check_url(@check) %>
|
||||
|
|
Loading…
Reference in a new issue