<% title _("Domains") %> <% title_actions display_link_if_authorized(_("New Domain"), hash_for_new_domain_path), help_path %> <% for domain in @domains %> <% end %>
<%= sort :name, :as => s_("Domain|Fullname") %> <%= _("Hosts") %>
<%= link_to_if_authorized h(domain.fullname.empty? ? domain.name : domain.fullname), hash_for_edit_domain_path(:id => domain.name)%> <%= link_to @counter[domain.id] || 0, hosts_path(:search => "domain = #{domain}") %> <%= display_delete_if_authorized hash_for_domain_path(:id => domain), :confirm => _("Delete %s?") % domain.name %>
<%= page_entries_info @domains %> <%= will_paginate @domains %>