mirror of
https://github.com/internetee/registry.git
synced 2025-08-03 16:32:04 +02:00
Added committed param to white ip
This commit is contained in:
parent
e00e44c9b8
commit
1c8a46bd89
12 changed files with 130 additions and 15 deletions
43
app/views/mailers/white_ip_mailer/committed.html.erb
Normal file
43
app/views/mailers/white_ip_mailer/committed.html.erb
Normal file
|
@ -0,0 +1,43 @@
|
|||
Tere,
|
||||
<br><br>
|
||||
<p>
|
||||
Anname teada, et Teie konto juurde kuuluv lubatud IP-aadress on edukalt aktiveeritud.
|
||||
</p>
|
||||
<h3>IP-aadressi andmed:</h3>
|
||||
<ul>
|
||||
<li><strong>IP-aadress:</strong> <%= @white_ip.ipv4.presence || @white_ip.ipv6 %></li>
|
||||
<li><strong>Liidesed:</strong> <%= @white_ip.interfaces.join(', ') %></li>
|
||||
</ul>
|
||||
<p>
|
||||
Kõik päringud, mis algavad IP-aadressist <%= @white_ip.ipv4.presence || @white_ip.ipv6 %>, saavad meie süsteemis piiranguteta juurdepääsu.
|
||||
Palun veenduge, et hoiaksite selle IP-aadressi turvalisust ja konfidentsiaalsust, et vältida volitamata juurdepääsu.
|
||||
</p>
|
||||
Kui Teil on küsimusi seoses Teie lubatud IP-aadressi aktiveerimisega, võtke meiega ühendust.
|
||||
</p>
|
||||
<p>
|
||||
Parimate soovidega,
|
||||
</p>
|
||||
<%= render 'mailers/shared/signatures/signature.et.html' %>
|
||||
<hr>
|
||||
<br><br>
|
||||
|
||||
Hi,
|
||||
<br><br>
|
||||
<p>
|
||||
We would like to inform you that the whitelisted IP address associated with your account has been successfully activated.
|
||||
</p>
|
||||
<h3>IP address Details:</h3>
|
||||
<ul>
|
||||
<li><strong>IP address:</strong> <%= @white_ip.ipv4.presence || @white_ip.ipv6 %></li>
|
||||
<li><strong>Interfaces:</strong> <%= @white_ip.interfaces.join(', ') %></li>
|
||||
</ul>
|
||||
<p>
|
||||
All requests originating from the IP address <%= @white_ip.ipv4.presence || @white_ip.ipv6 %> will now have unrestricted access to our system.
|
||||
Please ensure the security and confidentiality of this IP address to prevent unauthorized access.
|
||||
</p>
|
||||
If you have any questions regarding the activation of your whitelisted IP address, please contact us.
|
||||
</p>
|
||||
<p>
|
||||
Best regards,
|
||||
</p>
|
||||
<%= render 'mailers/shared/signatures/signature.en.html' %>
|
32
app/views/mailers/white_ip_mailer/committed.text.erb
Normal file
32
app/views/mailers/white_ip_mailer/committed.text.erb
Normal file
|
@ -0,0 +1,32 @@
|
|||
Tere,
|
||||
|
||||
Anname teada, et Teie konto juurde kuuluv lubatud IP-aadress on edukalt aktiveeritud.
|
||||
|
||||
IP-aadressi andmed:
|
||||
- IP-aadress: <%= @white_ip.ipv4.presence || @white_ip.ipv6 %>
|
||||
- Liidesed: <%= @white_ip.interfaces.join(', ') %>
|
||||
|
||||
Kõik päringud, mis algavad IP-aadressist <%= @white_ip.ipv4.presence || @white_ip.ipv6 %>, saavad meie süsteemis piiranguteta juurdepääsu.
|
||||
Palun veenduge, et hoiaksite selle IP-aadressi turvalisust ja konfidentsiaalsust, et vältida volitamata juurdepääsu.
|
||||
|
||||
Kui Teil on küsimusi seoses Teie lubatud IP-aadressi aktiveerimisega, võtke meiega ühendust.
|
||||
|
||||
Parimate soovidega,
|
||||
<%= render 'mailers/shared/signatures/signature.et.html' %>
|
||||
---
|
||||
|
||||
Hi,
|
||||
|
||||
We would like to inform you that the whitelisted IP address associated with your account has been successfully activated.
|
||||
|
||||
IP address Details:
|
||||
- IP address: <%= @white_ip.ipv4.presence || @white_ip.ipv6 %>
|
||||
- Interfaces: <%= @white_ip.interfaces.join(', ') %>
|
||||
|
||||
All requests originating from the IP address <%= @white_ip.ipv4.presence || @white_ip.ipv6 %> will now have unrestricted access to our system.
|
||||
Please ensure the security and confidentiality of this IP address to prevent unauthorized access.
|
||||
|
||||
If you have any questions regarding the activation of your whitelisted IP address, please contact us.
|
||||
|
||||
Best regards,
|
||||
<%= render 'mailers/shared/signatures/signature.en.html' %>
|
Loading…
Add table
Add a link
Reference in a new issue