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",
description="Each type of ticket has different included products. "
"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,
render_type=inv.Category.RENDER_TYPE_RADIO,
limit_per_user=1,
@ -72,10 +72,10 @@ class Command(BaseCommand):
("name",),
name="Terms, Conditions, and Code of Conduct Acceptance",
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, "
"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>.",
required=True,
render_type=inv.Category.RENDER_TYPE_CHECKBOX,
@ -128,7 +128,7 @@ class Command(BaseCommand):
name="Shirt",
description="Commemorative conference shirts, featuring the "
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>.",
required=False,
render_type=inv.Category.RENDER_TYPE_ITEM_QUANTITY,