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