summaryrefslogtreecommitdiff
path: root/app/views/config_polycom/_phone_book.xml.haml
blob: 3867f41e5f451448bd18a1839b985a41c75c80c3 (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{:class => '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' }