Template for Previous content
This commit is contained in:
@@ -9,64 +9,41 @@
|
|||||||
"event_name",
|
"event_name",
|
||||||
"start_date",
|
"start_date",
|
||||||
"end_date",
|
"end_date",
|
||||||
"event_details",
|
"event_details"
|
||||||
"hero_section",
|
|
||||||
"title",
|
|
||||||
"description",
|
|
||||||
"illustration",
|
|
||||||
"cta"
|
|
||||||
],
|
],
|
||||||
"fields": [
|
"fields": [
|
||||||
{
|
{
|
||||||
"fieldname": "event_name",
|
"fieldname": "event_name",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
|
"in_list_view": 1,
|
||||||
"label": "Event Name",
|
"label": "Event Name",
|
||||||
|
"reqd": 1,
|
||||||
"unique": 1
|
"unique": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "start_date",
|
"fieldname": "start_date",
|
||||||
"fieldtype": "Date",
|
"fieldtype": "Date",
|
||||||
"label": "Start Date"
|
"in_list_view": 1,
|
||||||
|
"label": "Start Date",
|
||||||
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "end_date",
|
"fieldname": "end_date",
|
||||||
"fieldtype": "Date",
|
"fieldtype": "Date",
|
||||||
"label": "End Date"
|
"in_list_view": 1,
|
||||||
|
"label": "End Date",
|
||||||
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "event_details",
|
"fieldname": "event_details",
|
||||||
"fieldtype": "Markdown Editor",
|
"fieldtype": "Markdown Editor",
|
||||||
|
"in_list_view": 1,
|
||||||
"label": "Event Details"
|
"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,
|
"index_web_pages_for_search": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2021-08-12 12:06:51.911680",
|
"modified": "2021-08-18 09:46:06.455633",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Event Management",
|
"module": "Event Management",
|
||||||
"name": "Event Details",
|
"name": "Event Details",
|
||||||
|
|||||||
@@ -5,6 +5,7 @@
|
|||||||
"editable_grid": 1,
|
"editable_grid": 1,
|
||||||
"engine": "InnoDB",
|
"engine": "InnoDB",
|
||||||
"field_order": [
|
"field_order": [
|
||||||
|
"event",
|
||||||
"ticket",
|
"ticket",
|
||||||
"attendee"
|
"attendee"
|
||||||
],
|
],
|
||||||
@@ -19,11 +20,17 @@
|
|||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"label": "attendee",
|
"label": "attendee",
|
||||||
"options": "Attendee Registration"
|
"options": "Attendee Registration"
|
||||||
|
},
|
||||||
|
{
|
||||||
|
"fieldname": "event",
|
||||||
|
"fieldtype": "Link",
|
||||||
|
"label": "Event",
|
||||||
|
"options": "Event Details"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"index_web_pages_for_search": 1,
|
"index_web_pages_for_search": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2021-08-11 11:17:28.452289",
|
"modified": "2021-08-18 09:51:14.654098",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Event Management",
|
"module": "Event Management",
|
||||||
"name": "Event Ticket",
|
"name": "Event Ticket",
|
||||||
|
|||||||
@@ -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) {
|
||||||
|
|
||||||
|
// }
|
||||||
|
});
|
||||||
@@ -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
|
||||||
|
}
|
||||||
@@ -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
|
||||||
@@ -0,0 +1,8 @@
|
|||||||
|
# Copyright (c) 2021, FOSS United and Contributors
|
||||||
|
# See license.txt
|
||||||
|
|
||||||
|
# import frappe
|
||||||
|
import unittest
|
||||||
|
|
||||||
|
class TestPreviousContent(unittest.TestCase):
|
||||||
|
pass
|
||||||
@@ -6,6 +6,7 @@
|
|||||||
"editable_grid": 1,
|
"editable_grid": 1,
|
||||||
"engine": "InnoDB",
|
"engine": "InnoDB",
|
||||||
"field_order": [
|
"field_order": [
|
||||||
|
"event",
|
||||||
"speaker",
|
"speaker",
|
||||||
"slot"
|
"slot"
|
||||||
],
|
],
|
||||||
@@ -13,19 +14,31 @@
|
|||||||
{
|
{
|
||||||
"fieldname": "speaker",
|
"fieldname": "speaker",
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
|
"in_list_view": 1,
|
||||||
"label": "Speaker",
|
"label": "Speaker",
|
||||||
"options": "Speaker Registration"
|
"options": "Speaker Registration",
|
||||||
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "slot",
|
"fieldname": "slot",
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
|
"in_list_view": 1,
|
||||||
"label": "Slot",
|
"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,
|
"index_web_pages_for_search": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2021-08-16 18:45:44.945527",
|
"modified": "2021-08-18 09:46:18.694910",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Event Management",
|
"module": "Event Management",
|
||||||
"name": "Schedule",
|
"name": "Schedule",
|
||||||
|
|||||||
@@ -46,18 +46,21 @@
|
|||||||
"fieldname": "job_title",
|
"fieldname": "job_title",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"in_list_view": 1,
|
"in_list_view": 1,
|
||||||
"label": "Job Title"
|
"label": "Job Title",
|
||||||
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "company",
|
"fieldname": "company",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"in_list_view": 1,
|
"in_list_view": 1,
|
||||||
"label": "Company"
|
"label": "Company",
|
||||||
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "picture",
|
"fieldname": "picture",
|
||||||
"fieldtype": "Attach Image",
|
"fieldtype": "Attach Image",
|
||||||
"label": "Picture"
|
"label": "Profile Image",
|
||||||
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "bio",
|
"fieldname": "bio",
|
||||||
@@ -121,7 +124,7 @@
|
|||||||
],
|
],
|
||||||
"index_web_pages_for_search": 1,
|
"index_web_pages_for_search": 1,
|
||||||
"links": [],
|
"links": [],
|
||||||
"modified": "2021-08-17 00:31:28.656127",
|
"modified": "2021-08-18 09:48:19.602309",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Event Management",
|
"module": "Event Management",
|
||||||
"name": "Speaker Registration",
|
"name": "Speaker Registration",
|
||||||
|
|||||||
@@ -18,7 +18,7 @@
|
|||||||
"is_standard": 1,
|
"is_standard": 1,
|
||||||
"login_required": 1,
|
"login_required": 1,
|
||||||
"max_attachment_size": 0,
|
"max_attachment_size": 0,
|
||||||
"modified": "2021-08-17 11:51:17.008322",
|
"modified": "2021-08-18 11:35:06.067390",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Event Management",
|
"module": "Event Management",
|
||||||
"name": "attendee-registration",
|
"name": "attendee-registration",
|
||||||
@@ -31,7 +31,7 @@
|
|||||||
"show_in_grid": 0,
|
"show_in_grid": 0,
|
||||||
"show_sidebar": 0,
|
"show_sidebar": 0,
|
||||||
"sidebar_items": [],
|
"sidebar_items": [],
|
||||||
"success_url": "/attendee-registration",
|
"success_url": "/event/conference20221",
|
||||||
"title": "Attendee Registration",
|
"title": "Attendee Registration",
|
||||||
"web_form_fields": [
|
"web_form_fields": [
|
||||||
{
|
{
|
||||||
|
|||||||
@@ -11,7 +11,9 @@
|
|||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
</div>
|
</div>
|
||||||
|
{%- if cta_link -%}
|
||||||
<div class="event-btn"><a href={{cta_link}} class="btn btn-primary ">Become an Exhibitor</a></div>
|
<div class="event-btn"><a href={{cta_link}} class="btn btn-primary ">Become an Exhibitor</a></div>
|
||||||
|
{%- endif -%}
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
@@ -17,8 +17,14 @@
|
|||||||
"reqd": 0
|
"reqd": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__islocal": 1,
|
|
||||||
"__unsaved": 1,
|
"__unsaved": 1,
|
||||||
|
"fieldname": "event",
|
||||||
|
"fieldtype": "Link",
|
||||||
|
"label": "Event",
|
||||||
|
"options": "Event Details",
|
||||||
|
"reqd": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
"fieldname": "cta_link",
|
"fieldname": "cta_link",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"label": "CTA Link",
|
"label": "CTA Link",
|
||||||
@@ -38,8 +44,8 @@
|
|||||||
"reqd": 0
|
"reqd": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"idx": 0,
|
"idx": 1,
|
||||||
"modified": "2021-08-17 11:44:49.998871",
|
"modified": "2021-08-18 10:05:11.753576",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Event Management",
|
"module": "Event Management",
|
||||||
"name": "Exhibitor Section",
|
"name": "Exhibitor Section",
|
||||||
|
|||||||
@@ -1,46 +1,38 @@
|
|||||||
{% set thumbnail_url = 'https://img.youtube.com/vi/JmOJtYW-0GI/maxresdefault.jpg' %}
|
<div class="section-with-cards">
|
||||||
|
<div class="course-home-headings">{{title}}</div>
|
||||||
|
<div class="speaker-cards-parent">
|
||||||
<div class="courses-header">{{title}}</div>
|
{% for video in talk_details %}
|
||||||
<div class="cards-parent">
|
{% set video_details = frappe.get_doc('Previous Content', video.previous_content, filters={
|
||||||
<div class="common-card-style talk-card mt-5">
|
'event': event
|
||||||
<div
|
}) %}
|
||||||
class="course-image"
|
<div class="common-card-style talk-card">
|
||||||
style="background-image: url({{thumbnail_url}})"
|
<div class="course-image" style="background-image: url({{video_details.thumbnail}})">
|
||||||
>
|
<div class="course-tags"></div>
|
||||||
<div class="course-tags"></div>
|
</div>
|
||||||
|
<div class="course-card-content">
|
||||||
|
<div class="course-card-meta muted-text">
|
||||||
|
<span> ERPNext </span>
|
||||||
</div>
|
</div>
|
||||||
<div class="course-card-content">
|
<div class="course-card-title">{{video_details.title}}</div>
|
||||||
<div class="course-card-meta muted-text">
|
<div class="card-divider"></div>
|
||||||
<span> {{topic}} </span>
|
<div class="course-card-meta-2">
|
||||||
</div>
|
<a class="button-links" href="/rushabh">
|
||||||
<div class="course-card-title">{{topic_title}}</div>
|
<span class="avatar avatar-small" title="Rushabh Mehta">
|
||||||
<div class="card-divider"></div>
|
<img class="avatar-frame standard-image" style="object-fit: cover"
|
||||||
<div class="course-card-meta-2">
|
src="{{video_details.thumbnail}}"
|
||||||
<a class="button-links" href="/rushabh">
|
title={{video_details.name_of_the_speaker}} />
|
||||||
<span class="avatar avatar-small" title="Rushabh Mehta">
|
</span>
|
||||||
<img
|
</a>
|
||||||
class="avatar-frame standard-image"
|
<span class="course-instructor"> {{video_details.name_of_the_speaker}} </span>
|
||||||
style="object-fit: cover"
|
<span class="small-title company-name"></span>
|
||||||
src="https://secure.gravatar.com/avatar/eeca4f691bffd042fc17aea885c4b439?d=404&s=200"
|
|
||||||
title={{name}}
|
|
||||||
/>
|
|
||||||
</span>
|
|
||||||
</a>
|
|
||||||
<span class="course-instructor"> {{name}} </span>
|
|
||||||
<span class="small-title company-name">{{</span>
|
|
||||||
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="view-talk-link">
|
|
||||||
Vew Talk
|
|
||||||
<img class="ml-3" src="/assets/community/icons/black-arrow.svg" />
|
|
||||||
</div>
|
|
||||||
<a
|
|
||||||
class="stretched-link"
|
|
||||||
href="{{talk_url}}"
|
|
||||||
></a>
|
|
||||||
</div>
|
</div>
|
||||||
|
<div class="view-talk-link">
|
||||||
|
Vew Talk
|
||||||
|
<img class="ml-3" src="/assets/community/icons/black-arrow.svg" />
|
||||||
|
</div>
|
||||||
|
<a class="stretched-link" href="{{video_details.url}}"></a>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
{% endfor %}
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
"fieldname": "title",
|
"fieldname": "title",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"label": "Title",
|
"label": "Title",
|
||||||
"reqd": 0
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "subtitle",
|
"fieldname": "subtitle",
|
||||||
@@ -16,6 +16,14 @@
|
|||||||
"label": "Subtitle",
|
"label": "Subtitle",
|
||||||
"reqd": 0
|
"reqd": 0
|
||||||
},
|
},
|
||||||
|
{
|
||||||
|
"__unsaved": 1,
|
||||||
|
"fieldname": "event",
|
||||||
|
"fieldtype": "Link",
|
||||||
|
"label": "Event",
|
||||||
|
"options": "Event Details",
|
||||||
|
"reqd": 1
|
||||||
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "talk_details",
|
"fieldname": "talk_details",
|
||||||
"fieldtype": "Table Break",
|
"fieldtype": "Table Break",
|
||||||
@@ -23,62 +31,17 @@
|
|||||||
"reqd": 0
|
"reqd": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "thumbnail",
|
"__islocal": 1,
|
||||||
"fieldtype": "Attach Image",
|
"__unsaved": 1,
|
||||||
"label": "Thumbnail",
|
"fieldname": "previous_content",
|
||||||
"reqd": 0
|
"fieldtype": "Link",
|
||||||
},
|
"label": "Previous Content",
|
||||||
{
|
"options": "Previous Content",
|
||||||
"fieldname": "thumbnail_url",
|
|
||||||
"fieldtype": "Data",
|
|
||||||
"label": "Thumbnail URL",
|
|
||||||
"reqd": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fieldname": "topic",
|
|
||||||
"fieldtype": "Data",
|
|
||||||
"label": "Topic",
|
|
||||||
"reqd": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fieldname": "topic_title",
|
|
||||||
"fieldtype": "Data",
|
|
||||||
"label": "Title",
|
|
||||||
"reqd": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fieldname": "talk_url",
|
|
||||||
"fieldtype": "Data",
|
|
||||||
"label": "Talk URL",
|
|
||||||
"reqd": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fieldname": "speaker_details",
|
|
||||||
"fieldtype": "Section Break",
|
|
||||||
"label": "Speaker Details",
|
|
||||||
"reqd": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fieldname": "name",
|
|
||||||
"fieldtype": "Data",
|
|
||||||
"label": "Name",
|
|
||||||
"reqd": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fieldname": "image",
|
|
||||||
"fieldtype": "Attach Image",
|
|
||||||
"label": "Image",
|
|
||||||
"reqd": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fieldname": "cta_label",
|
|
||||||
"fieldtype": "Data",
|
|
||||||
"label": "CTA Label",
|
|
||||||
"reqd": 0
|
"reqd": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"idx": 0,
|
"idx": 1,
|
||||||
"modified": "2021-08-13 23:02:42.424577",
|
"modified": "2021-08-18 10:03:50.193908",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Event Management",
|
"module": "Event Management",
|
||||||
"name": "Previous Talk",
|
"name": "Previous Talk",
|
||||||
|
|||||||
@@ -1,28 +1,27 @@
|
|||||||
{% set schedule_docs = frappe.get_all("Schedule", fields =["speaker", "slot"]) %}
|
{% set schedule_docs = frappe.get_all("Schedule", fields =["speaker", "slot"], filters={
|
||||||
|
'event': event
|
||||||
|
},) %}
|
||||||
{% set slot_data = {} %}
|
{% set slot_data = {} %}
|
||||||
{% for schedule in schedule_docs %}
|
{% for schedule in schedule_docs %}
|
||||||
{% set speaker = frappe.get_doc("Speaker Registration", schedule.speaker) %}
|
{% set speaker = frappe.get_doc("Speaker Registration", schedule.speaker) %}
|
||||||
{% set slot = frappe.get_doc("Slot", schedule.slot) %}
|
{% set slot = frappe.get_doc("Slot", schedule.slot) %}
|
||||||
<div class="hide">{{ slot_data.setdefault(slot.date, []).append({
|
<div class="hide">{{ slot_data.setdefault(slot.date, []).append({
|
||||||
"slot": slot.name,
|
"slot": slot.name,
|
||||||
"start_time": slot.start_time,
|
"start_time": slot.start_time,
|
||||||
"end_time": slot.end_time,
|
"end_time": slot.end_time,
|
||||||
"speaker": speaker.name,
|
"speaker": speaker.name,
|
||||||
"picture": speaker.picture,
|
"picture": speaker.picture,
|
||||||
"about": speaker.about,
|
"about": speaker.about,
|
||||||
"title": speaker.title,
|
"title": speaker.title,
|
||||||
"full_name": speaker.full_name
|
"full_name": speaker.full_name
|
||||||
}) }}</div>
|
}) }}</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
<div class="courses-header">{{title}}</div>
|
||||||
<div class="common-page-style">
|
<div class="common-page-style">
|
||||||
<div class="container">
|
<div class="container">
|
||||||
<div class="course-content-parent">
|
<div class="course-content-parent">
|
||||||
<div class="course-details-outline">
|
<div class="course-details-outline">
|
||||||
<div class="course-home-outline">
|
<div class="course-home-outline">
|
||||||
|
|
||||||
<div class="course-home-headings">
|
|
||||||
{{title}}
|
|
||||||
</div>
|
|
||||||
<div class="coure-outline">
|
<div class="coure-outline">
|
||||||
<div>
|
<div>
|
||||||
{% for day in slot_data %}
|
{% for day in slot_data %}
|
||||||
@@ -44,27 +43,26 @@
|
|||||||
{% for slot in slot_data[day] %}
|
{% for slot in slot_data[day] %}
|
||||||
<div class="schedule-container">
|
<div class="schedule-container">
|
||||||
<div class="schedule-inner-container">
|
<div class="schedule-inner-container">
|
||||||
<div class="schedule-slot">
|
<div class="schedule-slot">
|
||||||
{{ frappe.format(slot.start_time, {'fieldtype': 'Time'})}} - {{
|
{{ frappe.format(slot.start_time, {'fieldtype': 'Time'})}} - {{
|
||||||
frappe.format(slot.end_time, {'fieldtype': 'Time'}) }}
|
frappe.format(slot.end_time, {'fieldtype': 'Time'}) }}
|
||||||
|
</div>
|
||||||
|
<div class="schedule-title">{{slot.title}}</div>
|
||||||
|
<span class="avatar avatar-medium avatar-medium-schedule">
|
||||||
|
<img class="avatar-frame" src="{{slot.picture}}" /></span>
|
||||||
</div>
|
</div>
|
||||||
<div class="schedule-title">{{slot.title}}</div>
|
<div class="schedule-info">
|
||||||
<span class="avatar avatar-medium avatar-medium-schedule">
|
<p>{{slot.about}}</p>
|
||||||
<img class="avatar-frame" src="{{slot.picture}}" /></span>
|
<span class="info-speaker-avatar">
|
||||||
</div>
|
|
||||||
<div class="schedule-info">
|
|
||||||
<p>{{slot.about}}</p>
|
|
||||||
<span class="info-speaker-avatar">
|
|
||||||
<span class="info-avatar avatar avatar-small">
|
<span class="info-avatar avatar avatar-small">
|
||||||
<img class="avatar-frame standard-image" src="{{slot.picture}}" />
|
<img class="avatar-frame standard-image" src="{{slot.picture}}" />
|
||||||
</span>
|
</span>
|
||||||
<h6 class="info-speaker">{{slot.full_name}}</h6>
|
<h6 class="info-speaker">{{slot.full_name}}</h6>
|
||||||
</span>
|
</span>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="card-divider"></div>
|
<div class="card-divider"></div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
@@ -73,4 +71,4 @@
|
|||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
@@ -8,7 +8,7 @@
|
|||||||
"fieldname": "title",
|
"fieldname": "title",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"label": "Title",
|
"label": "Title",
|
||||||
"reqd": 0
|
"reqd": 1
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "subtitle",
|
"fieldname": "subtitle",
|
||||||
@@ -17,21 +17,16 @@
|
|||||||
"reqd": 0
|
"reqd": 0
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
"fieldname": "schedule_details",
|
"__unsaved": 1,
|
||||||
"fieldtype": "Table Break",
|
"fieldname": "event",
|
||||||
"label": "schedule_details",
|
|
||||||
"reqd": 0
|
|
||||||
},
|
|
||||||
{
|
|
||||||
"fieldname": "schedule",
|
|
||||||
"fieldtype": "Link",
|
"fieldtype": "Link",
|
||||||
"label": "Schedule",
|
"label": "Event",
|
||||||
"options": "Schedule",
|
"options": "Event Details",
|
||||||
"reqd": 0
|
"reqd": 1
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"idx": 0,
|
"idx": 0,
|
||||||
"modified": "2021-08-17 16:47:40.356368",
|
"modified": "2021-08-18 10:13:49.300196",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Event Management",
|
"module": "Event Management",
|
||||||
"name": "Schedule Section",
|
"name": "Schedule Section",
|
||||||
|
|||||||
@@ -15,7 +15,9 @@
|
|||||||
<div class="small-title company-name">{{speaker_doc.company}}</div>
|
<div class="small-title company-name">{{speaker_doc.company}}</div>
|
||||||
</div>
|
</div>
|
||||||
{% endfor %}
|
{% endfor %}
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
|
{%- if cta_link -%}
|
||||||
<div class="event-btn"><a href={{cta_link}} class="btn btn-primary ">Become a Speaker</a></div>
|
<div class="event-btn"><a href={{cta_link}} class="btn btn-primary ">Become a Speaker</a></div>
|
||||||
|
{%- endif -%}
|
||||||
</div>
|
</div>
|
||||||
@@ -18,6 +18,13 @@
|
|||||||
},
|
},
|
||||||
{
|
{
|
||||||
"__unsaved": 1,
|
"__unsaved": 1,
|
||||||
|
"fieldname": "event_",
|
||||||
|
"fieldtype": "Link",
|
||||||
|
"label": "Event ",
|
||||||
|
"options": "Event Details",
|
||||||
|
"reqd": 0
|
||||||
|
},
|
||||||
|
{
|
||||||
"fieldname": "cta_link",
|
"fieldname": "cta_link",
|
||||||
"fieldtype": "Data",
|
"fieldtype": "Data",
|
||||||
"label": "CTA Link",
|
"label": "CTA Link",
|
||||||
@@ -37,8 +44,8 @@
|
|||||||
"reqd": 0
|
"reqd": 0
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"idx": 0,
|
"idx": 1,
|
||||||
"modified": "2021-08-17 11:13:58.991190",
|
"modified": "2021-08-18 10:06:03.032441",
|
||||||
"modified_by": "Administrator",
|
"modified_by": "Administrator",
|
||||||
"module": "Event Management",
|
"module": "Event Management",
|
||||||
"name": "Speaker Section",
|
"name": "Speaker Section",
|
||||||
|
|||||||
Reference in New Issue
Block a user