stub out pages, update donate page url and file location

This commit is contained in:
Joshua Simmons 2017-09-26 21:36:39 -07:00
parent 767d89b843
commit e788626c7f
9 changed files with 127 additions and 5 deletions

View file

@ -14,8 +14,9 @@
<a href="https://facebook.com/northbaypython">Facebook</a> <a href="https://facebook.com/northbaypython">Facebook</a>
| <a href="https://twitter.com/northbaypython">Twitter</a> | <a href="https://twitter.com/northbaypython">Twitter</a>
| <a href="/code-of-conduct">Code of Conduct</a> | <a href="/code-of-conduct">Code of Conduct</a>
| <a href="/terms">Terms and Conditions</a>
| <a href="/about/colophon">Colophon</a> | <a href="/about/colophon">Colophon</a>
| <a href="/about/donate">Donate</a> | <a href="/donate">Donate</a>
</p> </p>
<p>This site is <a href="https://github.com/northbaypython/website">free and open source software</a>, powered by <a href="https://github.com/chrisjrn/symposion/">Symposion</a> and <a href="https://github.com/chrisjrn/registrasion/">Registrasion</a>.</p> <p>This site is <a href="https://github.com/northbaypython/website">free and open source software</a>, powered by <a href="https://github.com/chrisjrn/symposion/">Symposion</a> and <a href="https://github.com/chrisjrn/registrasion/">Registrasion</a>.</p>

View file

@ -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 %}

View file

@ -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 %}

View file

@ -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 %}

View file

@ -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 %}

View file

@ -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 %}

View file

@ -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 %}

View file

@ -6,7 +6,7 @@
{% block heading %}Donate to North Bay Python{% endblock %} {% block heading %}Donate to North Bay Python{% endblock %}
{% block body_class %}about{% endblock %} {% block body_class %}sponsors{% endblock %}
{% block lede %} {% block lede %}
Donations to North Bay Python are processed by <a href="https://sfconservancy.org/donate">Software Freedom Conservancy, Inc. a 501(c)(3) organization incorporated in New York</a>, and donations made to it are fully tax-deductible to the extent permitted by law. Donations to North Bay Python are processed by <a href="https://sfconservancy.org/donate">Software Freedom Conservancy, Inc. a 501(c)(3) organization incorporated in New York</a>, and donations made to it are fully tax-deductible to the extent permitted by law.

View file

@ -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/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/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/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 # program
url(r"^program/events$", TemplateView.as_view(template_name="static_pages/program/events.html"), name="program/events"), url(r"^program/events$", TemplateView.as_view(template_name="static_pages/program/events.html"), name="program/events"),
@ -33,7 +31,6 @@ urlpatterns = [
# attend # attend
url(r"^attend$", TemplateView.as_view(template_name="static_pages/attend/attend.html"), name="attend/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"^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/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/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/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-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"^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-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 # sponsor
url(r"^sponsors/prospectus$", RedirectView.as_view(url=_static("assets/northbaypython_prospectus.pdf")), name="sponsors/prospectus"), 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"^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/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 # news
url(r"^news$", TemplateView.as_view(template_name="static_pages/news.html"), name="news"), url(r"^news$", TemplateView.as_view(template_name="static_pages/news.html"), name="news"),