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,6 +272,8 @@ 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
if (!in_array($data['events'][$event_info['event_id']]['track_id'], $config['hidden_language_tracks'])) {
$fulltalks .= '<section id="lecture-' . $eid . '">'; $fulltalks .= '<section id="lecture-' . $eid . '">';
// We don't want '()' when we don't have a speaker name // We don't want '()' when we don't have a speaker name
@ -280,7 +282,7 @@ function parseData($config, $data) {
$fulltalks .= '<p>' . $event['abstract'] . '</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 .= '<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>'; $fulltalks .= '<div class="separator"></div></section>';
}
if ($eid === $lastEventId) { if ($eid === $lastEventId) {
array_pop($columns); array_pop($columns);
++$colspan; ++$colspan;