summaryrefslogtreecommitdiff
path: root/app/views/call_routes/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/call_routes/index.html.haml')
-rw-r--r--app/views/call_routes/index.html.haml11
1 files changed, 11 insertions, 0 deletions
diff --git a/app/views/call_routes/index.html.haml b/app/views/call_routes/index.html.haml
new file mode 100644
index 0000000..bd4468c
--- /dev/null
+++ b/app/views/call_routes/index.html.haml
@@ -0,0 +1,11 @@
+- content_for :title, t("call_routes.index.page_title")
+
+- if @call_routes && @call_routes.count > 0
+ %table{:class => '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)
+
+= render :partial => 'shared/create_link', :locals => {:child_class => CallRoute}