Commit 4a8359a3 authored by Sébastiaan Versteeg's avatar Sébastiaan Versteeg

Add /for-members page

parent 36d1a5de
This diff was suppressed by a .gitattributes entry.
......@@ -12,7 +12,7 @@ main = [
{'title': _('Become a Member'), 'name': 'become-a-member'},
{'title': _('Thabloid'), 'name': 'thabloid:index'},
{'title': _('For Members'), 'name': '#', 'authenticated': True,
{'title': _('For Members'), 'name': 'for-members', 'authenticated': True,
'submenu': [
{'title': _('Photos'), 'name': 'photos:index'},
{'title': _('Statistics'), 'name': '#'},
{% extends "base.html" %}
{% load i18n %}
{% block body %}
<h1>{% trans "for members"|upper %}</h1>
<p class="text-center">{% blocktrans %}In this menu you can find all pages that are exclusively available to you as a member of Thalia.{% endblocktrans %}</p>
{% endblock %}
......@@ -58,6 +58,8 @@ urlpatterns = [
url(r'^sister-associations', TemplateView.as_view(template_name='singlepages/sister_associations.html'), name='sister-associations'),
url(r'^thabloid/', include('thabloid.urls', namespace='thabloid')),
url(r'^for-members$', TemplateView.as_view(
template_name='singlepages/for_members.html'), name='for-members'),
url(r'^for-members/', include([
url(r'^become-active', TemplateView.as_view(template_name='singlepages/become_active.html'), name='become-active'),
url(r'^photos/', include('photos.urls', namespace='photos')),
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment