diff options
author | Peter Kozak <spag@golwen.net> | 2013-03-03 04:03:24 -0500 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-03-03 04:03:24 -0500 |
commit | b8425f5453eab4a0fe475952af89d55ace45878e (patch) | |
tree | e3c94e998ae382fb33e26a529327bc3368b64b3b /app/views/intruders/index.html.haml | |
parent | 6ed538ee9385245a7bbac838dd5b796bba2ea0c6 (diff) |
firewall restart after intruder changes
Diffstat (limited to 'app/views/intruders/index.html.haml')
-rw-r--r-- | app/views/intruders/index.html.haml | 9 |
1 files changed, 6 insertions, 3 deletions
diff --git a/app/views/intruders/index.html.haml b/app/views/intruders/index.html.haml index 72b8882..79b4ceb 100644 --- a/app/views/intruders/index.html.haml +++ b/app/views/intruders/index.html.haml @@ -1,6 +1,9 @@ - content_for :title, t("intruders.index.page_title") -- if @intruders && @intruders.count > 0 - = render "index_core", :intruders => @intruders +- if @intruders && @intruders.count > 0 && @list_types && @list_types.count > 0 + - @list_types.each do |list_type| + %h3= list_type + %table.table.table-striped + = render "index_core", :intruders => @intruders.where(:list_type => list_type) -= render :partial => 'shared/create_link', :locals => {:child_class => Intruder}
\ No newline at end of file += render :partial => 'shared/create_link', :locals => {:child_class => Intruder} |