Sha256: e117b15c2948abce43c0d86ed7552accce10b0d6f2508f31f9c4f5ecd6925a4f
Contents?: true
Size: 813 Bytes
Versions: 5
Compression:
Stored size: 813 Bytes
Contents
<% title _("Domains") %> <% title_actions display_link_if_authorized(_("New Domain"), hash_for_new_domain_path), help_path %> <table class="table table-bordered table-striped"> <tr> <th><%= sort :name, :as => s_("Domain|Fullname") %></th> <th><%= _("Hosts") %></th> <th></th> </tr> <% for domain in @domains %> <tr> <td><%= link_to_if_authorized h(domain.fullname.empty? ? domain.name : domain.fullname), hash_for_edit_domain_path(:id => domain.name)%></td> <td><%= link_to @counter[domain.id] || 0, hosts_path(:search => "domain = #{domain}") %> <td><%= display_delete_if_authorized hash_for_domain_path(:id => domain), :confirm => _("Delete %s?") % domain.name %></td> </tr> <% end %> </table> <%= page_entries_info @domains %> <%= will_paginate @domains %>
Version data entries
5 entries across 5 versions & 1 rubygems