From e788626c7fa4bd385d1cbd4350d35ecc246434e4 Mon Sep 17 00:00:00 2001 From: Joshua Simmons Date: Tue, 26 Sep 2017 21:36:39 -0700 Subject: [PATCH] stub out pages, update donate page url and file location --- pinaxcon/templates/_footer.html | 3 ++- .../static_pages/about/petaluma.html | 20 +++++++++++++++++++ .../templates/static_pages/attend/attend.html | 20 +++++++++++++++++++ .../static_pages/attend/business-case.html | 20 +++++++++++++++++++ .../templates/static_pages/attend/hotels.html | 20 +++++++++++++++++++ .../templates/static_pages/attend/travel.html | 20 +++++++++++++++++++ .../static_pages/program/events.html | 20 +++++++++++++++++++ .../{about => sponsors}/donate.html | 2 +- pinaxcon/urls.py | 7 ++++--- 9 files changed, 127 insertions(+), 5 deletions(-) rename pinaxcon/templates/static_pages/{about => sponsors}/donate.html (97%) diff --git a/pinaxcon/templates/_footer.html b/pinaxcon/templates/_footer.html index 8dffd63..584ec29 100644 --- a/pinaxcon/templates/_footer.html +++ b/pinaxcon/templates/_footer.html @@ -14,8 +14,9 @@ Facebook | Twitter | Code of Conduct + | Terms and Conditions | Colophon - | Donate + | Donate

This site is free and open source software, powered by Symposion and Registrasion.

diff --git a/pinaxcon/templates/static_pages/about/petaluma.html b/pinaxcon/templates/static_pages/about/petaluma.html index e69de29..4ab735a 100644 --- a/pinaxcon/templates/static_pages/about/petaluma.html +++ b/pinaxcon/templates/static_pages/about/petaluma.html @@ -0,0 +1,20 @@ +{% extends "page_with_title_and_lede.html" %} + +{% load i18n %} + +{% block head_title %}Petaluma{% endblock %} + +{% block heading %}Petaluma{% endblock %} + +{% block body_class %}about{% endblock %} + +{% block lede %} + Lede +{% endblock %} + + +{% block content %} + +Content + +{% endblock %} diff --git a/pinaxcon/templates/static_pages/attend/attend.html b/pinaxcon/templates/static_pages/attend/attend.html index e69de29..3a0590b 100644 --- a/pinaxcon/templates/static_pages/attend/attend.html +++ b/pinaxcon/templates/static_pages/attend/attend.html @@ -0,0 +1,20 @@ +{% extends "page_with_title_and_lede.html" %} + +{% load i18n %} + +{% block head_title %}Attend{% endblock %} + +{% block heading %}Attend{% endblock %} + +{% block body_class %}attend{% endblock %} + +{% block lede %} + Lede +{% endblock %} + + +{% block content %} + +Content + +{% endblock %} diff --git a/pinaxcon/templates/static_pages/attend/business-case.html b/pinaxcon/templates/static_pages/attend/business-case.html index e69de29..06e0fa4 100644 --- a/pinaxcon/templates/static_pages/attend/business-case.html +++ b/pinaxcon/templates/static_pages/attend/business-case.html @@ -0,0 +1,20 @@ +{% extends "page_with_title_and_lede.html" %} + +{% load i18n %} + +{% block head_title %}How to Pitch Your Manager{% endblock %} + +{% block heading %}How to Pitch Your Manager{% endblock %} + +{% block body_class %}attend{% endblock %} + +{% block lede %} + Lede +{% endblock %} + + +{% block content %} + +Content + +{% endblock %} diff --git a/pinaxcon/templates/static_pages/attend/hotels.html b/pinaxcon/templates/static_pages/attend/hotels.html index e69de29..3cd9fe0 100644 --- a/pinaxcon/templates/static_pages/attend/hotels.html +++ b/pinaxcon/templates/static_pages/attend/hotels.html @@ -0,0 +1,20 @@ +{% extends "page_with_title_and_lede.html" %} + +{% load i18n %} + +{% block head_title %}Where to Stay{% endblock %} + +{% block heading %}Where to Stay{% endblock %} + +{% block body_class %}attend{% endblock %} + +{% block lede %} + Lede +{% endblock %} + + +{% block content %} + +Content + +{% endblock %} diff --git a/pinaxcon/templates/static_pages/attend/travel.html b/pinaxcon/templates/static_pages/attend/travel.html index e69de29..73811c5 100644 --- a/pinaxcon/templates/static_pages/attend/travel.html +++ b/pinaxcon/templates/static_pages/attend/travel.html @@ -0,0 +1,20 @@ +{% extends "page_with_title_and_lede.html" %} + +{% load i18n %} + +{% block head_title %}How to Get Here{% endblock %} + +{% block heading %}How to Get Here{% endblock %} + +{% block body_class %}attend{% endblock %} + +{% block lede %} + Lede +{% endblock %} + + +{% block content %} + +Content + +{% endblock %} diff --git a/pinaxcon/templates/static_pages/program/events.html b/pinaxcon/templates/static_pages/program/events.html index e69de29..8942f9e 100644 --- a/pinaxcon/templates/static_pages/program/events.html +++ b/pinaxcon/templates/static_pages/program/events.html @@ -0,0 +1,20 @@ +{% extends "page_with_title_and_lede.html" %} + +{% load i18n %} + +{% block head_title %}Events{% endblock %} + +{% block heading %}Events{% endblock %} + +{% block body_class %}program{% endblock %} + +{% block lede %} + Lede +{% endblock %} + + +{% block content %} + +Content + +{% endblock %} diff --git a/pinaxcon/templates/static_pages/about/donate.html b/pinaxcon/templates/static_pages/sponsors/donate.html similarity index 97% rename from pinaxcon/templates/static_pages/about/donate.html rename to pinaxcon/templates/static_pages/sponsors/donate.html index 2144ef6..ee4de49 100644 --- a/pinaxcon/templates/static_pages/about/donate.html +++ b/pinaxcon/templates/static_pages/sponsors/donate.html @@ -6,7 +6,7 @@ {% block heading %}Donate to North Bay Python{% endblock %} -{% block body_class %}about{% endblock %} +{% block body_class %}sponsors{% endblock %} {% block lede %} Donations to North Bay Python are processed by Software Freedom Conservancy, Inc. a 501(c)(3) organization incorporated in New York, and donations made to it are fully tax-deductible to the extent permitted by law. diff --git a/pinaxcon/urls.py b/pinaxcon/urls.py index 3424046..2f18f6c 100644 --- a/pinaxcon/urls.py +++ b/pinaxcon/urls.py @@ -20,8 +20,6 @@ urlpatterns = [ url(r"^about/petaluma$", TemplateView.as_view(template_name="static_pages/about/petaluma.html"), name="about/petaluma"), url(r"^about/team$", TemplateView.as_view(template_name="static_pages/about/team.html"), name="about/team"), url(r"^about/colophon$", TemplateView.as_view(template_name="static_pages/about/colophon.html"), name="about/colophon"), - url(r"^about/donate$", TemplateView.as_view(template_name="static_pages/about/donate.html"), name="about/donate"), - url(r"^donate$", RedirectView.as_view(url="about/donate")), # program url(r"^program/events$", TemplateView.as_view(template_name="static_pages/program/events.html"), name="program/events"), @@ -33,7 +31,6 @@ urlpatterns = [ # attend url(r"^attend$", TemplateView.as_view(template_name="static_pages/attend/attend.html"), name="attend/attend"), url(r"^tickets$", RedirectView.as_view(url="attend")), - 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"), @@ -42,11 +39,15 @@ urlpatterns = [ 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"), url(r"^code-of-conduct/harassment-staff-procedures$", TemplateView.as_view(template_name="static_pages/code_of_conduct/harassment_procedure_staff.html"), name="code-of-conduct/harassment-staff-procedures"), url(r"^terms-and-conditions$", TemplateView.as_view(template_name="static_pages/terms_and_conditions.html"), name="terms-and-conditions"), + url(r"^terms$", RedirectView.as_view(url="terms-and-conditions")), # sponsor url(r"^sponsors/prospectus$", RedirectView.as_view(url=_static("assets/northbaypython_prospectus.pdf")), name="sponsors/prospectus"), url(r"^northbaypython_prospectus.pdf$", RedirectView.as_view(url=_static("assets/northbaypython_prospectus.pdf")), name="northbaypython_prospectus.pdf"), url(r"^sponsors/become-a-sponsor$", TemplateView.as_view(template_name="static_pages/sponsors/become_a_sponsor.html"), name="sponsors/become-a-sponsor"), + url(r"^sponsors/donate$", TemplateView.as_view(template_name="static_pages/sponsors/donate.html"), name="sponsors/donate"), + url(r"^donate$", RedirectView.as_view(url="sponsors/donate")), + url(r"^about/donate$", RedirectView.as_view(url="sponsors/donate")), # news url(r"^news$", TemplateView.as_view(template_name="static_pages/news.html"), name="news"),