fix: remove speaker-registration
This commit is contained in:
@@ -1,14 +1,20 @@
|
||||
<div class="section-with-cards">
|
||||
<h1 class="course-home-headings">{{title}}</h1>
|
||||
{%- if subtitle -%}
|
||||
<p class="section-description">{{ subtitle }}</p>
|
||||
{%- endif -%}
|
||||
<div class="speaker-cards-parent">
|
||||
<div class="speaker-cards-parent">
|
||||
{% for exhibitor in exhibitor_details %}
|
||||
{% set exhibitor_doc = frappe.get_doc("Exhibitor Registration", exhibitor.exhibitor) %}
|
||||
{% set exhibitor_doc = frappe.get_doc("Exhibitor", exhibitor.exhibitor) %}
|
||||
<a href="/event/conference2021/{{exhibitor_doc.company}}">
|
||||
<div class="common-card-style talk-card exhibitor-card">
|
||||
<span>
|
||||
<img class="standard-image company-logo" src="{{exhibitor_doc.logo}}" />
|
||||
</span>
|
||||
<div class="small-title company-name">{{exhibitor_doc.company}}</div>
|
||||
</div>
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{%- if cta_link -%}
|
||||
|
||||
@@ -0,0 +1,3 @@
|
||||
<div class="section-with-cards">
|
||||
<h1 class="course-home-headings">{{title}}</h1>
|
||||
</div>
|
||||
@@ -0,0 +1,43 @@
|
||||
{
|
||||
"__unsaved": 1,
|
||||
"creation": "2021-08-20 08:12:29.549625",
|
||||
"docstatus": 0,
|
||||
"doctype": "Web Template",
|
||||
"fields": [
|
||||
{
|
||||
"fieldname": "title",
|
||||
"fieldtype": "Data",
|
||||
"label": "Title",
|
||||
"reqd": 0
|
||||
},
|
||||
{
|
||||
"fieldname": "subtitle",
|
||||
"fieldtype": "Data",
|
||||
"label": "Subtitle",
|
||||
"reqd": 0
|
||||
},
|
||||
{
|
||||
"__unsaved": 1,
|
||||
"fieldname": "hosts",
|
||||
"fieldtype": "Table Break",
|
||||
"label": "Hosts",
|
||||
"reqd": 0
|
||||
},
|
||||
{
|
||||
"fieldname": "host",
|
||||
"fieldtype": "Link",
|
||||
"label": "Host",
|
||||
"options": "Host",
|
||||
"reqd": 0
|
||||
}
|
||||
],
|
||||
"idx": 0,
|
||||
"modified": "2021-08-20 08:16:25.805456",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Event Management",
|
||||
"name": "Host Section",
|
||||
"owner": "Administrator",
|
||||
"standard": 1,
|
||||
"template": "",
|
||||
"type": "Section"
|
||||
}
|
||||
@@ -1,38 +0,0 @@
|
||||
<div class="section-with-cards">
|
||||
<div class="course-home-headings">{{title}}</div>
|
||||
<div class="speaker-cards-parent">
|
||||
{% for video in talk_details %}
|
||||
{% set video_details = frappe.get_doc('Talk', video.previous_content, filters={
|
||||
'event': event
|
||||
}) %}
|
||||
<div class="common-card-style talk-card">
|
||||
<div class="course-image" style="background-image: url({{video_details.thumbnail}})">
|
||||
<div class="course-tags"></div>
|
||||
</div>
|
||||
<div class="course-card-content">
|
||||
<div class="course-card-meta muted-text">
|
||||
<span> ERPNext </span>
|
||||
</div>
|
||||
<div class="course-card-title">{{video_details.title}}</div>
|
||||
<div class="card-divider"></div>
|
||||
<div class="course-card-meta-2">
|
||||
<a class="button-links" href="/rushabh">
|
||||
<span class="avatar avatar-small" title="Rushabh Mehta">
|
||||
<img class="avatar-frame standard-image" style="object-fit: cover"
|
||||
src="{{video_details.thumbnail}}"
|
||||
title={{video_details.name_of_the_speaker}} />
|
||||
</span>
|
||||
</a>
|
||||
<span class="course-instructor"> {{video_details.name_of_the_speaker}} </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="{{video_details.url}}"></a>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
@@ -19,6 +19,9 @@
|
||||
{% endfor %}
|
||||
|
||||
<div class="courses-header">{{title}}</div>
|
||||
{%- if subtitle -%}
|
||||
<p class="section-description">{{ subtitle }}</p>
|
||||
{%- endif -%}
|
||||
<div class="common-page-style">
|
||||
<div class="container">
|
||||
<div class="course-content-parent">
|
||||
|
||||
@@ -1,9 +1,11 @@
|
||||
<div class="section-with-cards">
|
||||
<h1 class="course-home-headings">{{section_title}}</h1>
|
||||
{%- if subtitle -%}
|
||||
<p class="section-description">{{ subtitle }}</p>
|
||||
{%- endif -%}
|
||||
<div class="speaker-cards-parent">
|
||||
{% for speaker in speaker_details %}
|
||||
{% for speaker in speaker_details %}
|
||||
{% set speaker_doc = frappe.get_doc("Speaker", speaker.speaker) %}
|
||||
|
||||
<div class="common-card-style member-card talk-card">
|
||||
<span class="avatar avatar-large">
|
||||
<img class="avatar-frame" src="{{speaker_doc.picture}}" />
|
||||
@@ -18,6 +20,6 @@
|
||||
|
||||
</div>
|
||||
{%- if cta_link -%}
|
||||
<div class="event-btn"><a href={{cta_link}} class="btn btn-primary ">Propose a Talk</a></div>
|
||||
<div class="event-btn"><a href='/speaker-registration?event={{ event_ }}&user={{ frappe.session.user }}' class="btn btn-primary ">Propose a Talk</a></div>
|
||||
{%- endif -%}
|
||||
</div>
|
||||
@@ -23,12 +23,6 @@
|
||||
"options": "Event Details",
|
||||
"reqd": 0
|
||||
},
|
||||
{
|
||||
"fieldname": "cta_link",
|
||||
"fieldtype": "Data",
|
||||
"label": "CTA Link",
|
||||
"reqd": 0
|
||||
},
|
||||
{
|
||||
"fieldname": "speaker_details",
|
||||
"fieldtype": "Table Break",
|
||||
@@ -44,7 +38,7 @@
|
||||
}
|
||||
],
|
||||
"idx": 1,
|
||||
"modified": "2021-08-19 16:06:45.811889",
|
||||
"modified": "2021-08-20 10:59:54.965714",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Event Management",
|
||||
"name": "Speaker Section",
|
||||
|
||||
@@ -0,0 +1,40 @@
|
||||
<div class="section-with-cards">
|
||||
<div class="course-home-headings">{{title}}</div>
|
||||
{%- if subtitle -%}
|
||||
<p class="section-description">{{ subtitle }}</p>
|
||||
{%- endif -%}
|
||||
<div class="speaker-cards-parent">
|
||||
{% for talk in talk_details %}
|
||||
{% set talk_doc = frappe.get_doc('Talk', talk.talk, filters={
|
||||
'event': event
|
||||
}) %}
|
||||
<div class="common-card-style talk-card">
|
||||
<div class="course-image" style="background-image: url({{talk_doc.thumbnail}})">
|
||||
<div class="course-tags"></div>
|
||||
</div>
|
||||
<div class="course-card-content">
|
||||
<div class="course-card-meta muted-text">
|
||||
<span> {{talk_doc.topic}} </span>
|
||||
</div>
|
||||
<div class="course-card-title">{{talk_doc.title}}</div>
|
||||
<div class="card-divider"></div>
|
||||
<div class="course-card-meta-2">
|
||||
<a class="button-links" href="">
|
||||
<span class="avatar avatar-small" title={{talk_doc.name_of_the_speaker}}>
|
||||
<img class="avatar-frame standard-image" style="object-fit: cover" src="{{talk_doc.thumbnail}}"
|
||||
title={{talk_doc.name_of_the_speaker}} />
|
||||
</span>
|
||||
</a>
|
||||
<span class="course-instructor"> {{talk_doc.name_of_the_speaker}} </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_doc.url}}"></a>
|
||||
</div>
|
||||
</div>
|
||||
{% endfor %}
|
||||
</div>
|
||||
</div>
|
||||
@@ -17,7 +17,6 @@
|
||||
"reqd": 0
|
||||
},
|
||||
{
|
||||
"__unsaved": 1,
|
||||
"fieldname": "event",
|
||||
"fieldtype": "Link",
|
||||
"label": "Event",
|
||||
@@ -31,20 +30,18 @@
|
||||
"reqd": 0
|
||||
},
|
||||
{
|
||||
"__islocal": 1,
|
||||
"__unsaved": 1,
|
||||
"fieldname": "previous_content",
|
||||
"fieldname": "talk",
|
||||
"fieldtype": "Link",
|
||||
"label": "Previous Content",
|
||||
"options": "Previous Content",
|
||||
"label": "Talk",
|
||||
"options": "Talk",
|
||||
"reqd": 0
|
||||
}
|
||||
],
|
||||
"idx": 1,
|
||||
"modified": "2021-08-18 10:03:50.193908",
|
||||
"modified": "2021-08-20 10:58:45.556636",
|
||||
"modified_by": "Administrator",
|
||||
"module": "Event Management",
|
||||
"name": "Previous Talk",
|
||||
"name": "Talk Section",
|
||||
"owner": "Administrator",
|
||||
"standard": 1,
|
||||
"template": "",
|
||||
Reference in New Issue
Block a user