diff options
author | rsiddharth <rsd@gnu.org> | 2018-08-23 02:51:00 +0000 |
---|---|---|
committer | rsiddharth <rsd@gnu.org> | 2018-08-23 02:51:39 +0000 |
commit | 6e88112ce0c765dba384f848bbd01551ab8f5788 (patch) | |
tree | 0927f1929f63d282b2564b41225e42a6d23a2e1e /libreplanet-templates/2019/lp-schedule.jinja2 | |
parent | 7b73857ac1a6fa663bf3beb43e996a01502b8adf (diff) |
libreplanet-templates/2019: Update lp-schedule.jinja2.
Use dict.items() instead of dict.iteritems()
Diffstat (limited to 'libreplanet-templates/2019/lp-schedule.jinja2')
-rw-r--r-- | libreplanet-templates/2019/lp-schedule.jinja2 | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/libreplanet-templates/2019/lp-schedule.jinja2 b/libreplanet-templates/2019/lp-schedule.jinja2 index 1543f2f..c1d6ef0 100644 --- a/libreplanet-templates/2019/lp-schedule.jinja2 +++ b/libreplanet-templates/2019/lp-schedule.jinja2 @@ -104,7 +104,7 @@ {# populate sessions macro #} {% macro populate_sessions(sessions, day_index, timeslot_index) %} - {% for session, session_info in sessions.iteritems() %} {# session start #} + {% for session, session_info in sessions.items() %} {# session start #} <section id="day-{{ day_index }}-timeslot-{{ timeslot_index }}-session-{{ loop.index }}" class="program-session"> {{ mk_session_header(session) }} {{ mk_speakers(session_info['speakers']) }} @@ -127,7 +127,7 @@ {# populate timeslots macro #} {% macro populate_timeslots(timeslots, day_index) %} - {% for timeslot, sessions in timeslots.iteritems() %} {# timeslot start #} + {% for timeslot, sessions in timeslots.items() %} {# timeslot start #} <article id="day-{{ day_index }}-timeslot-{{ loop.index }}" class="program-timeslot"> {{ mk_timeslot_header(timeslot) }} {% if sessions|length > 0 %} @@ -138,7 +138,7 @@ {% endmacro %} {# lp schedule 2019 template start #} -{% for day, timeslots in lp_dict.iteritems() %} {# day start #} +{% for day, timeslots in lp_dict.items() %} {# day start #} <article id="day-{{ loop.index }}-program" class="program-day"> {{ mk_day_header(day) }} {{ populate_timeslots(timeslots, loop.index) }} |