fix error
This commit is contained in:
parent
f2215be917
commit
e9d82304a2
|
@ -566,6 +566,7 @@ class EventNewsController < ApplicationController
|
|||
"notes-head" => t('event_news.notes'),
|
||||
"speaker" => event_news.speaker,
|
||||
"speaker-css" => (event_news.speaker.blank? ? "display: none;" : "display: inline-block;"),
|
||||
"host-css" => (event_news.host.blank? ? "display: none;" : "display: inline-block;"),
|
||||
"host" => event_news.host,
|
||||
"notes" => event_news.notes,
|
||||
"title" => event_news.title,
|
||||
|
|
|
@ -161,12 +161,14 @@
|
|||
<span>{{speaker-head}}:</span>
|
||||
<span>{{speaker}}</span>
|
||||
</span>
|
||||
<span style="{{host-css}}">
|
||||
<span> / </span>
|
||||
<span style="display: inline-block;">
|
||||
<span>{{host-head}}:</span>
|
||||
<span>{{host}}</span>
|
||||
</span>
|
||||
<div>{{place_text}}</div>
|
||||
</span>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
|
|
Loading…
Reference in New Issue