mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-17 13:44:09 +00:00
user ability for registration is used for chcking whether a user can register or not
This commit is contained in:
parent
b1f32caf7c
commit
e607aca680
2 changed files with 3 additions and 3 deletions
|
|
@ -1,6 +1,6 @@
|
|||
- progress_status = event.progress_status
|
||||
%ul.list-unstyled
|
||||
- if @conference.registration_open? || (@conference.user_registered? current_user)
|
||||
- if can? :create, @conference.registrations.new
|
||||
%li{'class'=>class_for_todo(progress_status['registered'])}
|
||||
%span{'class'=>icon_for_todo(progress_status['registered'])}
|
||||
- if progress_status['registered']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue