summaryrefslogtreecommitdiff
path: root/app/views/call_routes/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/call_routes/show.html.haml')
-rw-r--r--app/views/call_routes/show.html.haml22
1 files changed, 22 insertions, 0 deletions
diff --git a/app/views/call_routes/show.html.haml b/app/views/call_routes/show.html.haml
new file mode 100644
index 0000000..70fe13e
--- /dev/null
+++ b/app/views/call_routes/show.html.haml
@@ -0,0 +1,22 @@
+- content_for :title, t("call_routes.show.page_title")
+
+%p
+ %strong= t('call_routes.show.table') + ":"
+ = @call_route.routing_table
+%p
+ %strong= t('call_routes.show.name') + ":"
+ = @call_route.name
+%p
+ %strong= t('call_routes.show.endpoint_type') + ":"
+ = @call_route.endpoint_type
+%p
+ %strong= t('call_routes.show.endpoint_id') + ":"
+ = @call_route.endpoint_id
+
+= render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @call_route }
+
+%h3= t('route_elements.index.page_title')
+- if @call_route.route_elements && @call_route.route_elements.count > 0
+ = render "route_elements/index_core", :route_elements => @call_route.route_elements
+
+= render :partial => 'shared/create_link', :locals => { :parent => @call_route, :child_class => RouteElement }