From 99d55904abc3670d7365cb7b69e101574d3aa4aa Mon Sep 17 00:00:00 2001
From: Shivam Mishra
Date: Fri, 2 Aug 2019 20:38:18 +0530
Subject: [PATCH] feat: finishing conf design
---
.../conference_participant.py | 2 +-
foundation/www/conf/2019/expo.html | 13 +++++---
foundation/www/conf/2019/index.html | 12 +++++--
foundation/www/conf/2019/sponsor.html | 32 ++++---------------
foundation/www/conf/2019/sprint.html | 12 +++++--
foundation/www/conf/2019/talks.html | 12 +++++--
6 files changed, 44 insertions(+), 39 deletions(-)
diff --git a/foundation/erpnext_foundation/doctype/conference_participant/conference_participant.py b/foundation/erpnext_foundation/doctype/conference_participant/conference_participant.py
index 9a02136a..c374e585 100644
--- a/foundation/erpnext_foundation/doctype/conference_participant/conference_participant.py
+++ b/foundation/erpnext_foundation/doctype/conference_participant/conference_participant.py
@@ -19,7 +19,7 @@ class ConferenceParticipant(Document):
self.save(ignore_permissions=True)
def send_ticket_mail(self):
- if self.paid == 1:
+ if self.paid == 1 and self.email:
message = """Thank you for participating in the ERPNext Conference {0}.
You can find your ticket attached with this email,
for more details about the conference please visit https://erpnext.com/conf/{0}""".format(self.conference)
diff --git a/foundation/www/conf/2019/expo.html b/foundation/www/conf/2019/expo.html
index ef147cff..1b31f000 100644
--- a/foundation/www/conf/2019/expo.html
+++ b/foundation/www/conf/2019/expo.html
@@ -1,5 +1,5 @@
{% extends "templates/base.html" %}
-{% block title %}ERPNext Expo{% endblock %}
+{% block title %}Exhibit Program{% endblock %}
{% block content %}
@@ -8,12 +8,14 @@
-
Expo
+
Exhibit Program
Showcase the services you provide for ERPNext to the global community,
understand their challenges and explore solutions with them.
-
Book a Stall
+
+ Book a Stall
+
@@ -99,7 +101,10 @@
{% endblock %}
diff --git a/foundation/www/conf/2019/index.html b/foundation/www/conf/2019/index.html
index 09594ce3..bafdb4bc 100644
--- a/foundation/www/conf/2019/index.html
+++ b/foundation/www/conf/2019/index.html
@@ -16,7 +16,10 @@
October 15 - 18, Mumbai
- Buy Tickets
+
+ Buy Tickets (INR)
+ Buy Tickets (USD)
+
@@ -70,7 +73,7 @@
-
Expo
+
Exhibit Program
Showcase the services you provide for ERPNext to the global community,
understand their challenges and explore solutions with them.
@@ -87,7 +90,10 @@
{% endblock %}
diff --git a/foundation/www/conf/2019/sponsor.html b/foundation/www/conf/2019/sponsor.html
index 574ef5d9..9310928a 100644
--- a/foundation/www/conf/2019/sponsor.html
+++ b/foundation/www/conf/2019/sponsor.html
@@ -1,35 +1,16 @@
{% set platinum_sponsors = [
{
- 'image': '/assets/foundation/img/no-image.png',
- 'title': 'Global Company #1',
- 'website_url': 'http://www.example.com/'
+ 'image': '/assets/foundation/img/conf/sponsors/frappe-logo.png',
+ 'title': 'Frappe Technologies',
+ 'website_url': 'http://frappe.io/'
},
{
- 'image': '/assets/foundation/img/no-image.png',
- 'title': 'Global Company #2',
+ 'image': '/assets/foundation/img/people/tux.png',
+ 'title': 'Your Awesome Company',
'website_url': 'http://www.example.com/'
}
] %}
-{% set silver_sponsors = [
- {
- 'image': '/assets/foundation/img/no-image.png',
- 'title': 'Global Company #3',
- 'website_url': 'http://www.example.com/'
- },
- {
- 'image': '/assets/foundation/img/no-image.png',
- 'title': 'Global Company #4',
- 'website_url': 'http://www.example.com/'
- },
- {
- 'image': '/assets/foundation/img/no-image.png',
- 'title': 'Global Company #5',
- 'website_url': 'http://www.example.com/'
- },
-] %}
-
-
{% macro show_section(sponsors, with_img = False, color=False) %}
{% for sponsor in sponsors %}
@@ -62,7 +43,8 @@
Become a Sponsor
Become a patron for the conference and get associated with a global community of tens of thousands of users and developers.
-
Sponsor
+
Sponsor
+
Sponsor
{% if platinum_sponsors %}
diff --git a/foundation/www/conf/2019/sprint.html b/foundation/www/conf/2019/sprint.html
index b88ccc2f..f66d1a6a 100644
--- a/foundation/www/conf/2019/sprint.html
+++ b/foundation/www/conf/2019/sprint.html
@@ -14,7 +14,10 @@
two day contribution sprint and contribute new features,
fixes and documentation.
-
Buy Tickets
+
+ Buy Tickets (INR)
+ Buy Tickets (USD)
+
@@ -82,7 +85,7 @@
-
Expo
+
Exhibit Program
Showcase the services you provide for ERPNext to the global community,
understand their challenges and explore solutions with them.
@@ -99,7 +102,10 @@
{% endblock %}
diff --git a/foundation/www/conf/2019/talks.html b/foundation/www/conf/2019/talks.html
index 4a788c98..83fa6e04 100644
--- a/foundation/www/conf/2019/talks.html
+++ b/foundation/www/conf/2019/talks.html
@@ -13,7 +13,10 @@
Interact about the product road-map, learn about the new and
exciting features, stories and best practices.
- Buy Tickets
+
+ Buy Tickets (INR)
+ Buy Tickets (USD)
+
@@ -85,7 +88,7 @@
-
Expo
+
Exhibit Program
Showcase the services you provide for ERPNext to the global community,
understand their challenges and explore solutions with them.
@@ -102,7 +105,10 @@
{% endblock %}