From acf476a2938daefd9f14ff068efdfb8e96b2b19b Mon Sep 17 00:00:00 2001
From: Joshua Simmons
Date: Sun, 12 Nov 2017 17:21:53 -0800
Subject: [PATCH] add guide index to site
---
fixtures/sitetree.json | 8 ++--
.../templates/static_pages/attend/guides.html | 45 +++++++++++++++++++
pinaxcon/urls.py | 2 +
3 files changed, 51 insertions(+), 4 deletions(-)
create mode 100644 pinaxcon/templates/static_pages/attend/guides.html
diff --git a/fixtures/sitetree.json b/fixtures/sitetree.json
index 3f2b1d1..ffa7035 100644
--- a/fixtures/sitetree.json
+++ b/fixtures/sitetree.json
@@ -681,11 +681,11 @@
},
{
"model": "sitetree.treeitem",
- "pk": 41,
+ "pk": 42,
"fields": {
- "title": "Accessibility and Accommodations",
+ "title": "Guide Index",
"hint": "",
- "url": "/attend/accessibility-and-accommodations",
+ "url": "/guides",
"urlaspattern": false,
"tree": 1,
"hidden": false,
@@ -699,7 +699,7 @@
"access_restricted": false,
"access_perm_type": 1,
"parent": 8,
- "sort_order": 41,
+ "sort_order": 42,
"access_permissions": []
}
}
diff --git a/pinaxcon/templates/static_pages/attend/guides.html b/pinaxcon/templates/static_pages/attend/guides.html
new file mode 100644
index 0000000..6538d6f
--- /dev/null
+++ b/pinaxcon/templates/static_pages/attend/guides.html
@@ -0,0 +1,45 @@
+{% extends "page_with_title_and_lede.html" %}
+
+{% load i18n %}
+
+{% block head_title %}Guide Index{% endblock %}
+
+{% block heading %}Guide Index{% endblock %}
+
+{% block body_class %}attend{% endblock %}
+
+{% block lede %}
+ We provide lots of info to help you have an excellent North Bay Python. This is a listing of all the key guides and wiki pages.
+{% endblock %}
+
+
+{% block content %}
+
+
We want it to make it easy for you to attend North Bay Python, and we want you to have the best possible experience while you're at the conference. This is a listing of all the guides we've prepared for you, including some key pages from the Attendee Wiki.
+
+Please feel free to email us at spam@northbaypython.org or find an organizer or volunteer in-person to ask questions and provide feedback.
+
+Planning for North Bay Python
+
+
+ - How to Pitch Your Manager can help you articulate the business case for paying for you to go to North Bay Python to your manager.
+ - How to Get Here covers traveling to and from the conference, including driving, flying, and public transportation.
+ - Ride Sharing with other attendees can help you meet other attendees - and save money!
+ - Where to Stay will help you navigate local lodging with a listing of options alongside info about distance and cost.
+
+
+During the Conference
+
+
+ - Accessibility and Accommodations includes information for: parents; people with vision, hearing, and mobility issues; and people with dietary restrictions.
+ - Emergencies might involve the Code of Conduct, contacting organizers, calling the police, or finding a hospital or pharmacy.
+ - Finding Food is easy in Petaluma, especially with this guide to local restaurants and markets with details about price, distance, and dietary restrictions.
+ - Fitness doesn't need to take a backseat while at North Bay Python, we have information about gyms and pools as well as running and hiking paths.
+ - Getting Around Ptown has key distances and details about taxis, busses, and walking paths.
+ - Meetups and birds of a feather sessions are great ways to connect with other attendees. Find and attend one or organize your own!
+ - Partner- and Family-friendly Activities for folks who are bringing their families along to Sonoma County.
+ - Report Incidents as per our Code of Conduct. We have procedure guides for attendees as well as staff and volunteers.
+ - Tourist Guide for those who are staying in Sonoma County before or after North Bay Python.
+
+
+{% endblock %}
diff --git a/pinaxcon/urls.py b/pinaxcon/urls.py
index a936b8b..abcb772 100644
--- a/pinaxcon/urls.py
+++ b/pinaxcon/urls.py
@@ -41,6 +41,8 @@ urlpatterns = [
url(r"^attend/tshirt$", TemplateView.as_view(template_name="static_pages/attend/tshirt.html"), name="attend/tshirt"),
url(r"^attend/accessibility-and-accommodations$",TemplateView.as_view(template_name="static_pages/attend/accommodations.html"), name="attend/accessibility-and-accommodations"),
url(r"^accessibility$", RedirectView.as_view(url="attend/accessibility-and-accommodations")),
+ url(r"^guides$",TemplateView.as_view(template_name="static_pages/attend/guides.html"), name="attend/guides"),
+
url(r"^code-of-conduct$", TemplateView.as_view(template_name="static_pages/code_of_conduct/code_of_conduct.html"), name="code-of-conduct"),
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"),