From af9760f94455e56d8b72d9964a883c2f5be28b92 Mon Sep 17 00:00:00 2001 From: Summayya Date: Wed, 18 Aug 2021 19:49:12 +0530 Subject: [PATCH] fix: remove div in schedule template --- .../schedule_section/schedule_section.html | 4 +- .../web_template/schedule_section/ss.html | 48 ------------------- 2 files changed, 2 insertions(+), 50 deletions(-) delete mode 100644 community/event_management/web_template/schedule_section/ss.html diff --git a/community/event_management/web_template/schedule_section/schedule_section.html b/community/event_management/web_template/schedule_section/schedule_section.html index f341d2f0..4d8bb6f8 100644 --- a/community/event_management/web_template/schedule_section/schedule_section.html +++ b/community/event_management/web_template/schedule_section/schedule_section.html @@ -5,7 +5,7 @@ {% for schedule in schedule_docs %} {% set speaker = frappe.get_doc("Speaker Registration", schedule.speaker) %} {% set slot = frappe.get_doc("Slot", schedule.slot) %} -
{{ slot_data.setdefault(slot.date, []).append({ +{% set slot_data = slot_data.setdefault(slot.date, []).append({ "slot": slot.name, "start_time": slot.start_time, "end_time": slot.end_time, @@ -14,7 +14,7 @@ "about": speaker.about, "title": speaker.title, "full_name": speaker.full_name - }) }}
+ }) %} {% endfor %}
{{title}}
diff --git a/community/event_management/web_template/schedule_section/ss.html b/community/event_management/web_template/schedule_section/ss.html deleted file mode 100644 index f4a299b2..00000000 --- a/community/event_management/web_template/schedule_section/ss.html +++ /dev/null @@ -1,48 +0,0 @@ -
-
-
-
-
{{title}}
-
-
- {% for day in slot_data %} - -
-
-
-
- -
-
-
{{day}}
-
- {% for slot in slot_data[day] %} -
-
- {{ frappe.format(slot.start_time, {'fieldtype': 'Time'})}} - {{ - frappe.format(slot.end_time, {'fieldtype': 'Time'}) }} -
-
{{slot.title}}
- - - -
-
-

{{slot.about}}

-
- -
- {% endfor %} -
-
-
- {% endfor %} -
-
-
\ No newline at end of file