diff --git a/.gitignore b/.gitignore index 267410f..f43041f 100644 --- a/.gitignore +++ b/.gitignore @@ -11,5 +11,5 @@ dist .cache .eggs/ .coverage -development.ini +config.ini test.ini diff --git a/development-defaults.ini b/development-defaults.ini deleted file mode 100644 index a1c242a..0000000 --- a/development-defaults.ini +++ /dev/null @@ -1,128 +0,0 @@ -[enums] -[[campsite]] -black01 = "Black 01" -black02 = "Black 02" -black03 = "Black 03" -black04 = "Black 04" -black05 = "Black 05" -black06 = "Black 06" -black07 = "Black 07" -black08 = "Black 08" -black09 = "Black 09 (Hub: Community Kitchen & Bar Area)" -black10 = "Black 10" -black11 = "Black 11" -black12 = "Black 12" -black13 = "Black 13" -black14 = "Black 14" -black15 = "Black 15" -black16 = "Black 16" -black17 = "Black 17" -black18 = "Black 18" -black19 = "Black 19" -black20 = "Black 20" -black21 = "Black 21" -black22 = "Black 22" -black23 = "Black 23" -black24 = "Black 24" -black25 = "Black 25" -black26 = "Black 26" -black27 = "Black 27" -black28 = "Black 28" -black29 = "Black 29" -black30 = "Black 30" -black31 = "Black 31" -black32 = "Black 32" -black33 = "Black 33" -black34 = "Black 34" -black35 = "Black 35" -black36 = "Black 36" -black37 = "Black 37" -black38 = "Black 38 (Attendee: Jonathan Jarvis)" -black39 = "Black 39" -black40 = "Black 40" -black41 = "Black 41" -black42 = "Black 42" -black43 = "Black 43" -black44 = "Black 44" -black45 = "Black 45" -black46 = "Black 46" -black47 = "Black 47" -black48 = "Black 48" -black49 = "Black 49" -black50 = "Black 50" -black51 = "Black 51" -black52 = "Black 52" -black53 = "Black 53" -black54 = "Black 00" -primitive01 = "Tent 01 (Black)" -primitive02 = "Tent 02 (Black)" -primitive05 = "Tent 05 (Black) (area behind pavilion)" -primitive06 = "Tent 06 (Black)" -primitive07 = "Tent 07 (Black)" -primitive08 = "Tent 08 (DJ Island)" -primitive09 = "Tent 09 (DJ Island)" -primitive10 = "Tent 10 (?) (DJ Island)" -primitive11 = "Tent 11 (DJ Island)" -primitive48 = "Tent 48 (Lakeside)" -primitive49 = "Tent 49 (Lakeside)" -primitive50 = "Tent 50 (?) (Lakeside)" -primitive51 = "Tent 51 (Lakeside)" -primitive52 = "Tent 52 (?) (Lakeside)" -primitive53 = "Tent 53 (Lakeside)" -primitive54 = "Tent 54 (Lakeside)" -primitive55 = "Tent 55 (Lakeside)" -primitive56 = "Tent 56 (Lakeside)" -primitive57 = "Tent 57 (Lakeside)" -primitive58 = "Tent 58 (Lakeside)" -primitive59 = "Tent 59 (Lakeside)" -primitivegh01 = "Tent/GH 1 (Gatehouse)" -primitivegh02 = "Tent/GH 2 (Gatehouse)" -primitivegh03 = "Tent/GH 3 (Gatehouse)" -primitivegh04 = "Tent/GH 4 (Gatehouse)" -primitivegh05 = "Tent/GH 5 (Gatehouse)" -orange01 = "Orange 01 (Attendee: Billdozer)" -orange02 = "Orange 02 (Attendee: TechStock)" -orange03 = "Orange 03 (Attendee: TechStock)" -orange04 = "Orange 04 (Attendee: TechStock)" -orange05 = "Orange 05" -orange06 = "Orange 06 (Attendee: TechStock)" -orange07 = "Orange 07" -orange08 = "Orange 08" -orange09 = "Orange 09" -orange10 = "Orange 10" -orange11 = "Orange 11" -orange12 = "Orange 12" -orange13 = "Orange 13" -orange14 = "Orange 14" -orange15 = "Orange 15" -orange16 = "Orange 16" -orange17 = "Orange 17" -orange18 = "Orange 18" -orange19 = "Orange 19" -orange20 = "Orange 20" -orange21 = "Orange 21" -orange22 = "Orange 22" -orange23 = "Orange 23" - -dwelling01 = "Manor House" -dwelling02 = "Bunk House" -dwelling03 = "Blue Heron (Park Model) (unavailable)" -dwelling04 = "Blue Jay (Bunk Model)" -dwelling05 = "Canary (Park Model)" -dwelling06 = "Cardinal (unavailable)" -dwelling07 = "Dove (Cabin) (unavailable)" -dwelling08 = "Eagle (Cabin)" -dwelling09 = "Falcon (Bunk Model)" -dwelling010 = "Finch (Bunk Model)" -dwelling011 = "Flicker (Rental Trailer)" -dwelling012 = "Gold Finch (Rental Trailer)" -dwelling013 = "Grebe (Rental Trailer)" -dwelling014 = "Grouse (Rental Trailer)" -dwelling015 = "Hawk (Park Model) (unavailable)" -dwelling016 = "Humming Bird (Camper Model) (unavailable)" -dwelling017 = "Ibis (Rental Trailer)" -dwelling018 = "Junco (Bunk Model)" - - -[[camping_type]] -tent = "Tent" diff --git a/magstock/templates/guest_checklist/band_badges_deadline.html b/magstock/templates/guest_checklist/band_badges_deadline.html new file mode 100644 index 0000000..da8a16d --- /dev/null +++ b/magstock/templates/guest_checklist/band_badges_deadline.html @@ -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 %} +

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.

+ {% else %} +

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.

+ {% endif %} +

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.

+ To request additional badges, send an email to {{ c.BAND_EMAIL|email_only|email_to_link }}. +{% endblock %} \ No newline at end of file diff --git a/magstock/templates/guest_checklist/stage_plot_deadline.html b/magstock/templates/guest_checklist/stage_plot_deadline.html index 0e6c15b..17ca845 100644 --- a/magstock/templates/guest_checklist/stage_plot_deadline.html +++ b/magstock/templates/guest_checklist/stage_plot_deadline.html @@ -9,7 +9,7 @@ {% 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...

This can be in the form of written directions, an image, PDF, or a zipfile containing a collection of files explaining what you need. @@ -31,7 +31,7 @@

{% 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...

This can be in the form of written directions, an image, PDF, or a zipfile containing a collection of files explaining what you need. diff --git a/magstock/templates/guests/index.html b/magstock/templates/guests/index.html new file mode 100644 index 0000000..b3d47cd --- /dev/null +++ b/magstock/templates/guests/index.html @@ -0,0 +1,60 @@ +{% extends "uber/templates/guests/index.html" %} +{% block body %} + {% set snippet=True %} + + +

{% if guest.group_type == c.GUEST %}Guests & Events Checklist for {{ guest.group.name }} + {% else %}{{ guest.group_type_label }} Checklist for {{ guest.group.name }}{% endif %}

+ + {% 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 %} +

+ + + {% if guest.group_type == c.MIVS %} + {% for key, val in c.MIVS_CHECKLIST.items()|sort(attribute='1.deadline') %} +

{{ val['name'] }}

+

{{ val['description'] }}

+

+ {% if not val['start'] or now_localized() >= val['start'] %} + Deadline: {{ guest.group.studio.checklist_deadline(key)|datetime_local if guest.group.studio }}

+

+ {% if not guest.group.studio[key + "_status"] %} + Complete this checklist step. + {% elif val['editable'] and now_localized() <= guest.group.studio.checklist_deadline(key) %} + You've already completed this step but you can still edit your response until the deadline. + {% else %} + You've already completed 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 %} +

+ {% 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" %} +
+ +{% endblock %} diff --git a/magstock/templates/registration/index.html b/magstock/templates/registration/index.html index e17a196..164fadf 100644 --- a/magstock/templates/registration/index.html +++ b/magstock/templates/registration/index.html @@ -2,7 +2,7 @@ {% block tableheadings %} Camping/Cabin Type - Gets Food + Meal Plan {{ super() }} {% endblock tableheadings %} @@ -11,7 +11,7 @@ {{ attendee.camping_type_label }}{% if attendee.camping_type == c.CABIN %} ({{ attendee.cabin_type_label }}){% endif %} - {{ attendee.gets_food|yesno("Yes,No") }} + {{ attendee.meal_plan_label }} {{ super() }} {% endblock tablerows %}