summaryrefslogtreecommitdiff
path: root/app/views/config_polycom/_phone_book.xml.haml
blob: 27110f528e7c02d1fbd3e4f42f643cf959b64aa5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
!!! XML
%html
  %head
    %title= @phone_xml_object[:title]
  %body
    %table.table.table-striped{ :border => 0 }
      %tbody
        - @phone_xml_object[:entries].each do |entry|
          %tr
            %td= entry[:text]
            %td
              = "#{entry[:type][0]}: "
              %a{:href => entry[:url]}= entry[:number]

    %softkey{ :index => 1, :label => 'Home', :action => 'SoftKey:Home' }
    %softkey{ :index => 2, :label => 'Refresh', :action => 'SoftKey:Refresh' }
    %softkey{ :index => 4, :label => 'Exit', :action => 'SoftKey:Exit' }
    %softkey{ :index => 3, :label => 'Back', :action => 'SoftKey:Back' }