search/replace namespace renaming
This commit is contained in:
parent
5265e554ac
commit
e8b39f6c47
|
@ -8,7 +8,7 @@
|
|||
|
||||
<div class="list-group">
|
||||
{% for event in event_list %}
|
||||
<a href="{% url 'program:event' slug=event.slug %}" class="list-group-item">
|
||||
<a href="{% url 'schedule:event' slug=event.slug %}" class="list-group-item">
|
||||
{{ event.title }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
|
|
@ -2,13 +2,13 @@
|
|||
|
||||
{% block content %}
|
||||
|
||||
<a href="{% url 'program:index' %}" class="btn btn-default" style="display: inline-block; padding: 5px;">
|
||||
<a href="{% url 'schedule:index' %}" class="btn btn-default" style="display: inline-block; padding: 5px;">
|
||||
Overview
|
||||
</a>
|
||||
{% for day in days %}
|
||||
{% with day.date|date:"m" as month_padded %}
|
||||
{% with day.date|date:"d" as day_padded %}
|
||||
<a href="{% url 'program:day' year=day.date.year month=month_padded day=day_padded %}" class="btn btn-default" style="display: inline-block; padding: 5px;">
|
||||
<a href="{% url 'schedule:day' year=day.date.year month=month_padded day=day_padded %}" class="btn btn-default" style="display: inline-block; padding: 5px;">
|
||||
{{ day.date|date:"l" }}
|
||||
</a>
|
||||
{% endwith %}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
{% endifchanged %}
|
||||
|
||||
<a class="event"
|
||||
href="{% url 'program:event' slug=event.slug %}"
|
||||
href="{% url 'schedule:event' slug=event.slug %}"
|
||||
style="background-color: {{ event.event_type.color }}; border: 0; color: {% if event.event_type.light_text %}white{% else %}black{% endif %};">
|
||||
<small>{{ event.start|date:"H:i" }} - {{ event.end|date:"H:i" }}</small>
|
||||
<br />
|
||||
|
|
|
@ -2,14 +2,14 @@
|
|||
|
||||
{% block program_content %}
|
||||
<a href="{% url 'call-for-speakers' %}" class="btn">Call for Speakers</a>
|
||||
<a href="{% url 'program:speakers_index' %}" class="btn">Speakers</a>
|
||||
<a href="{% url 'program:events_index' %}" class="btn">Talks & Events</a>
|
||||
<a href="{% url 'schedule:speakers_index' %}" class="btn">Speakers</a>
|
||||
<a href="{% url 'schedule:events_index' %}" class="btn">Talks & Events</a>
|
||||
|
||||
<a href="{% url 'program: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
|
||||
</a>
|
||||
{% for event_type in event_types %}
|
||||
<a href="{% url 'program:index' %}?type={{ event_type.slug }}" style="background-color: {{ event_type.color }}; border: 0; color: {% if event_type.light_text %}white{% else %}black{% endif %}; display: inline-block; padding: 5px;">
|
||||
<a href="{% url 'schedule:index' %}?type={{ event_type.slug }}" style="background-color: {{ event_type.color }}; border: 0; color: {% if event_type.light_text %}white{% else %}black{% endif %}; display: inline-block; padding: 5px;">
|
||||
{{ event_type.name }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
@ -21,7 +21,7 @@
|
|||
<div style="display: flex; flex-wrap: wrap;">
|
||||
{% for event in events %}
|
||||
<a class="event"
|
||||
href="{% url 'program:event' slug=event.slug %}"
|
||||
href="{% url 'schedule:event' slug=event.slug %}"
|
||||
style="background-color: {{ event.event_type.color }}; border: 0; color: {% if event.event_type.light_text %}white{% else %}black{% endif %};">
|
||||
<small>{{ event.start|date:"H:i" }} - {{ event.end|date:"H:i" }}</small>
|
||||
<br />
|
||||
|
|
|
@ -8,7 +8,7 @@
|
|||
|
||||
<div class="list-group">
|
||||
{% for speaker in speaker_list %}
|
||||
<a href="{% url 'program:speaker_detail' slug=speaker.slug %}" class="list-group-item">
|
||||
<a href="{% url 'schedule:speaker_detail' slug=speaker.slug %}" class="list-group-item">
|
||||
{{ speaker.name }}
|
||||
</a>
|
||||
{% endfor %}
|
||||
|
|
Loading…
Reference in a new issue