summaryrefslogtreecommitdiff
path: root/app/views
diff options
context:
space:
mode:
Diffstat (limited to 'app/views')
-rw-r--r--app/views/call_routes/_form_core.html.haml1
-rw-r--r--app/views/call_routes/_index_core.html.haml2
-rw-r--r--app/views/call_routes/show.html.haml3
3 files changed, 6 insertions, 0 deletions
diff --git a/app/views/call_routes/_form_core.html.haml b/app/views/call_routes/_form_core.html.haml
index 6679a7b..926c985 100644
--- a/app/views/call_routes/_form_core.html.haml
+++ b/app/views/call_routes/_form_core.html.haml
@@ -2,3 +2,4 @@
= f.input :routing_table, :collection => CallRoute::ROUTING_TABLES, :label => t('call_routes.form.table.label'), :hint => conditional_hint('call_routes.form.table.hint'), :include_blank => false, :autofocus => true
= f.input :name, :label => t('call_routes.form.name.label'), :hint => conditional_hint('call_routes.form.name.hint')
= f.input :endpoint_str, :collection => @endpoints, :label => t('call_routes.form.endpoint.label'), :hint => conditional_hint('call_routes.form.endpoint.hint'), :include_blank => false
+ = f.input :position, :label => t('call_routes.form.position.label'), :hint => conditional_hint('call_routes.form.position.hint') \ No newline at end of file
diff --git a/app/views/call_routes/_index_core.html.haml b/app/views/call_routes/_index_core.html.haml
index f0acebb..52a45ba 100644
--- a/app/views/call_routes/_index_core.html.haml
+++ b/app/views/call_routes/_index_core.html.haml
@@ -2,6 +2,7 @@
%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')
@@ -10,6 +11,7 @@
- for call_route in call_routes
- cache(['call_route_single_table_row', call_route, call_routes.count]) do
%tr
+ %td= call_route.position
%td= call_route.name
%td
- if call_route.route_elements.any?
diff --git a/app/views/call_routes/show.html.haml b/app/views/call_routes/show.html.haml
index 09daf53..a33a29b 100644
--- a/app/views/call_routes/show.html.haml
+++ b/app/views/call_routes/show.html.haml
@@ -1,6 +1,9 @@
- content_for :title, t("call_routes.show.page_title")
%p
+ %strong= t('call_routes.show.position') + ":"
+ = @call_route.position
+%p
%strong= t('call_routes.show.table') + ":"
= @call_route.routing_table
%p