diff --git a/community/event_management/doctype/event_details/event_details.json b/community/event_management/doctype/event_details/event_details.json index 2c0cf532..c7719ecd 100644 --- a/community/event_management/doctype/event_details/event_details.json +++ b/community/event_management/doctype/event_details/event_details.json @@ -9,64 +9,41 @@ "event_name", "start_date", "end_date", - "event_details", - "hero_section", - "title", - "description", - "illustration", - "cta" + "event_details" ], "fields": [ { "fieldname": "event_name", "fieldtype": "Data", + "in_list_view": 1, "label": "Event Name", + "reqd": 1, "unique": 1 }, { "fieldname": "start_date", "fieldtype": "Date", - "label": "Start Date" + "in_list_view": 1, + "label": "Start Date", + "reqd": 1 }, { "fieldname": "end_date", "fieldtype": "Date", - "label": "End Date" + "in_list_view": 1, + "label": "End Date", + "reqd": 1 }, { "fieldname": "event_details", "fieldtype": "Markdown Editor", + "in_list_view": 1, "label": "Event Details" - }, - { - "fieldname": "hero_section", - "fieldtype": "Section Break", - "label": "Hero " - }, - { - "fieldname": "description", - "fieldtype": "Data", - "label": "Description" - }, - { - "fieldname": "illustration", - "fieldtype": "Attach Image", - "label": "Illustration" - }, - { - "fieldname": "cta", - "fieldtype": "Data", - "label": "CTA" - }, - { - "fieldname": "title", - "fieldtype": "Data", - "label": "Title" } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2021-08-12 12:06:51.911680", + "modified": "2021-08-18 09:46:06.455633", "modified_by": "Administrator", "module": "Event Management", "name": "Event Details", diff --git a/community/event_management/doctype/event_ticket/event_ticket.json b/community/event_management/doctype/event_ticket/event_ticket.json index d0f94b66..ae5d99a3 100644 --- a/community/event_management/doctype/event_ticket/event_ticket.json +++ b/community/event_management/doctype/event_ticket/event_ticket.json @@ -5,6 +5,7 @@ "editable_grid": 1, "engine": "InnoDB", "field_order": [ + "event", "ticket", "attendee" ], @@ -19,11 +20,17 @@ "fieldtype": "Link", "label": "attendee", "options": "Attendee Registration" + }, + { + "fieldname": "event", + "fieldtype": "Link", + "label": "Event", + "options": "Event Details" } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2021-08-11 11:17:28.452289", + "modified": "2021-08-18 09:51:14.654098", "modified_by": "Administrator", "module": "Event Management", "name": "Event Ticket", diff --git a/community/event_management/doctype/previous_content/__init__.py b/community/event_management/doctype/previous_content/__init__.py new file mode 100644 index 00000000..e69de29b diff --git a/community/event_management/doctype/previous_content/previous_content.js b/community/event_management/doctype/previous_content/previous_content.js new file mode 100644 index 00000000..f1eba0ac --- /dev/null +++ b/community/event_management/doctype/previous_content/previous_content.js @@ -0,0 +1,8 @@ +// Copyright (c) 2021, FOSS United and contributors +// For license information, please see license.txt + +frappe.ui.form.on('Previous Content', { + // refresh: function(frm) { + + // } +}); diff --git a/community/event_management/doctype/previous_content/previous_content.json b/community/event_management/doctype/previous_content/previous_content.json new file mode 100644 index 00000000..7a948a33 --- /dev/null +++ b/community/event_management/doctype/previous_content/previous_content.json @@ -0,0 +1,67 @@ +{ + "actions": [], + "autoname": "format:PRE-VID-BY-{name_of_the_speaker}-{####}", + "creation": "2021-08-18 08:42:58.711932", + "doctype": "DocType", + "editable_grid": 1, + "engine": "InnoDB", + "field_order": [ + "event", + "title", + "name_of_the_speaker", + "url", + "thumbnail" + ], + "fields": [ + { + "fieldname": "title", + "fieldtype": "Data", + "label": "Title" + }, + { + "fieldname": "name_of_the_speaker", + "fieldtype": "Data", + "label": "Name of the Speaker" + }, + { + "fieldname": "url", + "fieldtype": "Data", + "label": "Video Embed Link" + }, + { + "fieldname": "thumbnail", + "fieldtype": "Data", + "label": "Preview Image (Link)" + }, + { + "fieldname": "event", + "fieldtype": "Link", + "label": "Event", + "options": "Event Details" + } + ], + "index_web_pages_for_search": 1, + "links": [], + "modified": "2021-08-18 09:37:03.278439", + "modified_by": "Administrator", + "module": "Event Management", + "name": "Previous Content", + "owner": "Administrator", + "permissions": [ + { + "create": 1, + "delete": 1, + "email": 1, + "export": 1, + "print": 1, + "read": 1, + "report": 1, + "role": "System Manager", + "share": 1, + "write": 1 + } + ], + "sort_field": "modified", + "sort_order": "DESC", + "track_changes": 1 +} \ No newline at end of file diff --git a/community/event_management/doctype/previous_content/previous_content.py b/community/event_management/doctype/previous_content/previous_content.py new file mode 100644 index 00000000..999968fb --- /dev/null +++ b/community/event_management/doctype/previous_content/previous_content.py @@ -0,0 +1,8 @@ +# Copyright (c) 2021, FOSS United and contributors +# For license information, please see license.txt + +# import frappe +from frappe.model.document import Document + +class PreviousContent(Document): + pass diff --git a/community/event_management/doctype/previous_content/test_previous_content.py b/community/event_management/doctype/previous_content/test_previous_content.py new file mode 100644 index 00000000..9ae2d19c --- /dev/null +++ b/community/event_management/doctype/previous_content/test_previous_content.py @@ -0,0 +1,8 @@ +# Copyright (c) 2021, FOSS United and Contributors +# See license.txt + +# import frappe +import unittest + +class TestPreviousContent(unittest.TestCase): + pass diff --git a/community/event_management/doctype/schedule/schedule.json b/community/event_management/doctype/schedule/schedule.json index 0536c291..6ca96fb0 100644 --- a/community/event_management/doctype/schedule/schedule.json +++ b/community/event_management/doctype/schedule/schedule.json @@ -6,6 +6,7 @@ "editable_grid": 1, "engine": "InnoDB", "field_order": [ + "event", "speaker", "slot" ], @@ -13,19 +14,31 @@ { "fieldname": "speaker", "fieldtype": "Link", + "in_list_view": 1, "label": "Speaker", - "options": "Speaker Registration" + "options": "Speaker Registration", + "reqd": 1 }, { "fieldname": "slot", "fieldtype": "Link", + "in_list_view": 1, "label": "Slot", - "options": "Slot" + "options": "Slot", + "reqd": 1 + }, + { + "fieldname": "event", + "fieldtype": "Link", + "in_list_view": 1, + "label": "Event", + "options": "Event Details", + "reqd": 1 } ], "index_web_pages_for_search": 1, "links": [], - "modified": "2021-08-16 18:45:44.945527", + "modified": "2021-08-18 09:46:18.694910", "modified_by": "Administrator", "module": "Event Management", "name": "Schedule", diff --git a/community/event_management/doctype/speaker_registration/speaker_registration.json b/community/event_management/doctype/speaker_registration/speaker_registration.json index 58e064c2..f3021129 100644 --- a/community/event_management/doctype/speaker_registration/speaker_registration.json +++ b/community/event_management/doctype/speaker_registration/speaker_registration.json @@ -46,18 +46,21 @@ "fieldname": "job_title", "fieldtype": "Data", "in_list_view": 1, - "label": "Job Title" + "label": "Job Title", + "reqd": 1 }, { "fieldname": "company", "fieldtype": "Data", "in_list_view": 1, - "label": "Company" + "label": "Company", + "reqd": 1 }, { "fieldname": "picture", "fieldtype": "Attach Image", - "label": "Picture" + "label": "Profile Image", + "reqd": 1 }, { "fieldname": "bio", @@ -121,7 +124,7 @@ ], "index_web_pages_for_search": 1, "links": [], - "modified": "2021-08-17 00:31:28.656127", + "modified": "2021-08-18 09:48:19.602309", "modified_by": "Administrator", "module": "Event Management", "name": "Speaker Registration", diff --git a/community/event_management/web_form/attendee_registration/attendee_registration.json b/community/event_management/web_form/attendee_registration/attendee_registration.json index b7a9e934..025c0b0d 100644 --- a/community/event_management/web_form/attendee_registration/attendee_registration.json +++ b/community/event_management/web_form/attendee_registration/attendee_registration.json @@ -18,7 +18,7 @@ "is_standard": 1, "login_required": 1, "max_attachment_size": 0, - "modified": "2021-08-17 11:51:17.008322", + "modified": "2021-08-18 11:35:06.067390", "modified_by": "Administrator", "module": "Event Management", "name": "attendee-registration", @@ -31,7 +31,7 @@ "show_in_grid": 0, "show_sidebar": 0, "sidebar_items": [], - "success_url": "/attendee-registration", + "success_url": "/event/conference20221", "title": "Attendee Registration", "web_form_fields": [ { diff --git a/community/event_management/web_template/exhibitor_section/exhibitor_section.html b/community/event_management/web_template/exhibitor_section/exhibitor_section.html index a8d0998d..c0fc31f6 100644 --- a/community/event_management/web_template/exhibitor_section/exhibitor_section.html +++ b/community/event_management/web_template/exhibitor_section/exhibitor_section.html @@ -11,7 +11,9 @@ {% endfor %} + {%- if cta_link -%}
+ {%- endif -%} \ No newline at end of file diff --git a/community/event_management/web_template/exhibitor_section/exhibitor_section.json b/community/event_management/web_template/exhibitor_section/exhibitor_section.json index 59788e97..0b8c5629 100644 --- a/community/event_management/web_template/exhibitor_section/exhibitor_section.json +++ b/community/event_management/web_template/exhibitor_section/exhibitor_section.json @@ -17,8 +17,14 @@ "reqd": 0 }, { - "__islocal": 1, "__unsaved": 1, + "fieldname": "event", + "fieldtype": "Link", + "label": "Event", + "options": "Event Details", + "reqd": 0 + }, + { "fieldname": "cta_link", "fieldtype": "Data", "label": "CTA Link", @@ -38,8 +44,8 @@ "reqd": 0 } ], - "idx": 0, - "modified": "2021-08-17 11:44:49.998871", + "idx": 1, + "modified": "2021-08-18 10:05:11.753576", "modified_by": "Administrator", "module": "Event Management", "name": "Exhibitor Section", diff --git a/community/event_management/web_template/previous_talk/previous_talk.html b/community/event_management/web_template/previous_talk/previous_talk.html index e940721f..d49195df 100644 --- a/community/event_management/web_template/previous_talk/previous_talk.html +++ b/community/event_management/web_template/previous_talk/previous_talk.html @@ -1,46 +1,38 @@ -{% set thumbnail_url = 'https://img.youtube.com/vi/JmOJtYW-0GI/maxresdefault.jpg' %} - - -{{slot.about}}
- +{{slot.about}}
+