From fdee3d487831de99c3d04a9fa20bec8c1e450946 Mon Sep 17 00:00:00 2001 From: Christopher Neugebauer Date: Tue, 3 Oct 2017 16:49:02 -0700 Subject: [PATCH] T-Shirt stuff --- .../management/commands/populate_inventory.py | 4 +- .../templates/static_pages/attend/tshirt.html | 116 ++++++++++++++++++ pinaxcon/urls.py | 2 +- 3 files changed, 119 insertions(+), 3 deletions(-) create mode 100644 pinaxcon/templates/static_pages/attend/tshirt.html diff --git a/pinaxcon/registrasion/management/commands/populate_inventory.py b/pinaxcon/registrasion/management/commands/populate_inventory.py index a0bffcc..9f58cf6 100644 --- a/pinaxcon/registrasion/management/commands/populate_inventory.py +++ b/pinaxcon/registrasion/management/commands/populate_inventory.py @@ -66,7 +66,7 @@ class Command(BaseCommand): name="T-Shirt", description="Commemorative conference t-shirts, featuring secret " "North Bay Python 2017 artwork. Details of sizing and " - "manufacturer are on our " + "manufacturer are on our " "t-shirts page", required = False, render_type=inv.Category.RENDER_TYPE_ITEM_QUANTITY, @@ -175,7 +175,7 @@ class Command(BaseCommand): ("S", "M", "L", "XL", "2XL", "3XL", "5XL"), ), "womens_classic": ShirtGroup( - "Women's Classic Fit", + "Women's Relaxed Fit", ("XS", "S", "M", "L", "XL", "2XL", "3XL"), ), "womens_semi": ShirtGroup( diff --git a/pinaxcon/templates/static_pages/attend/tshirt.html b/pinaxcon/templates/static_pages/attend/tshirt.html new file mode 100644 index 0000000..146fd7f --- /dev/null +++ b/pinaxcon/templates/static_pages/attend/tshirt.html @@ -0,0 +1,116 @@ +{% extends "page_with_title_and_lede.html" %} + +{% load i18n %} + +{% block head_title %}T-Shirts{% endblock %} + +{% block heading %}T-Shirt sizes and {% endblock %} + +{% block body_class %}attend{% endblock %} + +{% block lede %} + +{% endblock %} + +{% block content %} + +

North Bay Python uses Gildan t-shirts, and this year's design will be available in a variety of colours that you can choose from when you collect your shirt. There are three varieties available:

+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
XSSMLXL2XL3XL5XL
WLWLWLWLWLWLWLWL
Men's / Straight Cut--1828202922302431263228333235
Women's
Semi-Fitted
--17¼25½19¼2621¼2723.352825¼28½27¼29--
Women's
Classic Fit
1623½182520262227242826292830--
+ + +{% endblock %} diff --git a/pinaxcon/urls.py b/pinaxcon/urls.py index adc8fc6..461d80f 100644 --- a/pinaxcon/urls.py +++ b/pinaxcon/urls.py @@ -35,7 +35,7 @@ urlpatterns = [ url(r"^attend/business-case$", TemplateView.as_view(template_name="static_pages/attend/business-case.html"), name="attend/business-case"), url(r"^attend/travel$", TemplateView.as_view(template_name="static_pages/attend/travel.html"), name="attend/travel"), url(r"^attend/hotels$", TemplateView.as_view(template_name="static_pages/attend/hotels.html"), name="attend/hotels"), - url(r"^attend/tshirts$", TemplateView.as_view(template_name="static_pages/attend/tshirts.html"), name="attend/tshirts"), + url(r"^attend/tshirt$", TemplateView.as_view(template_name="static_pages/attend/tshirt.html"), name="attend/tshirt"), url(r"^code-of-conduct$", TemplateView.as_view(template_name="static_pages/code_of_conduct/code_of_conduct.html"), name="code-of-conduct"), url(r"^code-of-conduct/harassment-incidents$", TemplateView.as_view(template_name="static_pages/code_of_conduct/harassment_procedure_attendee.html"), name="code-of-conduct/harassment-incidents"),