forked from snap-cloud/snapcon
-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
See openSUSE/osem#2712 for more. Small bugfix with the chat embed.
- Loading branch information
1 parent
506deb4
commit 2be810c
Showing
4 changed files
with
10 additions
and
9 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -32,4 +32,8 @@ def active? | |
now <= end_date | ||
end | ||
end | ||
|
||
def event | ||
return surveyable_id | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -107,6 +107,11 @@ | |
%dt Requires Registration: | ||
%dd | ||
= link_to "Yes (#{registered_text(@event)})", new_conference_conference_registration_path(@conference.short_title), class: 'btn btn-xs btn-danger', disabled: [email protected]_possible? | ||
- if @surveys_after_event.any? | ||
.col-md-12 | ||
%dt Survey: | ||
%dd | ||
= render partial: 'surveys/list', locals: { surveys: @surveys_after_event, conference: @conference } | ||
- if concurrent_events(@event).present? | ||
.col-md-12 | ||
%hr | ||
|
@@ -126,8 +131,3 @@ | |
%dt Room: | ||
%dd | ||
= event.room.name | ||
.row | ||
.col-md-12 | ||
- if @surveys_after_event.any? && @event.ended? | ||
.page-header | ||
= render partial: 'surveys/list', locals: { surveys: @surveys_after_event, conference: @conference } |