fix buttons and urls.py
This commit is contained in:
parent
6e679800f7
commit
7c1748d62a
|
@ -1,10 +1,11 @@
|
||||||
{% extends 'program_base.html' %}
|
{% extends 'program_base.html' %}
|
||||||
|
|
||||||
{% block program_content %}
|
{% block program_content %}
|
||||||
<a href="{% url 'call-for-speakers' %}" class="btn">Call for Speakers</a>
|
<p>
|
||||||
<a href="{% url 'schedule:speaker_index' %}" class="btn">Speakers</a>
|
<a href="{% url 'call-for-speakers' %}" class="btn btn-default">Call for Speakers</a>
|
||||||
<a href="{% url 'schedule:event_index' %}" class="btn">Talks & Events</a>
|
<a href="{% url 'schedule:speaker_index' %}" class="btn btn-default">Speakers</a>
|
||||||
|
<a href="{% url 'schedule:event_index' %}" class="btn btn-default">Talks & Events</a>
|
||||||
|
</p>
|
||||||
<a href="{% url 'schedule:index' %}" style="background-color: black; border: 0; color: white; display: inline-block; padding: 5px;">
|
<a href="{% url 'schedule:index' %}" style="background-color: black; border: 0; color: white; display: inline-block; padding: 5px;">
|
||||||
All
|
All
|
||||||
</a>
|
</a>
|
||||||
|
|
|
@ -5,7 +5,7 @@ urlpatterns = [
|
||||||
url(r'^(?P<year>\d{4})-(?P<month>\d{2})-(?P<day>\d{2})/$', views.ProgramDayView.as_view(), name='day'),
|
url(r'^(?P<year>\d{4})-(?P<month>\d{2})-(?P<day>\d{2})/$', views.ProgramDayView.as_view(), name='day'),
|
||||||
url(r'^$', views.ProgramOverviewView.as_view(), name='index'),
|
url(r'^$', views.ProgramOverviewView.as_view(), name='index'),
|
||||||
url(r'^speakers/$', views.SpeakerListView.as_view(), name='speaker_index'),
|
url(r'^speakers/$', views.SpeakerListView.as_view(), name='speaker_index'),
|
||||||
url(r'speakers/(?P<slug>[-_\w+]+)/$', views.SpeakerDetailView.as_view(), name='speaker_detail'),
|
url(r'^speakers/(?P<slug>[-_\w+]+)/$', views.SpeakerDetailView.as_view(), name='speaker_detail'),
|
||||||
url(r'^events/$', views.EventListView.as_view(), name='event_index'),
|
url(r'^events/$', views.EventListView.as_view(), name='event_index'),
|
||||||
url(r'^(?P<slug>[-_\w+]+)/$', views.EventDetailView.as_view(), name='event'),
|
url(r'^(?P<slug>[-_\w+]+)/$', views.EventDetailView.as_view(), name='event'),
|
||||||
]
|
]
|
||||||
|
|
Loading…
Reference in a new issue