2017-02-17 16:17:21 +00:00
{% extends 'base.html' %}
2016-08-04 21:03:39 +00:00
2017-02-17 16:17:21 +00:00
{% block content %}
2016-08-04 21:03:39 +00:00
2017-04-01 19:45:43 +00:00
{% with url_name=request.resolver_match.url_name proposal_urls="proposal_list,speakerproposal_create,speakerproposal_detail,speakerproposal_update,speakerproposal_submit,speakerproposal_picture,eventproposal_create,eventproposal_detail,eventproposal_update,eventproposal_submit" %}
2017-02-17 16:17:21 +00:00
< div class = "row" >
< div class = "btn-group btn-group-justified hidden-xs" >
2017-04-01 19:45:43 +00:00
< a href = "{% url 'schedule_index' camp_slug=camp.slug %}" class = "btn {% if url_name == " schedule_index " or urlyear % } btn-primary { % else % } btn-default { % endif % } " > Schedule< / a >
< a href = "{% url 'event_index' camp_slug=camp.slug %}" class = "btn {% if url_name == " event_index " % } btn-primary { % else % } btn-default { % endif % } " > Events< / a >
< a href = "{% url 'speaker_index' camp_slug=camp.slug %}" class = "btn {% if url_name == " speaker_index " % } btn-primary { % else % } btn-default { % endif % } " > Speakers< / a >
{% if request.user.is_authenticated %}
< a href = "{% url 'proposal_list' camp_slug=camp.slug %}" class = "btn {% if url_name in proposal_urls %}btn-primary{% else %}btn-default{% endif %}" > Your Proposals< / a >
{% endif %}
2017-02-08 22:34:24 +00:00
< / div >
2017-02-17 16:17:21 +00:00
< div class = "btn-group-vertical visible-xs" >
2017-04-01 19:45:43 +00:00
< a href = "{% url 'schedule_index' camp_slug=camp.slug %}" class = "btn {% if url_name == " schedule_index " or urlyear % } btn-primary { % else % } btn-default { % endif % } " > Schedule< / a >
< a href = "{% url 'event_index' camp_slug=camp.slug %}" class = "btn {% if url_name == " event_index " % } btn-primary { % else % } btn-default { % endif % } " > Events< / a >
< a href = "{% url 'speaker_index' camp_slug=camp.slug %}" class = "btn {% if url_name == " speaker_index " % } btn-primary { % else % } btn-default { % endif % } " > Speakers< / a >
{% if request.user.is_authenticated %}
< a href = "{% url 'proposal_list' camp_slug=camp.slug %}" class = "btn {% if url_name in proposal_urls %}btn-primary{% else %}btn-default{% endif %}" > Your Proposals< / a >
{% endif %}
2017-01-23 22:58:41 +00:00
< / div >
2017-02-17 16:17:21 +00:00
< / div >
< p >
2016-08-04 21:03:39 +00:00
{% block program_content %}
2016-08-08 18:22:53 +00:00
{% endblock program_content %}
2016-08-04 21:03:39 +00:00
2017-04-01 19:45:43 +00:00
{% endwith %}
2017-02-17 16:17:21 +00:00
{% endblock content %}