summaryrefslogtreecommitdiff
path: root/app/views/config_snom/show.xml.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/config_snom/show.xml.haml')
-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