From a65e245fac87c90ec1a2afa8dbd45b6f5d4f53c1 Mon Sep 17 00:00:00 2001 From: Guillaume Pellerin Date: Mon, 26 Sep 2016 16:36:29 +0200 Subject: [PATCH] Fix location room --- app/templates/agenda/event_location_list.html | 2 +- app/templates/agenda/includes/event_location.html | 2 +- lib/mezzanine-agenda | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/app/templates/agenda/event_location_list.html b/app/templates/agenda/event_location_list.html index 6766dcaa..012bd2b1 100644 --- a/app/templates/agenda/event_location_list.html +++ b/app/templates/agenda/event_location_list.html @@ -31,7 +31,7 @@
{% for location in object_list %} - {% if location.featured_name %}{{ location.featured_name }}{% else %}{{ location.title }}{% endif %} + {{ location.title }}{% if location.room %} - {{ location.room }}{% endif %}
{% endfor %}
diff --git a/app/templates/agenda/includes/event_location.html b/app/templates/agenda/includes/event_location.html index 2ce09ec0..41c3ed5c 100644 --- a/app/templates/agenda/includes/event_location.html +++ b/app/templates/agenda/includes/event_location.html @@ -1,7 +1,7 @@ {% load i18n future mezzanine_tags event_tags %}
-

{% if location.featured_name %}{{ location.featured_name }}{% else %}{{ location.title }}{% endif %}

+

{{ location.title }}{% if location.room %} - {{ location.room }}{% endif %}

{% block event_detail_location %}

{{ location.address }}

{% trans "Room" %} {{ event.location.room }}

diff --git a/lib/mezzanine-agenda b/lib/mezzanine-agenda index a64294ee..7ccf0f70 160000 --- a/lib/mezzanine-agenda +++ b/lib/mezzanine-agenda @@ -1 +1 @@ -Subproject commit a64294ee8edcc74375992f2e46857f3d10abc452 +Subproject commit 7ccf0f70d2d9a1e99a8cdc5be3f3c467452a5719 -- 2.39.5