summaryrefslogtreecommitdiff
path: root/app/views/conferences/_index_members.html.haml
blob: 3837f25d7268d0b620416f6d70e4b70d2d682b8f (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
34
35
36
37
38
39
40
%table.table.table-striped
  %thead
    %tr
      %th= t('conferences.index_members.caller')
      %th= t('conferences.index_members.join_time')
      %th= t('conferences.index_members.talking')
      %th= t('conferences.index_members.flags')


  %tbody
    - for member in members
      %tr
        %td
          -if member[:call]
            - if member[:call_bleg]
              = member[:call].b_caller_id_name
              = member[:call].b_caller_id_number
            - else
              = member[:call].caller_id_name
              = member[:call].caller_id_number
        %td
          = member['join_time']
        %td
          =  member['flags']['talking']
        %td
          - if member['flags']['can_hear'] == 'true'
            %span.label
              = t('conferences.index_members.can_hear')
          - if member['flags']['can_speak'] == 'true'
            %span.label
              = t('conferences.index_members.can_speak')
          - if member['flags']['is_moderator'] == 'true'
            %span.label
              = t('conferences.index_members.moderator')
          - if member['flags']['has_floor'] == 'true'
            %span.label
              = t('conferences.index_members.has_floor')
          - if member['flags']['has_video'] == 'true'
            %span.label
              = t('conferences.index_members.video')