fix: remove speaker-registration

This commit is contained in:
Summayya
2021-08-20 13:41:11 +05:30
parent 2894a5e479
commit dba956e473
37 changed files with 278 additions and 168 deletions

View File

@@ -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>

View File

@@ -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",