Skip to content

Commit

Permalink
Update band checklist wording
Browse files Browse the repository at this point in the history
Requested via Slack. Also updates the registration index page to report on meal plans better.
  • Loading branch information
kitsuta committed Apr 24, 2024
1 parent cef6fe6 commit ba4285d
Show file tree
Hide file tree
Showing 6 changed files with 83 additions and 133 deletions.
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -11,5 +11,5 @@ dist
.cache
.eggs/
.coverage
development.ini
config.ini
test.ini
128 changes: 0 additions & 128 deletions development-defaults.ini

This file was deleted.

18 changes: 18 additions & 0 deletions magstock/templates/guest_checklist/band_badges_deadline.html
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 %}
4 changes: 2 additions & 2 deletions magstock/templates/guest_checklist/stage_plot_deadline.html
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<td colspan="3">
{% block deadline_text %}
Please upload your desired stage layouts. Also include any extra equipment requests*,
set lists, information regarding video/visuals, etc...
set lists, any assets or direction for video/visuals, etc...
<br/></br>
This can be in the form of written directions, an image, PDF, or a zipfile containing a
collection of files explaining what you need.
Expand All @@ -31,7 +31,7 @@ <h2>{% block form_title %}Stage Layout for {{ guest.group.name }}{% endblock %}<
{% endif %}

Please upload your desired stage layouts. Also include any extra equipment requests*,
set lists, information regarding video/visuals, etc...
set lists, any assets or direction for video/visuals, etc...
<br/></br>
This can be in the form of written directions, an image, PDF, or a zipfile containing a
collection of files explaining what you need.
Expand Down
60 changes: 60 additions & 0 deletions magstock/templates/guests/index.html
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 %}
4 changes: 2 additions & 2 deletions magstock/templates/registration/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

{% block tableheadings %}
<th><a href="index?order={{ order.camping_type }}">Camping/Cabin Type</a></th>
<th>Gets Food</th>
<th><a href="index?order={{ order.meal_plan }}">Meal Plan</a></th>
{{ super() }}
{% endblock tableheadings %}

Expand All @@ -11,7 +11,7 @@
{{ attendee.camping_type_label }}{% if attendee.camping_type == c.CABIN %} ({{ attendee.cabin_type_label }}){% endif %}
</td>
<td>
{{ attendee.gets_food|yesno("Yes,No") }}
{{ attendee.meal_plan_label }}
</td>
{{ super() }}
{% endblock tablerows %}

0 comments on commit ba4285d

Please sign in to comment.