diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-02 11:44:11 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-02-02 11:44:11 +0100 |
commit | b8c39c59cf7e698d5653cc49fa746506a9c41e24 (patch) | |
tree | b5f782af7817270fc610f7756082608d00685e19 /app/views/call_routes/index.html.haml | |
parent | aad8a03991fe616f84fa18ed1db81831220f8d64 (diff) | |
parent | ba5b2737365592cc511a526a3b14be46c3a75467 (diff) |
Merge branch 'sortable' into develop
Diffstat (limited to 'app/views/call_routes/index.html.haml')
-rw-r--r-- | app/views/call_routes/index.html.haml | 11 |
1 files changed, 4 insertions, 7 deletions
diff --git a/app/views/call_routes/index.html.haml b/app/views/call_routes/index.html.haml index 488e1c7..d5181e3 100644 --- a/app/views/call_routes/index.html.haml +++ b/app/views/call_routes/index.html.haml @@ -1,11 +1,8 @@ - content_for :title, t("call_routes.index.page_title") -- if @call_routes && @call_routes.count > 0 - %table.table.table-striped - - @routing_tables.each do |routing_table| - %tr - %td{:colspan => 3} - %h3= routing_table - = render "index_core", :call_routes => @call_routes.where(:routing_table => routing_table) +- if @call_routes && @call_routes.any? + - @routing_tables.each do |routing_table| + %h3= routing_table + = render "index_core", :call_routes => @call_routes.where(:routing_table => routing_table) = render :partial => 'shared/create_link', :locals => {:child_class => CallRoute} |