mirror of
https://github.com/openSUSE/osem.git
synced 2026-08-13 19:54:02 +00:00
Merge pull request #1004 from ChrisBr/proposal_show
Make proposal show view more robust
This commit is contained in:
commit
afbffbf2b1
1 changed files with 3 additions and 3 deletions
|
|
@ -58,7 +58,7 @@
|
|||
.col-md-12
|
||||
%dt Room:
|
||||
%dd
|
||||
- if @event.room_id
|
||||
- if @event.room
|
||||
= @event.room.name
|
||||
.col-md-12
|
||||
%dt Conference:
|
||||
|
|
@ -69,13 +69,13 @@
|
|||
.col-md-12
|
||||
%dt Track:
|
||||
%dd
|
||||
- if @event.track_id
|
||||
- if @event.track
|
||||
%span.label{:style =>"background-color: #{@event.track.color};"}
|
||||
= @event.track.name
|
||||
.col-md-12
|
||||
%dt Difficulty:
|
||||
%dd
|
||||
- if @event.difficulty_level_id
|
||||
- if @event.difficulty_level
|
||||
%span.label{:style =>"background-color: #{@event.difficulty_level.color};"}
|
||||
= @event.difficulty_level.title
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue