Skip to content

Commit

Permalink
Only Show Existent Conference Schedule Event Information
Browse files Browse the repository at this point in the history
The conference schedule event popup now only shows information, which is actually present and does not display empty placeholders.
  • Loading branch information
at-robins authored and cgars committed Aug 2, 2018
1 parent d800c68 commit 361e25e
Showing 1 changed file with 10 additions and 5 deletions.
15 changes: 10 additions & 5 deletions app/views/conferenceschedule.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -99,25 +99,30 @@ <h4 class="modal-title" data-bind="text: infoBaseEvent().subtitle"></h4>
<span data-bind="text: moment(infoBaseEvent().getStart()).format('HH[:]mm[ - ]') + moment(infoBaseEvent().getEnd()).format('HH[:]mm')"></span>
</p>
<!-- ko if: infoEventType() === 'Event' -->
<p>
<p data-bind="if: infoBaseEvent().location !== null && infoBaseEvent().location !== undefined
&& infoBaseEvent().location.length > 0">
<strong>Location: </strong>
<span data-bind="text: infoBaseEvent().location"></span>
</p>
<p>
<p data-bind="if: infoBaseEvent().type !== null && infoBaseEvent().type !== undefined
&& infoBaseEvent().type.length > 0">
<strong>Type: </strong>
<span data-bind="text: infoBaseEvent().type"></span>
</p>
<p>
<p data-bind="if: infoBaseEvent().abstract !== null && infoBaseEvent().abstract !== undefined
&& infoBaseEvent().abstract.length > 0">
<strong>Abstract: </strong>
<a data-bind="attr: {href: infoBaseEvent().abstract}, text: infoBaseEvent().abstract"></a>
</p>
<p>
<p data-bind="if: infoAuthors() !== null && infoAuthors() !== undefined
&& infoAuthors().length > 0">
<strong>Authors: </strong>
<span data-bind="text: infoAuthors()"></span>
</p>
<!-- /ko -->
<!-- ko if: infoEventType() === 'Track' -->
<p>
<p data-bind="if: infoChair() !== null && infoChair() !== undefined
&& infoChair().length > 0">
<strong>Chair: </strong>
<span data-bind="text: infoChair()"></span>
</p>
Expand Down

0 comments on commit 361e25e

Please sign in to comment.