Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feature-2230: Schedule.html calendar view without speaker names and i… #2669

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
44 changes: 42 additions & 2 deletions src/backend/templates/schedule.hbs
Original file line number Diff line number Diff line change
Expand Up @@ -215,7 +215,13 @@
{{name}}{{#if organisation}} ({{#if position}}{{position}} {{/if}}{{organisation}}){{/if}}{{#if @last}}{{else}},{{/if}}
{{/speakers_list}}
</ul>
<ul class="speaker-name-list">{{type}}</ul>
<ul class="speaker-name-list">
{{#if type}}
{{type}}
{{else}}
<br>
{{/if}}
</ul>
</div>
</div>
</div>
Expand Down Expand Up @@ -355,7 +361,41 @@
{{#sessions}}
<div class="session" style="top:{{top}}px; height:{{height}}px;background-color:{{color}};
color: {{font_color}};" id = "cal-{{session_id}}">
<div class="session-name">{{title}}</div>
<div class="session-name margin-down-15">
{{title}}
</div>
<div class="collapse in">
<div class="row">
{{#if speakers_list.length}}
<div class="speakers-list">
{{#speakers_list}}
<p class="session-speakers session-speakers-item">
{{#if photo}}
<img onError="this.onerror=null;this.src='./images/avatar.png';"
data-original="{{thumb}}" class="session-name lazy card-img-top speaker-image-small"/>
{{else}}
<img class="session-name card-img-top speaker-image-small" src="./images/avatar.png"/>
{{/if}}
</p>
{{/speakers_list}}
</div>
{{/if}}
<div class="speaker-short-info">
<ul class="session-name speaker-name-list">
{{#speakers_list}}
{{name}}{{#if organisation}}&nbsp;({{#if position}}{{position}}&nbsp;{{/if}}{{organisation}}){{/if}}{{#if @last}}{{else}},{{/if}}
{{/speakers_list}}
</ul>
<ul class="speaker-name-list">
{{#if type}}
{{type}}
{{else}}
<br>
{{/if}}
</ul>
</div>
</div>
</div>
<div class="pop-box hide">
<div class="arrow">
<span></span>
Expand Down