.ml2 {
@include margin-left(2);
}
+.mt3 {
+ @include margin-top(3);
+}
+.mb3 {
+ @include margin-bottom(3);
+}
+.mr3 {
+ @include margin-right(3);
+}
+.ml3 {
+ @include margin-left(3);
+}
+.mt4 {
+ @include margin-top(4);
+}
+.mb4 {
+ @include margin-bottom(4);
+}
+.mr4 {
+ @include margin-right(4);
+}
+.ml4 {
+ @include margin-left(4);
+}
.p1 {
@include padding(1);
}
@include margin(1 0);
+ &--small {
+ @include margin(.5 0);
+ }
+
}
&__meta-date {
@include typeface(serif);
font-weight: weight(heavy);
+ &--small {
+ @include font-size(s);
+ }
+
}
&__meta-text {
{% endblock %}
{% block page_link %}
- <div class="row">
- {% with event.links.all as links %}
- {% if links %}
+
+ <div class="mt4">
+ <div class="row">
+ {% with event.links.all as links %}
+ {% if links %}
+ <div class="col-xs-6">
+ {% include 'core/inc/link.html' %}
+ </div>
+ {% endif %}
+ {% endwith %}
+ {% if event.mentions %}
<div class="col-xs-6">
- {% include 'core/inc/link.html' %}
+ <div class="small-text">
+ {{ event.mentions }}
+ </div>
</div>
{% endif %}
- {% endwith %}
- <div class="col-xs-6">
- <div class="small-text">
- Notes de productions<br />
- Lorem ipsum dolor sit amet, consectetur adipisicing elit. Quod, modi sunt culpa sequi. Consequatur voluptate sapiente minus repellat earum, rerum asperiores, architecto quibusdam, dolore, soluta placeat aliquid. Voluptatum, dignissimos, quisquam.
- </div>
</div>
</div>
{% endwith %}
{% endblock %}
-{% block page_videos %}
+{% block page_video %}
{% with event.videos.all as videos %}
{% if videos %}
{% include 'core/inc/slider_video.html' %}
{% block page_person_list %}
{% if event.persons.all %}
- {% if event.trainings.all %}
- {% trans "Trainers" %}<br>
- {% else %}
- {% trans "Persons" %}<br>
- {% endif %}
- {% for person in event.persons.all %}
- {{ person.person.title }}<br>
- {{ person.person.bio|safe }}<br>
- {% endfor %}
+ <div class="white-bg pb2">
+ <hr class="mt0" />
+ <div class="container">
+
+ <div class="row">
+
+ <div class="col-sm-9 col-sm-push-3 col-lg-8 col-lg-push-2" data-summary-content>
+
+ <h2 class="dotted">
+ {% if event.trainings.all %}
+ {% trans "Trainers" %}<br>
+ {% else %}
+ {% trans "Persons" %}<br>
+ {% endif %}
+ </h2>
+
+ </div>
+
+ </div>
+
+ </div>
+
+ <div class="container-fluid">
+
+ <div class="row tac">
+
+ {% for person in event.persons.all %}
+
+ <div class="col-lg-2 col-md-3 col-sm-4 col-xs-6">
+
+ <div class="article-box article-box--person" >
+ {% with person.person as person %}
+ {% include "network/inc/person/person_card_square.html" %}
+ {% endwith %}
+ </div>
+
+ </div>
+
+ {% endfor %}
+
+ </div>
+ </div>
+
+ </div>
{% endif %}
{% endblock %}
{{ event.departments.all.0.department.name }}
</div>
{% endif %}
- {% keywords_for event as tags %}
- {% if tags %}
+ {% if event.category %}
<div class="tag tag--small tag--category">
- {% keywords_for event as tags %}
- {{tags.0}}
+ {{ event.category }}
</div>
{% endif %}
</div>
<small><u>{{ event.location.room }}</u></small>
{% endif %}
</a>
- <a href="{{ event|google_nav_url }}" target="_blank" class="">
+ <a href="{{ event|google_nav_url }}" target="_blank" class="mt1" style="display: block;">
{% google_static_map event 900 300 20 %}
</a>
<div class="page__meta-separator"></div>
{% endif %}
+{% with event.trainings.all.0 as training %}
+ {% if training %}
+ <div class="page__meta-title page__meta-title--small">{% trans "Language" %}</div>
+ <p class="page__meta-text">{{ training.language }}</p>
+ <div class="page__meta-title page__meta-title--small">{% trans "Public type" %}</div>
+ <p class="page__meta-text">{{ training.public_type }}</p>
+ <div class="page__meta-title page__meta-title--small">{% trans "Level" %}</div>
+ <p class="page__meta-text">{{ training.level }}</p>
+ {% endif %}
+{% endwith %}
+
{% if unit_booking %}
{% if event.prices.all.0|floatformat != '0' and event.prices.all|length > 0 %}
{% for price in event.prices.all %}
{% if forloop.first %}
- <div class="page__meta-title">{% trans "Prices" %}</div>
- <p>
+ <div class="page__meta-title page__meta-title--small">{% trans "Prices" %}</div>
+ <p class="page__meta-text">
+ {% endif %}
+ {% if price.unit %}
+ {{ price.unit }}:
{% endif %}
{{ price.value|floatformat:"-2" }} €{% if not forloop.last %} <br /> {% endif %}
{% if forloop.last %}
</a>
</p>
{% else %}
- <p>
- {% trans "Free entry. Limited seats available" %}
- </p>
+ {% if event.prices.all.0|floatformat != '0' %}
+ <p>
+ {{ price.unit }}
+ </p>
+ {% else %}
+ <p>
+ {% trans "Free entry. Limited seats available" %}
+ </p>
+ {% endif %}
{% endif %}
{% endif %}
-
-{% with event.trainings.all.0 as training %}
- {% if training %}
- <div class="page__meta-title">{% trans "Language" %}
- <p>{{ training.language }}</p>
- </div>
- <div class="page__meta-title">{% trans "Public type" %}
- <p>{{ training.public_type }}</p>
- </div>
- <div class="page__meta-title">{% trans "Level" %}
- <p>{{ training.level }}</p>
- </div>
- {% endif %}
-{% endwith %}
</a>
</div>
-<div class="page__meta-separator"></div>
+<div class="page__meta-separator page__meta-separator--small"></div>
{% if event.location %}
<a href="{% url 'location-detail' event.location.slug %}">
{% 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">
+ <a class="button button--small mt1" href="{% url 'event_booking' event.slug %}" class="event__meta__btn">
{% trans "Reserve" %}
</a>
</p>
<div class="article-box article-box--person" >
{% with person_list_block_inline.person as person %}
- {% with person.images.all|get_type:'card' as card_images %}
- {% if card_images %}
- <div class="article-box__header">
- <a href="{{ person.get_absolute_url }}" title="{{ person.first_name }} {{ person.last_name }}">
- <figure class="article-box__image">
- <img class="lazyload" src="{{ MEDIA_URL }}{% thumbnail card_images.first 427 500 top=0.5 %}" alt="person"/>
- </figure>
- </a>
- </div>
- {% endif %}
- {% endwith %}
-
- <div class="article-box__content tal">
-
- <a href="{{ person.get_absolute_url }}" title="{{ person.first_name }} {{ person.last_name }}"><h3 class="article-box__title">{{ person.first_name }} {{ person.last_name }}</h3></a>
-
- {% if person.description %}
- <div class="article-box__desc">{{ person.description|richtext_filters|safe|truncatechars_html:255 }}</div>
- {% elif person.bio %}
- <div class="article-box__desc">{{ person.bio|richtext_filters|safe|truncatechars_html:255 }}</div>
- {% endif %}
-
- </div>
+ {% include "network/inc/person/person_card_square.html" %}
{% endwith %}
</div>
--- /dev/null
+{% load organization_tags mezzanine_tags %}
+
+{% with person.images.all|get_type:'card' as card_images %}
+ {% if card_images %}
+ <div class="article-box__header">
+ <a href="{{ person.get_absolute_url }}" title="{{ person.first_name }} {{ person.last_name }}">
+ <figure class="article-box__image">
+ <img class="lazyload" src="{{ MEDIA_URL }}{% thumbnail card_images.first 427 500 top=0.5 %}" alt="person"/>
+ </figure>
+ </a>
+ </div>
+ {% endif %}
+{% endwith %}
+
+<div class="article-box__content tal">
+
+ <a href="{{ person.get_absolute_url }}" title="{{ person.first_name }} {{ person.last_name }}"><h3 class="article-box__title">{{ person.first_name }} {{ person.last_name }}</h3></a>
+
+ {% if person.description %}
+ <div class="article-box__desc">{{ person.description|richtext_filters|safe|truncatechars_html:255 }}</div>
+ {% elif person.bio %}
+ <div class="article-box__desc">{{ person.bio|richtext_filters|safe|truncatechars_html:255 }}</div>
+ {% endif %}
+
+</div>