Update shirt details to match plans

This commit is contained in:
James Polley 2017-09-30 23:40:46 +10:00
parent 68b6fe8f1e
commit 73964cd820

View file

@ -110,8 +110,8 @@ class Command(BaseCommand):
self.t_shirt = self.find_or_make( self.t_shirt = self.find_or_make(
inv.Category, inv.Category,
("name",), ("name",),
name="T-Shirt", name="Shirt",
description="Commemorative conference t-shirts, featuring the " description="Commemorative conference polo shirts, featuring the "
"linux.conf.au 2018 artwork.", "linux.conf.au 2018 artwork.",
required=False, required=False,
render_type=inv.Category.RENDER_TYPE_ITEM_QUANTITY, render_type=inv.Category.RENDER_TYPE_ITEM_QUANTITY,
@ -369,12 +369,12 @@ class Command(BaseCommand):
ShirtGroup = namedtuple("ShirtGroup", ("prefix", "sizes")) ShirtGroup = namedtuple("ShirtGroup", ("prefix", "sizes"))
shirt_names = { shirt_names = {
"mens": ShirtGroup( "mens": ShirtGroup(
"Men's/Straight Cut Size", "Men's/Straight Cut",
("S", "M", "L", "XL", "2XL", "3XL", "5XL"), ("S", "M", "L", "XL", "2XL", "3XL", "4XL"),
), ),
"womens": ShirtGroup( "womens": ShirtGroup(
"Women's Classic Fit", "Women's Classic Fit",
("XS", "S", "M", "L", "XL", "2XL"), ("8", "10", "12", "14", "16", "18"),
), ),
} }
@ -769,11 +769,11 @@ class Command(BaseCommand):
]) ])
free_category(ticket_staff_inclusions, self.penguin_dinner) free_category(ticket_staff_inclusions, self.penguin_dinner)
# Team & volunteer t-shirts, regardless of ticket type # Team & volunteer shirts, regardless of ticket type
staff_t_shirts = self.find_or_make( staff_t_shirts = self.find_or_make(
cond.GroupMemberDiscount, cond.GroupMemberDiscount,
("description", ), ("description", ),
description="T-shirts complimentary for staff and volunteers", description="Shirts complimentary for staff and volunteers",
) )
staff_t_shirts.group.set([ staff_t_shirts.group.set([
self.group_team, self.group_team,