File tree Expand file tree Collapse file tree 2 files changed +1
-15
lines changed
Expand file tree Collapse file tree 2 files changed +1
-15
lines changed Original file line number Diff line number Diff line change 217217 return ;
218218 }
219219
220- let extraClasses = '' ;
221- if ( { { c . PANEL_ROOMS | jsonize } } . includes ( eventInfo . id ) ) {
222- extraClasses += ' panel-room' ;
223- }
224- if ( { { c . MUSIC_ROOMS | jsonize } } . includes ( eventInfo . id ) ) {
225- extraClasses += ' music-room' ;
226- }
227-
228- html = `<h2 class="offset-scroll h6 mb-0 p-1${ extraClasses } " id="event-${ eventInfo . id } ">${ eventInfo . title } </h2>` ;
220+ html = `<h2 class="offset-scroll h6 mb-0 p-1" id="event-${ eventInfo . id } ">${ eventInfo . title } </h2>` ;
229221 return {
230222 html : html ,
231223 }
Original file line number Diff line number Diff line change 1- {% macro room_class(room) -%}
2- {%- set is_panels = room in c.PANEL_ROOMS -%}
3- {%- set is_music = room in c.MUSIC_ROOMS
4- %} room_{{ room }} {% if is_panels %}panels{% elif is_music %}music{% else %}other{% endif
5- %} {% endmacro %}
6-
71{% macro format_time(time) -%}
82 {% if not time.minute %}
93 {{ time|datetime("%-I%p")|lower }}
You can’t perform that action at this time.
0 commit comments