mirror of
https://github.com/internetee/registry.git
synced 2025-07-23 19:20:37 +02:00
white IPs in admin generate ip link only if they exists
This commit is contained in:
parent
7ce525ddef
commit
5d1f691967
1 changed files with 6 additions and 2 deletions
|
@ -96,6 +96,10 @@
|
|||
%tbody
|
||||
- @registrar.white_ips.each do |x|
|
||||
%tr
|
||||
%td= link_to(x.ipv4, [:admin, @registrar, x])
|
||||
%td= link_to(x.ipv6, [:admin, @registrar, x])
|
||||
%td
|
||||
- if x.ipv4.present?
|
||||
= link_to(x.ipv4, [:admin, @registrar, x])
|
||||
%td
|
||||
- x.ipv6.present?
|
||||
= link_to(x.ipv6, [:admin, @registrar, x])
|
||||
%td= x.interfaces.join(', ').upcase
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue