summaryrefslogtreecommitdiff
path: root/app/views/config_snom/_snom_phone_text.xml.haml
blob: 6c3773c919aa36b7fde6961640d4b782bf02bad2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
!!! XML
%SnomIPPhoneText
  %Title= @phone_xml_object[:title]
  %Prompt= @phone_xml_object[:prompt]
  %Text= @phone_xml_object[:text]
  - if @phone_xml_object[:softkeys]
    - @phone_xml_object[:softkeys].each do |softkey|
      %SoftKeyItem
        %Name=  softkey[:name]
        %Label= softkey[:label]
        - if ! softkey[:url].blank?
          %URL= softkey[:url]
        - if ! softkey[:softkey].blank?
          %URL= softkey[:softkey]
  -if @phone_xml_object[:fetch_url]
    %fetch{:mil => @phone_xml_object[:fetch_mil]}= @phone_xml_object[:fetch_url]