search/replace namespace renaming

This commit is contained in:
Thomas Steen Rasmussen 2016-08-08 19:50:35 +02:00
parent 5265e554ac
commit e8b39f6c47
5 changed files with 10 additions and 10 deletions

View file

@ -8,7 +8,7 @@
<div class="list-group"> <div class="list-group">
{% for event in event_list %} {% 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 }} {{ event.title }}
</a> </a>
{% endfor %} {% endfor %}

View file

@ -2,13 +2,13 @@
{% block content %} {% 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 Overview
</a> </a>
{% for day in days %} {% for day in days %}
{% with day.date|date:"m" as month_padded %} {% with day.date|date:"m" as month_padded %}
{% with day.date|date:"d" as day_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" }} {{ day.date|date:"l" }}
</a> </a>
{% endwith %} {% endwith %}

View file

@ -10,7 +10,7 @@
{% endifchanged %} {% endifchanged %}
<a class="event" <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 %};"> 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> <small>{{ event.start|date:"H:i" }} - {{ event.end|date:"H:i" }}</small>
<br /> <br />

View file

@ -2,14 +2,14 @@
{% block program_content %} {% block program_content %}
<a href="{% url 'call-for-speakers' %}" class="btn">Call for Speakers</a> <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 'schedule:speakers_index' %}" class="btn">Speakers</a>
<a href="{% url 'program:events_index' %}" class="btn">Talks &amp; Events</a> <a href="{% url 'schedule:events_index' %}" class="btn">Talks &amp; 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 All
</a> </a>
{% for event_type in event_types %} {% 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 }} {{ event_type.name }}
</a> </a>
{% endfor %} {% endfor %}
@ -21,7 +21,7 @@
<div style="display: flex; flex-wrap: wrap;"> <div style="display: flex; flex-wrap: wrap;">
{% for event in events %} {% for event in events %}
<a class="event" <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 %};"> 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> <small>{{ event.start|date:"H:i" }} - {{ event.end|date:"H:i" }}</small>
<br /> <br />

View file

@ -8,7 +8,7 @@
<div class="list-group"> <div class="list-group">
{% for speaker in speaker_list %} {% 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 }} {{ speaker.name }}
</a> </a>
{% endfor %} {% endfor %}