diff --git a/app/views/mailers/domain_mailer/expiration_reminder.html.erb b/app/views/mailers/domain_mailer/expiration_reminder.html.erb index 63c08b1d2..be3ee7cb4 100644 --- a/app/views/mailers/domain_mailer/expiration_reminder.html.erb +++ b/app/views/mailers/domain_mailer/expiration_reminder.html.erb @@ -8,7 +8,7 @@ Domeeni registreeringu pikendamiseks pöörduge palun oma registripidaja <%= @do Domeeni <%= @domain.name %> kohta on registris järgmised andmed:

Registreerija: <%= @domain.registrant_name %>
-Halduskontakt: [% haldus_est_html %]
+Halduskontakt: <%= @domain.admin_contacts.map { |c| c.contact.phone }.join ', ' %>
Tehniline kontakt: <%= @domain.tech_domain_contacts.map { |c| c.contact.phone }.join ', ' %>
Registripidaja: <%= @domain.registrar.name %>
Nimeserverid: <%= @domain.nameservers.join(', ') %>
@@ -34,7 +34,7 @@ To renew the domain registration, please contact your registrar <%= @domain.regi The following data for the <%= @domain.name %> domain have been entered into the registry:

Registrant: <%= @domain.registrant_name %>
-Administrative contact: [% haldus_eng_html %]
+Administrative contact: <%= @domain.admin_contacts.map { |c| c.contact.phone }.join ', ' %>
Technical contact: <%= @domain.tech_domain_contacts.map { |c| c.contact.phone }.join ', ' %>
Registrar: <%= @domain.registrar.name %>
Name servers: <%= @domain.nameservers.join(', ') %>
@@ -60,7 +60,7 @@ Phone: +372 727 1000
Относительно домена <%= @domain.name %> в реестр внесены следующие данные:

Регистрант: <%= @domain.registrant_name %>
-Административный контакт: [% haldus_rus_html %]
+Административный контакт: <%= @domain.admin_contacts.map { |c| c.contact.phone }.join ', ' %>
Технический контакт: <%= @domain.tech_domain_contacts.map { |c| c.contact.phone }.join ', ' %>
Регистратор: <%= @domain.registrar.name %>
Серверы доменных имен: <%= @domain.nameservers.join(', ') %>
diff --git a/app/views/mailers/domain_mailer/expiration_reminder.text.erb b/app/views/mailers/domain_mailer/expiration_reminder.text.erb index aa4d1754d..0da98ecae 100644 --- a/app/views/mailers/domain_mailer/expiration_reminder.text.erb +++ b/app/views/mailers/domain_mailer/expiration_reminder.text.erb @@ -8,7 +8,7 @@ Domeeni registreeringu pikendamiseks pöörduge palun oma registripidaja <%= @do Domeeni <%= @domain.name %> kohta on registris järgmised andmed: Registreerija: <%= @domain.registrant_name %> -Halduskontakt: [% haldus_est_html %] +Halduskontakt: <%= @domain.admin_contacts.map { |c| c.contact.phone }.join ', ' %> Tehniline kontakt: <%= @domain.tech_domain_contacts.map { |c| c.contact.phone }.join ', ' %> Registripidaja: <%= @domain.registrar.name %> Nimeserverid: <%= @domain.nameservers.join(', ') %> @@ -34,7 +34,7 @@ To renew the domain registration, please contact your registrar <%= @domain.regi The following data for the <%= @domain.name %> domain have been entered into the registry: Registrant: <%= @domain.registrant_name %> -Administrative contact: [% haldus_eng_html %] +Administrative contact: <%= @domain.admin_contacts.map { |c| c.contact.phone }.join ', ' %> Technical contact: <%= @domain.tech_domain_contacts.map { |c| c.contact.phone }.join ', ' %> Registrar: <%= @domain.registrar.name %> Name servers: <%= @domain.nameservers.join(', ') %> @@ -60,7 +60,7 @@ Phone: +372 727 1000 Относительно домена <%= @domain.name %> в реестр внесены следующие данные: Регистрант: <%= @domain.registrant_name %> -Административный контакт: [% haldus_rus_html %] +Административный контакт: <%= @domain.admin_contacts.map { |c| c.contact.phone }.join ', ' %> Технический контакт: <%= @domain.tech_domain_contacts.map { |c| c.contact.phone }.join ', ' %> Регистратор: <%= @domain.registrar.name %> Серверы доменных имен: <%= @domain.nameservers.join(', ') %>