# Language code for this installation. All choices can be found here:
# http://www.i18nguy.com/unicode/language-identifiers.html
-LANGUAGE_CODE = "en"
+LANGUAGE_CODE = "fr"
# Supported languages
LANGUAGES = (
# If you set this to False, Django will make some optimizations so as not
# to load the internationalization machinery.
USE_I18N = True
+USE_L10N = True
AUTHENTICATION_BACKENDS = ("mezzanine.core.auth_backends.MezzanineBackend",)
</ul>
{% endblock %}
+{% block event_related %}
+<h2>{% trans "Artists" %}</h2>
+{% for artist in event.artists.all %}
+<a href="{% url 'festival-artist-detail' artist.slug %}">{{ artist.name }}</a>
+{% endfor %}
+<h2>{% trans "Videos" %}</h2>
+{% for video in event.videos.all %}
+<a href="{% url 'festival-video-detail' video.slug %}">{{ video.title }}</a>
+{% endfor %}
+{% endblock %}
+
{% block event_detail_comments %}
{% if event.allow_comments %}{% comments_for event %}{% endif %}
{% endblock %}
{% endblock %}
{% block event_list_event_metainfo %}
- {% editable event.start event.end event.location %}
- <p class="event__meta">
- {{ event.start }}
- {% if event.end %}
- {% trans "-" %} {{ event.end }}
- {% endif %}
- {% if event.location %}
- {% trans "at" %}
- <a href="{% url "event_list_location" event.location.slug %}">{{ event.location }}</a>
- {% endif %}
- </p>
- {% endeditable %}
+ {% include "agenda/includes/event_metainfo.html" %}
+ {% for child in event.children.all %}
+ {% with child as event %}
+ {% include "agenda/includes/event_metainfo.html" %}
+ {% endwith %}
+ {% endfor %}
{% endblock %}
{% block event_list_event_links %}
</ul>
{% endif %}
<p>
- <a href="{{ event.get_absolute_url }}">{% trans "read more" %}</a>
{% if event.allow_comments %}
/
{% if settings.COMMENTS_DISQUS_SHORTNAME %}
--- /dev/null
+{% load i18n mezzanine_tags event_tags %}
+{% editable event.start event.end event.location %}
+<p class="event__meta">
+ {{ event.start }}
+ {% if event.end %}
+ {% trans "-" %} {{ event.end }}
+ {% endif %}
+ {% if event.location %}
+ {% trans "at" %}
+ <a href="{% url "event_list_location" event.location.slug %}">{{ event.location }}</a>
+ {% endif %}
+ <a href="{{ event.get_absolute_url }}">{% trans "read more" %}</a>
+</p>
+{% endeditable %}
+++ /dev/null
-Subproject commit e445d26eb34d9c3c390391406c6ccb9f6d1380c1