-
Notifications
You must be signed in to change notification settings - Fork 83
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Create system to invite speakers to the CfP
create a user & empty proposal of a specific type for them, put it in manual review & email them a link to fill it out. see #1327 & #813
- Loading branch information
Showing
6 changed files
with
91 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
{% from "_formhelpers.html" import render_dl_field %} | ||
{% extends "cfp_review/base.html" %} | ||
{% block body %} | ||
<form method="POST" class="form"> | ||
{{ form.hidden_tag() }} | ||
{{ render_dl_field(form.name) }} | ||
{{ render_dl_field(form.email) }} | ||
{{ render_dl_field(form.proposal_type) }} | ||
{{ render_dl_field(form.title) }} | ||
{{ render_dl_field(form.description) }} | ||
{{ form.add(class_="btn btn-primary debounce") }} | ||
</form> | ||
{% endblock %} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
{% extends "emails/base.txt" %} | ||
{% block body %} | ||
Hi {{ user.name }}, | ||
|
||
This is to let you know that you now have an account on our website for Electromagnetic Field {{ event_year }}! | ||
|
||
You can log into this account by visiting: | ||
|
||
{{ external_url('users.login', code=code, next=url_for('cfp.edit_proposal', proposal_id=proposal.id)) }} | ||
|
||
Once you've logged in please fill in the details for your {{proposal.human_type}}. | ||
|
||
If you think you've been added in error or you have any problems, please let us know by replying to this email. | ||
|
||
Love, | ||
|
||
All the EMF team | ||
{% endblock %} |