height: 1px;
background: rgba(0, 0, 0, 0.25);
- @include margin(1 0 2 0);
+ @include margin(1 0 1 0);
@include mq($until: sm) {
@include margin(1 0 1 0);
<div class="col-xs-3">
{% with True as unit_booking %}
- {% with True as line_display %}
- {% include 'agenda/includes/event_metainfo.html' %}
- {% endwith %}
+ {% include 'agenda/includes/event_metainfo_line.html' %}
{% endwith %}
</div>
<div class="col-xs-3">
{% if event.departments.all.0 or tags %}
<div class="event-line-box__tags">
{% if event.departments.all.0 %}
- <div class="tag tag--small dashed dashed--gray">
+ <div class="tag tag--small dashed">
{{ event.departments.all.0.department.name }}
</div>
{% endif %}
<a href="{{ event.get_absolute_url }}">{{ event.title }}</a>
</h2>
<div class="event-line-box__desc">
- {{ event.description|slice:":128" }}
+ {{ event.description|slice:":100" }}
</div>
</div>
<small><u>{{ event.location.room }}</u></small>
{% endif %}
</a>
- {% if not line_display %}
<a href="{{ event|google_nav_url }}" target="_blank" class="">
{% google_static_map event 900 300 20 %}
</a>
- {% endif %}
<div class="page__meta-separator"></div>
{% endif %}
--- /dev/null
+{% load i18n mezzanine_tags event_tags %}
+
+<div class="page__meta-date">
+ {% include 'agenda/includes/event_date.html' %}
+</div>
+
+<div class="page__meta-separator"></div>
+
+{% if event.location %}
+ <a href="{% url 'location-detail' event.location.slug %}">
+ <div class="page__meta-title">{{ event.location }}</div>
+ </a>
+{% endif %}
+
+{% if unit_booking %}
+
+ {% if event.prices.all.0|floatformat != '0' and event.prices.all|length > 0 %}
+ <p>
+ <a class="button button--block button--small" href="{% url 'event_booking' event.slug %}" class="event__meta__btn">
+ {% trans "Reserve" %}
+ </a>
+ </p>
+ {% endif %}
+
+{% endif %}