]> git.parisson.com Git - mezzo.git/commitdiff
Fix location room
authorGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 26 Sep 2016 14:36:29 +0000 (16:36 +0200)
committerGuillaume Pellerin <guillaume.pellerin@ircam.fr>
Mon, 26 Sep 2016 14:36:29 +0000 (16:36 +0200)
app/templates/agenda/event_location_list.html
app/templates/agenda/includes/event_location.html
lib/mezzanine-agenda

index 6766dcaa4f70a2c8c17a8efc7f525502e68dcb8b..012bd2b1b9ef9e0d09c03955d2372860b3df0620 100644 (file)
@@ -31,7 +31,7 @@
   <div class="c-tabs-nav">
     {% for location in object_list %}
         <a href="#" class="c-tabs-nav__link {% if forloop.first %}is-active{% endif %}">
-            {% if location.featured_name %}{{ location.featured_name }}{% else %}{{ location.title }}{% endif %}</a>
+            {{ location.title }}{% if location.room %} - {{ location.room }}{% endif %}</a>
         <hr/>
     {% endfor %}
   </div>
index 2ce09ec023289fa77fcb46861974ce564b2a442f..41c3ed5c5ba33b5d0aefe6b44039f9c422e1256b 100644 (file)
@@ -1,7 +1,7 @@
 {% load i18n future mezzanine_tags event_tags %}
 
 <div class="c-tab__content">
-    <h3 class="location__title">{% if location.featured_name %}{{ location.featured_name }}{% else %}{{ location.title }}{% endif %}</h3>
+    <h3 class="location__title">{{ location.title }}{% if location.room %} - {{ location.room }}{% endif %}</h3>
         {% block event_detail_location %}
         <p>{{ location.address }}</p>
         <p>{% trans "Room" %} {{ event.location.room }}</p>
index a64294ee8edcc74375992f2e46857f3d10abc452..7ccf0f70d2d9a1e99a8cdc5be3f3c467452a5719 160000 (submodule)
@@ -1 +1 @@
-Subproject commit a64294ee8edcc74375992f2e46857f3d10abc452
+Subproject commit 7ccf0f70d2d9a1e99a8cdc5be3f3c467452a5719