File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -83,7 +83,7 @@ <h3>No upcoming meetings</h3>
8383
8484 </ div >
8585 </ div >
86- < div id ="calendar " style =" width:60%; margin:auto; " > </ div >
86+ < div id ="calendar " class =" col-md-10 " > </ div >
8787{% endblock %}
8888
8989{% block js %}
@@ -94,9 +94,9 @@ <h3>No upcoming meetings</h3>
9494
9595 document . addEventListener ( 'DOMContentLoaded' , function ( ) {
9696 var calendarEl = document . getElementById ( 'calendar' ) ;
97+ var glue = calendarEl . clientWidth > 720 ? ' ' : '\n' ;
9798
9899 var calendar = new FullCalendar . Calendar ( calendarEl , {
99- aspectRatio : 1.35 ,
100100 plugins : [ 'dayGrid' ] ,
101101 displayEventTime : false ,
102102 events : [
@@ -113,7 +113,7 @@ <h3>No upcoming meetings</h3>
113113 { % else % } { # if it 's not a Meeting, it' s a Session #}
114114 { % with session = entry % }
115115 {
116- title : '{{session.group.acronym}} : {{session. official_timeslotassignment.timeslot.utc_start_time|date:"H:i"}} - {{session.official_timeslotassignment.timeslot.utc_end_time|date:"H:i"}} UTC ' ,
116+ title : '{{session.official_timeslotassignment.timeslot.utc_start_time|date:"H:i"}}- {{session.official_timeslotassignment.timeslot.utc_end_time|date:"H:i"}}' + glue + '{{session.group.acronym}} ',
117117 start : '{{session.official_timeslotassignment.timeslot.utc_start_time | date:"Y-m-d H:i"}}' ,
118118 end : '{{session.official_timeslotassignment.timeslot.utc_end_time | date:"Y-m-d H:i"}}' ,
119119 url : '{% url ' ietf . meeting . views . session_details ' num=session.meeting.number acronym=session.group.acronym %}'
You can’t perform that action at this time.
0 commit comments