mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Only show confirmed speakers on registrations
This commit is contained in:
parent
b65a33f047
commit
eb817569a5
1 changed files with 4 additions and 4 deletions
|
|
@ -126,13 +126,13 @@
|
|||
- @conference.participants.each do |participant|
|
||||
= image_tag(participant.gravatar_url(size: '25'), title: "#{participant.name}!", class: 'img-circle')
|
||||
.col-md-4.col-md-offset-2
|
||||
- if @conference.speakers.any?
|
||||
- if @conference.speakers.confirmed.any?
|
||||
%h4
|
||||
%span.fa-stack
|
||||
%i.fa.fa-square-o.fa-stack-2x
|
||||
%i.fa.fa-microphone.fa-stack-1x
|
||||
= @conference.speakers.count
|
||||
= @conference.speakers.confirmed.count
|
||||
Confirmed
|
||||
= word_pluralize(@conference.speakers.count, 'Speaker')
|
||||
- @conference.speakers.each do |speaker|
|
||||
= word_pluralize(@conference.speakers.confirmed.count, 'Speaker')
|
||||
- @conference.speakers.confirmed.each do |speaker|
|
||||
= image_tag(speaker.gravatar_url(size: '25'), title: "#{speaker.name}!", class: 'img-circle')
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue