Change to relative urls for inventory

This commit is contained in:
Joel Addison 2019-10-13 21:31:27 +10:00
parent 5380a510d5
commit fa97cc07e8

View file

@ -61,7 +61,7 @@ class Command(BaseCommand):
name="Ticket", name="Ticket",
description="Each type of ticket has different included products. " description="Each type of ticket has different included products. "
"For details of what products are included, see our " "For details of what products are included, see our "
"<a href='https://linux.conf.au/attend/tickets/'>registration page</a>.", "<a href=\"/attend/tickets/\">registration page</a>.",
required=True, required=True,
render_type=inv.Category.RENDER_TYPE_RADIO, render_type=inv.Category.RENDER_TYPE_RADIO,
limit_per_user=1, limit_per_user=1,
@ -72,10 +72,10 @@ class Command(BaseCommand):
("name",), ("name",),
name="Terms, Conditions, and Code of Conduct Acceptance", name="Terms, Conditions, and Code of Conduct Acceptance",
description="I agree to the " description="I agree to the "
"<a href=\"https://linux.conf.au/attend/terms-and-conditions\"> " "<a href=\"/attend/terms-and-conditions/\"> "
"terms and conditions of attendance</a>, and I have read, " "terms and conditions of attendance</a>, and I have read, "
"understood, and agree to act according to the standards set " "understood, and agree to act according to the standards set "
"forth in our <a href=\"https://linux.conf.au/attend/code-of-conduct\">" "forth in our <a href=\"/attend/code-of-conduct/\">"
"Code of Conduct</a>.", "Code of Conduct</a>.",
required=True, required=True,
render_type=inv.Category.RENDER_TYPE_CHECKBOX, render_type=inv.Category.RENDER_TYPE_CHECKBOX,
@ -128,7 +128,7 @@ class Command(BaseCommand):
name="Shirt", name="Shirt",
description="Commemorative conference shirts, featuring the " description="Commemorative conference shirts, featuring the "
f"linux.conf.au {settings.LCA_START.year} artwork. " f"linux.conf.au {settings.LCA_START.year} artwork. "
"View the <a href=\"https://linux.conf.au/attend/shirts\">" "View the <a href=\"/attend/shirts/\">"
"sizing guide</a>.", "sizing guide</a>.",
required=False, required=False,
render_type=inv.Category.RENDER_TYPE_ITEM_QUANTITY, render_type=inv.Category.RENDER_TYPE_ITEM_QUANTITY,