diff options
author | Peter Kozak <spag@golwen.net> | 2013-03-19 01:58:21 -0400 |
---|---|---|
committer | Peter Kozak <spag@golwen.net> | 2013-03-19 01:58:21 -0400 |
commit | 6f3629d352b05524cb7351d235d184802e381974 (patch) | |
tree | 7447678047d0b7d3d831e6f3e9646004bb625c9f /app/views/conferences | |
parent | e6e893009b763ac8013088a9f8d041e5e43c0bd3 (diff) |
list members
Diffstat (limited to 'app/views/conferences')
-rw-r--r-- | app/views/conferences/show.html.haml | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/app/views/conferences/show.html.haml b/app/views/conferences/show.html.haml index 302f294..fcebb88 100644 --- a/app/views/conferences/show.html.haml +++ b/app/views/conferences/show.html.haml @@ -45,6 +45,24 @@ %strong= t('conferences.show.announce_left_member_by_name') + ":" %td = @conference.announce_left_member_by_name + - conference_data = @conference.list_conference + - if conference_data + %tr + %td + %strong= t('conferences.show.identifier') + ":" + %td + = conference_data['name'] + %tr + %td + %strong= t('conferences.show.member_count') + ":" + %td + = conference_data['member_count'] + %tr + %td + %strong= t('conferences.show.run_time') + ":" + %td + = conference_data['run_time'] + = render :partial => 'shared/show_edit_destroy_part', :locals => { :parent => @parent, :child => @conference } @@ -54,6 +72,11 @@ = render :partial => 'shared/create_link', :locals => {:parent => @conference, :child_class => PhoneNumber} +- members = @conference.list_members(conference_data) +- if members && members.count > 0 + %h2= t("conferences.show.members") + = render "index_members", :members => members + %h2= t("conference_invitees.index.page_title") - if @conference.conference_invitees.count > 0 = render "conference_invitees/index_core", :conference_invitees => @conference.conference_invitees |