From 8fa462dd4310000a31654bdb18f79c1a4b2a6615 Mon Sep 17 00:00:00 2001 From: Artur Beljajev Date: Tue, 6 Jun 2017 15:50:31 +0300 Subject: [PATCH] Reformat code #480 --- .../contact_mailer/email_updated.html.erb | 16 ++++++++-------- .../contact_mailer/email_updated.text.erb | 16 ++++++++-------- 2 files changed, 16 insertions(+), 16 deletions(-) diff --git a/app/views/mailers/contact_mailer/email_updated.html.erb b/app/views/mailers/contact_mailer/email_updated.html.erb index 681643fad..3c90d9d2d 100644 --- a/app/views/mailers/contact_mailer/email_updated.html.erb +++ b/app/views/mailers/contact_mailer/email_updated.html.erb @@ -10,10 +10,10 @@ uus aadress: <%= @contact.email %> E-posti aadressile saadetakse domeeni toimingutega seotud infot, sealhulgas kinnitustaotlused omanikuvahetuse ja domeeni kustutamise korral. Palun veenduge, et muudatus on korrektne ning probleemide korral pöörduge oma registripidaja <%= @contact.registrar.name %> poole.

<% if @contact.related_domain_descriptions.present? %> -Muudatusega seotud domeenid:
-<% @contact.related_domain_descriptions.each do |domain, desc| %> - <%= domain %> (<%= desc.map { |d| t(d, locale: :et) }.join(', ') %>)
-<% end %> + Muudatusega seotud domeenid:
+ <% @contact.related_domain_descriptions.each do |domain, desc| %> + <%= domain %> (<%= desc.map { |d| t(d, locale: :et) }.join(', ') %>)
+ <% end %> <% end %>
Kontaktandmed:
@@ -33,10 +33,10 @@ new address: <%= @contact.email %> E-mail addresses are used to send important information regarding your registered domains including applications for approval of registrant change and domain deletion. Please make sure that the update and contact information are correct. Incase of problems please turn to your registrar. Your registrar is <%= @contact.registrar.name %>

<% if @contact.related_domain_descriptions.present? %> -Domains affected by this update:
-<% @contact.related_domain_descriptions.each do |domain, desc| %> - <%= domain %> (<%= desc.map { |d| t(d, locale: :en) }.join(', ') %>)
-<% end %> + Domains affected by this update:
+ <% @contact.related_domain_descriptions.each do |domain, desc| %> + <%= domain %> (<%= desc.map { |d| t(d, locale: :en) }.join(', ') %>)
+ <% end %> <% end %>
Contact information:
diff --git a/app/views/mailers/contact_mailer/email_updated.text.erb b/app/views/mailers/contact_mailer/email_updated.text.erb index 58c21f5a3..036ea955c 100644 --- a/app/views/mailers/contact_mailer/email_updated.text.erb +++ b/app/views/mailers/contact_mailer/email_updated.text.erb @@ -10,10 +10,10 @@ uus aadress: <%= @contact.email %> E-posti aadressile saadetakse domeeni toimingutega seotud infot, sealhulgas kinnitustaotlused omanikuvahetuse ja domeeni kustutamise korral. Palun veenduge, et muudatus on korrektne ning probleemide korral pöörduge oma registripidaja <%= @contact.registrar.name %> poole. <% if @contact.related_domain_descriptions.present? %> -Muudatusega seotud domeenid: - <% @contact.related_domain_descriptions.each do |domain, desc| %> - <%= domain %> (<%= desc.map { |d| t(d, locale: :et) }.join(', ') %>) - <% end %> + Muudatusega seotud domeenid: + <% @contact.related_domain_descriptions.each do |domain, desc| %> + <%= domain %> (<%= desc.map { |d| t(d, locale: :et) }.join(', ') %>) + <% end %> <% end %> Kontaktandmed: @@ -33,10 +33,10 @@ new address: <%= @contact.email %> E-mail addresses are used to send important information regarding your registered domains including applications for approval of registrant change and domain deletion. Please make sure that the update and contact information are correct. Incase of problems please turn to your registrar. Your registrar is <%= @contact.registrar.name %> <% if @contact.related_domain_descriptions.present? %> -Domains affected by this update: - <% @contact.related_domain_descriptions.each do |domain, desc| %> - <%= domain %> (<%= desc.map { |d| t(d, locale: :en) }.join(', ') %>) - <% end %> + Domains affected by this update: + <% @contact.related_domain_descriptions.each do |domain, desc| %> + <%= domain %> (<%= desc.map { |d| t(d, locale: :en) }.join(', ') %>) + <% end %> <% end %> Contact information: