mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-18 06:01:12 +00:00
show no of pre-registered people in proposal list
This commit is contained in:
parent
1bd779b6c1
commit
3192ad9d4c
2 changed files with 6 additions and 0 deletions
|
|
@ -21,6 +21,8 @@
|
|||
= link_to event.title, conference_proposal_path(@conference.short_title, event.id)
|
||||
%td
|
||||
= event.public_state
|
||||
- if event.state == 'confirmed' && event.require_registration == true
|
||||
(Pre-registered: #{pre_registered(event).count})
|
||||
- if event.confirmed? && !@conference.user_registered?(current_user)
|
||||
%br
|
||||
= link_to "Register to attend", register_conference_path(@conference.short_title), :style => "font-size:10px;"
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue