mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Merge pull request #2525 from Ana06/fix_event_registrations
Fix event registatrion for rooms without size
This commit is contained in:
commit
9303375f7e
1 changed files with 1 additions and 1 deletions
|
|
@ -11,7 +11,7 @@
|
||||||
for
|
for
|
||||||
= @event.title
|
= @event.title
|
||||||
|
|
||||||
- if @event.room && (@event_registrations.length > @event.room.size)
|
- if @event.room.try(:size) && (@event_registrations.length > @event.room.size)
|
||||||
%b Attention:
|
%b Attention:
|
||||||
You have more registrations than the capacity of the room!
|
You have more registrations than the capacity of the room!
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue