diff options
Diffstat (limited to 'app/views/call_routes/_index_core.html.haml')
-rw-r--r-- | app/views/call_routes/_index_core.html.haml | 12 |
1 files changed, 8 insertions, 4 deletions
diff --git a/app/views/call_routes/_index_core.html.haml b/app/views/call_routes/_index_core.html.haml index f0acebb..a62a9c4 100644 --- a/app/views/call_routes/_index_core.html.haml +++ b/app/views/call_routes/_index_core.html.haml @@ -1,15 +1,19 @@ -- cache(['call_routes_table', call_routes.count, call_routes.reorder(:updated_at).last]) do +- cache(['call_routes_table', I18n.locale, call_routes.count, call_routes.reorder(:updated_at).last]) do %table.table.table-striped %thead %tr + %th %th= t('call_routes.index.name') %th= t('route_elements.index.pattern') %th= t('call_routes.index.endpoint') - %tbody + %tbody{ :class => "call_routes", :id => "call_routes_#{routing_table}", :'data-update-url' => sort_call_routes_url} - for call_route in call_routes - - cache(['call_route_single_table_row', call_route, call_routes.count]) do - %tr + - cache(['call_route_single_table_row', I18n.locale, call_route]) do + = content_tag_for :tr, call_route do + %td + %span.handle + %i.icon-resize-vertical %td= call_route.name %td - if call_route.route_elements.any? |