From 2470988e06ff861c92d3dc833755f4b262798a12 Mon Sep 17 00:00:00 2001 From: Peter Kozak Date: Tue, 19 Mar 2013 01:57:10 -0400 Subject: members list view added --- app/views/conferences/_index_members.html.haml | 40 ++++++++++++++++++++++++++ 1 file changed, 40 insertions(+) create mode 100644 app/views/conferences/_index_members.html.haml (limited to 'app') diff --git a/app/views/conferences/_index_members.html.haml b/app/views/conferences/_index_members.html.haml new file mode 100644 index 0000000..3837f25 --- /dev/null +++ b/app/views/conferences/_index_members.html.haml @@ -0,0 +1,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') -- cgit v1.2.3