summaryrefslogtreecommitdiff
path: root/app/views/call_routes/show.html.haml
diff options
context:
space:
mode:
authorStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-16 21:47:37 +0100
committerStefan Wintermeyer <stefan.wintermeyer@amooma.de>2013-01-16 21:47:37 +0100
commita518270dbafa6eb9265c4124ca2887149c3de362 (patch)
tree0fee7e664d57b2b057d556f0d3ac6fd29737ee52 /app/views/call_routes/show.html.haml
parent9ffaaeeb42b364f2c7d9b7d17a272c530f546c83 (diff)
parent046ce09895a08778c971052f6d22ecd6422aee6d (diff)
Merge branch 'develop' of github.com:amooma/GS5 into develop
Diffstat (limited to 'app/views/call_routes/show.html.haml')
-rw-r--r--app/views/call_routes/show.html.haml8
1 files changed, 7 insertions, 1 deletions
diff --git a/app/views/call_routes/show.html.haml b/app/views/call_routes/show.html.haml
index 31c3cb0..c5c7397 100644
--- a/app/views/call_routes/show.html.haml
+++ b/app/views/call_routes/show.html.haml
@@ -16,4 +16,10 @@
%strong= t('call_routes.show.position') + ":"
= @call_route.position
-= render :partial => 'shared/show_edit_destroy_part', :locals => { :child => @call_route } \ No newline at end of file
+= 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 }