Created
June 17, 2013 21:37
-
-
Save lantins/5800693 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| <tbody> | |
| <!-- table rows --> | |
| <% if domains.blank? %> | |
| <tr class=""> | |
| <td colspan="5"> | |
| <div class="text-center">No domain names to display.</div> | |
| </td> | |
| </tr> | |
| <% else %> | |
| <% domains.each do |domain| %> | |
| <tr> | |
| <td><%= domain.registered || '-' %></td> | |
| <td><%= domain.expiry || '-' %></td> | |
| <td><%= domain.expiry_days || '-' %></td> | |
| <td><a href="<%= domain_path(domain) %>"><%= domain.name %></a></td> | |
| <td><%= domain.whois_synced_at ? domain.whois_synced_at.to_s(:short_datetime) : '-' %></td> | |
| </tr> | |
| <% end %> | |
| <% end %> | |
| </tbody> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment