diff options
author | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-21 22:25:32 +0100 |
---|---|---|
committer | Stefan Wintermeyer <stefan.wintermeyer@amooma.de> | 2013-01-22 00:02:50 +0100 |
commit | c52babd4346b1a52c28bb7437d0434ecfb9ab70f (patch) | |
tree | d6d8242e3c01619bcf1b0c4525c51d599603e457 /app/views/call_routes | |
parent | d8fe3b636cab1504cb5d3cb5dc57ed818749ccf5 (diff) |
Twitter Bootstrap stuff.
Diffstat (limited to 'app/views/call_routes')
-rw-r--r-- | app/views/call_routes/_index_core.html.haml | 16 |
1 files changed, 11 insertions, 5 deletions
diff --git a/app/views/call_routes/_index_core.html.haml b/app/views/call_routes/_index_core.html.haml index 222303b..5dc7c21 100644 --- a/app/views/call_routes/_index_core.html.haml +++ b/app/views/call_routes/_index_core.html.haml @@ -2,14 +2,20 @@ %table{:class => 'table table-striped'} %tr %th= t('call_routes.index.name') + %th= t('route_elements.index.pattern') %th= t('call_routes.index.endpoint_type') - %th= t('call_routes.index.endpoint_id') - + %th{:colspan => '3'} - for call_route in call_routes - %tr - - cache(['call_route_single_table_row_within_tr', call_route, call_routes.count]) do + - cache(['call_route_single_table_row', call_route, call_routes.count]) do + %tr %td= call_route.name + %td + - if call_route.route_elements.any? + = call_route.route_elements.first.pattern + - if call_route.route_elements.count > 1 + = ', ...' + - else + = '-' %td= call_route.endpoint_type - %td= call_route.endpoint_id =render :partial => 'shared/index_view_edit_destroy_part', :locals => {:child => call_route}
\ No newline at end of file |