21
1
Fork 0
mirror of https://github.com/Evolix/chexpire.git synced 2024-05-25 03:38:49 +02:00
chexpire/app/views/checks/_table.html.erb

21 lines
741 B
Plaintext
Raw Normal View History

<% checks.each do |check| %>
<div class="mb-4">
<div>Domain: <%= check.domain %></div>
<div>Kind: <%= check.kind %></div>
<div>Created date: <%= l(check.domain_created_at.to_date) if check.domain_created_at.present? %></div>
<div>Update date: <%= l(check.domain_updated_at.to_date) if check.domain_updated_at.present? %></div>
<div>Expire date: <%= l(check.domain_expires_at.to_date) if check.domain_expires_at.present? %></div>
<% if check.comment? %>
<div>Comment: <%= check.comment %></div>
<% end %>
<% if check.vendor? %>
<div>Vendor: <%= check.vendor %></div>
<% end %>
<div>Active: <%= check.active %></div>
<%= link_to "Edit", edit_check_path(check) %>
</div>
<% end %>