summaryrefslogtreecommitdiff
path: root/app/views/config_snom/idle_screen.xml.haml
blob: 9476c44c596797e1400dddf9789d169dcf4ff260 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
!!! XML
%screen_description
  - if @phone_xml_object[:image]
    %Image
      %Data{:encoding => 'base64'}= @phone_xml_object[:image][:data]
      %LocationX= @phone_xml_object[:image][:location_x]
      %LocationY= @phone_xml_object[:image][:location_y]
      %Invert= @phone_xml_object[:image][:invert]
  - if @phone_xml_object[:clock]
    %Clock
      %LocationX= @phone_xml_object[:clock][:location_x]
      %LocationY= @phone_xml_object[:clock][:location_y]
  - if @phone_xml_object[:digital_clock]
    %DigitalClock
      %LocationX= @phone_xml_object[:digital_clock][:location_x]
      %LocationY= @phone_xml_object[:digital_clock][:location_y]
  - if @phone_xml_object[:date]
    %Date
      %LocationX= @phone_xml_object[:date][:location_x]
      %LocationY= @phone_xml_object[:date][:location_y]
  - if @phone_xml_object[:line]
    %Line
      %Account
        %LocationX= @phone_xml_object[:line][:location_x]
        %LocationY= @phone_xml_object[:line][:location_y]
  - if @phone_xml_object[:status]
    %Status
      %LocationX= @phone_xml_object[:status][:location_x]
      %LocationY= @phone_xml_object[:status][:location_y]
  - if @phone_xml_object[:softkeys]
    %Softkeys
      %LocationX= @phone_xml_object[:softkeys][:location_x]
      %LocationY= @phone_xml_object[:softkeys][:location_y]