-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Requested via Slack. Also updates the registration index page to report on meal plans better.
- Loading branch information
Showing
6 changed files
with
83 additions
and
133 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
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -11,5 +11,5 @@ dist | |
.cache | ||
.eggs/ | ||
.coverage | ||
development.ini | ||
config.ini | ||
test.ini |
This file was deleted.
Oops, something went wrong.
18 changes: 18 additions & 0 deletions
18
magstock/templates/guest_checklist/band_badges_deadline.html
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 "uber/templates/guest_checklist/band_badges_deadline.html" %} | ||
|
||
{% block deadline_text %} | ||
{% if guest.all_badges_claimed %} | ||
You have already assigned all badges which have been assigned to your group, but you may change who your | ||
complimentary badges are assigned to using the link above anytime until the start of {{ c.EVENT_NAME }}. | ||
{% elif guest.group.floating %} | ||
<p>You currently have {{ guest.group.floating|length }} unassigned complimentary | ||
badge{{ guest.group.floating|length|pluralize }} available to your group. You may use the link above to | ||
assign these badges.</p> | ||
{% else %} | ||
<p>All of your badges are currently assigned, but not all of them have been filled out. Use the link above to | ||
see which badges are incomplete.</p> | ||
{% endif %} | ||
<p>Paid cabins are separate from performer cabin space. When filling out your information, leave your camping | ||
option as "Tent" unless you want to buy your own cabin.</p> | ||
To request additional badges, send an email to {{ c.BAND_EMAIL|email_only|email_to_link }}. | ||
{% 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,60 @@ | ||
{% extends "uber/templates/guests/index.html" %} | ||
{% block body %} | ||
{% set snippet=True %} | ||
<style type="text/css"> | ||
td img { | ||
width: 20px; | ||
height: 20px; | ||
margin-right: 5px; | ||
vertical-align: top; | ||
} | ||
</style> | ||
|
||
<h2>{% if guest.group_type == c.GUEST %}Guests & Events Checklist for {{ guest.group.name }} | ||
{% else %}{{ guest.group_type_label }} Checklist for {{ guest.group.name }}{% endif %}</h2> | ||
|
||
{% if guest.group_type == c.GUEST %} | ||
This checklist will help make sure {{ c.EVENT_NAME }} has all the group, panel, activity, and | ||
support information we need from you before the event. | ||
{% elif guest.group_type == c.BAND %} | ||
Please fill out the following checklist items by no later than the dates indicated on each individual item. | ||
If you have any questions, please contact {{ c.BAND_EMAIL|email_only|email_to_link }}. | ||
{% else %} | ||
Here is a list of things which {{ c.EVENT_NAME }} needs from you before the event. | ||
{% endif %} | ||
<br/><br/> | ||
|
||
<table style="width:auto"> | ||
{% if guest.group_type == c.MIVS %} | ||
{% for key, val in c.MIVS_CHECKLIST.items()|sort(attribute='1.deadline') %} | ||
<h3>{{ val['name'] }}</h3> | ||
<p>{{ val['description'] }}</p> | ||
<p> | ||
{% if not val['start'] or now_localized() >= val['start'] %} | ||
<strong>Deadline</strong>: {{ guest.group.studio.checklist_deadline(key)|datetime_local if guest.group.studio }}</p> | ||
<p> | ||
{% if not guest.group.studio[key + "_status"] %} | ||
<a href="mivs_{{ key }}?guest_id={{ guest.id }}">Complete this checklist step</a>. | ||
{% elif val['editable'] and now_localized() <= guest.group.studio.checklist_deadline(key) %} | ||
You've <strong>already completed</strong> this step but you can still <a href="mivs_{{ key }}?guest_id={{ guest.id }}">edit your response</a> until the deadline. | ||
{% else %} | ||
You've <strong>already completed</strong> this step. | ||
{% endif %} | ||
{% else %} | ||
This step is not available yet. We will email you when it becomes available, so keep an eye on your inbox. | ||
{% endif %} | ||
</p> | ||
{% endfor %} | ||
{% else %} | ||
{% for item in guest.sorted_checklist_items -%} | ||
{# Try to include the checklist template with a prefix matching the group's type, e.g. band_info_deadline.html #} | ||
{%- include [ | ||
item['deadline_template'][0] ~ guest.group_type_label|lower|replace(' ','_') ~ '_' ~ item['deadline_template'][1], | ||
item['deadline_template'][0] ~ item['deadline_template'][1] | ||
] -%} | ||
{%- endfor %} | ||
{% endif %} | ||
{% include "guests/guestextra.html" %} | ||
</table> | ||
|
||
{% 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