schedule: do not show misc in fulltalk list

This commit is contained in:
Vasil Kolev 2018-10-16 13:08:18 +03:00 committed by Openfest
parent 76b46316f9
commit f534221de0
1 changed files with 10 additions and 8 deletions

View File

@ -272,15 +272,17 @@ function parseData($config, $data) {
// these are done by $eid, as otherwise we get some talks more than once (for example the lunch) // these are done by $eid, as otherwise we get some talks more than once (for example the lunch)
// TODO: fix this, it's broken // TODO: fix this, it's broken
$fulltalks .= '<section id="lecture-' . $eid . '">';
// We don't want '()' when we don't have a speaker name
$fulltalk_spkr = strlen($speakers) > 0 ? (' (' . $speakers . ')') : '';
$fulltalks .= '<p><strong>' . $event['title'] . ' ' . $fulltalk_spkr . '</strong></p>';
$fulltalks .= '<p>' . $event['abstract'] . '</p>';
$fulltalks .= '<p align=right><strong><a href="https://cfp.openfest.org/events/' . $eid . '/feedback/new">Submit feedback</a></strong></p>';
$fulltalks .= '<div class="separator"></div></section>';
if (!in_array($data['events'][$event_info['event_id']]['track_id'], $config['hidden_language_tracks'])) {
$fulltalks .= '<section id="lecture-' . $eid . '">';
// We don't want '()' when we don't have a speaker name
$fulltalk_spkr = strlen($speakers) > 0 ? (' (' . $speakers . ')') : '';
$fulltalks .= '<p><strong>' . $event['title'] . ' ' . $fulltalk_spkr . '</strong></p>';
$fulltalks .= '<p>' . $event['abstract'] . '</p>';
$fulltalks .= '<p align=right><strong><a href="https://cfp.openfest.org/events/' . $eid . '/feedback/new">Submit feedback</a></strong></p>';
$fulltalks .= '<div class="separator"></div></section>';
}
if ($eid === $lastEventId) { if ($eid === $lastEventId) {
array_pop($columns); array_pop($columns);
++$colspan; ++$colspan;