summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorspag <spag@golwen.net>2013-02-13 08:47:26 +0100
committerspag <spag@golwen.net>2013-02-13 08:47:26 +0100
commit1b9b5327df5a81957b2042869213bb464c6e03ca (patch)
tree295fff52cd2416c2228a1c11367a279c17cdbf7f
parent6875af1a6f193ecc74653ad9372ab0ef2d0ef85e (diff)
dial action added
-rw-r--r--app/views/config_snom/show.xml.haml4
1 files changed, 3 insertions, 1 deletions
diff --git a/app/views/config_snom/show.xml.haml b/app/views/config_snom/show.xml.haml
index 33204dc..1102ad1 100644
--- a/app/views/config_snom/show.xml.haml
+++ b/app/views/config_snom/show.xml.haml
@@ -176,7 +176,9 @@
%action
- softkey[:actions].each do |action|
- if action[:type] == :url
- %url{:target => action[:target], :when => action[:when]}
+ %url{:target => action[:target], :when => action[:when], :states => action[:states]}
+ - elsif action[:type] == :dial
+ %dial{:target => action[:target], :when => action[:when], :states => action[:states], :request_uri => '$(remote_uri)'}
%uploads
- if @state_settings_url