summaryrefslogtreecommitdiff
path: root/app/views/call_routes
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-02-05 13:58:58 +0100
committerspag <spag@golwen.net>2013-02-05 13:58:58 +0100
commitbcce809c6e628fb7c067437e98a5195c5e228532 (patch)
tree45d9e2f703f1ec7c35927824796844fb6d4b27a6 /app/views/call_routes
parentc7389cb6f1a305bc7e5cfefd9548c1e1bf7b6018 (diff)
show dialplan variables
Diffstat (limited to 'app/views/call_routes')
-rw-r--r--app/views/call_routes/show_variables.html.haml13
1 files changed, 13 insertions, 0 deletions
diff --git a/app/views/call_routes/show_variables.html.haml b/app/views/call_routes/show_variables.html.haml
new file mode 100644
index 0000000..4bec39d
--- /dev/null
+++ b/app/views/call_routes/show_variables.html.haml
@@ -0,0 +1,13 @@
+%h3= 'Channel Variables'
+
+%table.table.table-striped
+ %thead
+ %tr
+ %th= 'Variable'
+ %th= 'Value'
+
+ %tbody{ :id => "show_variables" }
+ - @channel_variables.each do |key, value|
+ %tr
+ %td= key
+ %td= value.gsub(/\n/, '<br/>').html_safe