-
Notifications
You must be signed in to change notification settings - Fork 56
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
24bfc15
commit 11bbd0b
Showing
13 changed files
with
204 additions
and
37 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.11.28 on 2020-05-20 10:35 | ||
from __future__ import unicode_literals | ||
|
||
from django.conf import settings | ||
from django.db import migrations, models | ||
import django.db.models.deletion | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('applications', '0027_auto_20200519_1110'), | ||
] | ||
|
||
operations = [ | ||
migrations.AddField( | ||
model_name='sponsorapplication', | ||
name='id', | ||
field=models.AutoField(auto_created=True, default=1, primary_key=True, serialize=False, verbose_name='ID'), | ||
preserve_default=False, | ||
), | ||
migrations.AlterField( | ||
model_name='sponsorapplication', | ||
name='user', | ||
field=models.ForeignKey(on_delete=django.db.models.deletion.CASCADE, related_name='sponsorapplication_application', to=settings.AUTH_USER_MODEL), | ||
), | ||
] |
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,20 @@ | ||
# -*- coding: utf-8 -*- | ||
# Generated by Django 1.11.28 on 2020-05-20 11:08 | ||
from __future__ import unicode_literals | ||
|
||
from django.db import migrations, models | ||
|
||
|
||
class Migration(migrations.Migration): | ||
|
||
dependencies = [ | ||
('applications', '0028_auto_20200520_0335'), | ||
] | ||
|
||
operations = [ | ||
migrations.AlterField( | ||
model_name='sponsorapplication', | ||
name='status', | ||
field=models.CharField(choices=[('P', 'Under review'), ('R', 'Wait listed'), ('I', 'Invited'), ('LR', 'Last reminder'), ('C', 'Confirmed'), ('X', 'Cancelled'), ('A', 'Attended'), ('E', 'Expired'), ('D', 'Dubious'), ('IV', 'Invalid')], default='C', max_length=2), | ||
), | ||
] |
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 @@ | ||
{% extends 'base_tabs.html' %} | ||
|
||
{% load bootstrap3 %} | ||
{% block head_title %}Application{% endblock %} | ||
|
||
{% block panel %} | ||
|
||
<div> | ||
<h1 style="text-align: center">Thank you!</h1> | ||
<p style="text-align: center">You have registered to {{ h_name }}.</p> | ||
</div> | ||
|
||
{% 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
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,27 @@ | ||
{% extends 'base_email.html' %} | ||
{% block preheader %}New Sponsor: {{ sponsor_name }}{% endblock %} | ||
{% block content %} | ||
<p> | ||
Hi {{ user.name }}, | ||
thanks for creating a new Sponsor User! Here you have a few useful links: | ||
Password reset generator link for {{ sponsor_name }}: | ||
</p> | ||
{% include 'mails/include/email_button.html' with url=user_sponsor_url text='Reset password' %} | ||
<p> | ||
If clicking the link above doesn't work, please copy and paste the URL in a new browser | ||
window instead. | ||
</p> | ||
<p style="text-align: center;">{{ user_sponsor_url|urlize }}</p> | ||
<p> | ||
Application link for {{ sponsor_name }}: | ||
</p> | ||
{% include 'mails/include/email_button.html' with url=app_sponsor_url text='Application' %} | ||
<p> | ||
If clicking the link above doesn't work, please copy and paste the URL in a new browser | ||
window instead. | ||
</p> | ||
<p style="text-align: center;">{{ app_sponsor_url|urlize }}</p> | ||
|
||
{% include 'mails/include/closing.html' %} | ||
|
||
{% 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 @@ | ||
New Sponsor Links |
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