summaryrefslogtreecommitdiff
path: root/app/views/call_forwards/show.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/call_forwards/show.html.haml')
-rw-r--r--app/views/call_forwards/show.html.haml33
1 files changed, 33 insertions, 0 deletions
diff --git a/app/views/call_forwards/show.html.haml b/app/views/call_forwards/show.html.haml
new file mode 100644
index 0000000..6d1a0c6
--- /dev/null
+++ b/app/views/call_forwards/show.html.haml
@@ -0,0 +1,33 @@
+- title t("call_forwards.show.page_title")
+
+%p
+ %strong= t('call_forwards.show.phone_number_id') + ":"
+ = @call_forward.phone_number
+%p
+ %strong= t('call_forwards.show.call_forward_case_id') + ":"
+ = t("call_forward_cases.#{@call_forward.call_forward_case.value}")
+%p
+ %strong= t('call_forwards.show.timeout') + ":"
+ = @call_forward.timeout
+%p
+ %strong= t('call_forwards.show.destination') + ":"
+ = @call_forward.destination
+- if @call_forward.call_forwardable_type == 'HuntGroup' && @call_forward.call_forwardable.class == HuntGroup
+ %p
+ %strong= t('call_forwards.show.hunt_group') + ":"
+ = @call_forward.call_forwardable
+- if @call_forward.call_forwardable_type == 'Voicemail'
+ %p
+ %strong= t('call_forwards.show.to_voicemail') + ":"
+ = 'active'
+%p
+ %strong= t('call_forwards.show.source') + ":"
+ = @call_forward.source
+%p
+ %strong= t('call_forwards.show.depth') + ":"
+ = @call_forward.depth
+%p
+ %strong= t('call_forwards.show.active') + ":"
+ = @call_forward.active
+
+= render :partial => 'shared/show_edit_destroy_part', :locals => { :parent => @phone_number, :child => @call_forward } \ No newline at end of file