Only show confirmed speakers on registrations

This commit is contained in:
Henne Vogelsang 2014-12-10 15:31:21 +01:00
parent b65a33f047
commit dd5c2fbe3e

View file

@ -131,8 +131,8 @@
%span.fa-stack %span.fa-stack
%i.fa.fa-square-o.fa-stack-2x %i.fa.fa-square-o.fa-stack-2x
%i.fa.fa-microphone.fa-stack-1x %i.fa.fa-microphone.fa-stack-1x
= @conference.speakers.count = @conference.speakers.confirmed.count
Confirmed Confirmed
= word_pluralize(@conference.speakers.count, 'Speaker') = word_pluralize(@conference.speakers.confirmed.count, 'Speaker')
- @conference.speakers.each do |speaker| - @conference.speakers.each do |speaker|
= image_tag(speaker.gravatar_url(size: '25'), title: "#{speaker.name}!", class: 'img-circle') = image_tag(speaker.gravatar_url(size: '25'), title: "#{speaker.name}!", class: 'img-circle')