}
+ &__meta-text {
+
+ font-size: 13px;
+ margin-top: 2px;
+ font-weight: weight(regular);
+ display: block;
+
+ }
+
&__filters {
@include margin(0 0 6 0);
list-style-type: none;
padding: 0;
margin: 0;
+ @include margin-top(2);
&__item {
--- /dev/null
+{% extends "core/inc/generic_card.html" %}
+{% load i18n pages_tags mezzanine_tags media_tags organization_tags %}
+
+{% block image %}
+ <img src="{{ MEDIA_URL }}{% thumbnail images.first.file 427 0 %}" data-src="{{ MEDIA_URL }}{% thumbnail images.0.file 427 286 %}" class="lazyload" alt="" />
+{% endblock %}
<div class="container">
<div class="row tac">
<div class="col-xs-12">
- <h2 class="dashed dashed--center mt2">{% trans "Also discover" %}</h2>
+ <h2 class="dashed dashed--center mt2">{% trans "Go further" %}</h2>
</div>
</div>
<div class="row tac">
{% include 'magazine/article/includes/article_card.html' %}
</div>
{% else %}
- <div class="col-lg-3 col-md-4 col-sm-4 col-xs-6">
- {% include "core/inc/generic_card.html" %}
- </div>
- {%endif%}
+ <div class="col-lg-3 col-md-4 col-sm-4 col-xs-6">
+ {% include "core/inc/generic_card.html" %}
+ </div>
+ {% endif %}
{% endfor %}
</div>
</div>
{{ article.publish_date|date:"DATE_FORMAT" }}
</div>
{% endeditable %}
+
<div class="page__meta-separator">
</div>
- {% if article.categories.all.length > 0 %}
- <div class="page__meta-date">
+
+ {% if article.categories.all|length > 0 %}
+ <div class="page__meta-text">
{% for category in article.categories.all %}
- {% if forloop.first %} | {% endif %}
{% if not forloop.first %}, {% endif %}
<strong>{{ category }}</strong>
{% endfor %}
</div>
{% endif %}
+
{% with article as object %}
{% include "includes/share_buttons.html" %}
{% endwith %}
<div class="row">
{% for article in articles %}
<div class="col-lg-3 col-md-4 col-sm-4 col-xs-6">
- {% include 'magazine/article/includes/article_card.html' %}
+ {% include 'core/inc/generic_card.html' %}
</div>
{% endfor %}
</div>
{% endblock %}
{% block page_title %}
- <h1 class="dotted">{% trans "Network" %}</h1>
+ <h1 class="dotted">{% trans "Network" %}</h1>
{% endblock %}
-{% block page_content %}
+{% block breadcrumb_menu %}
+ {{ block.super }}
+ <li class="breadcrumb__item active">{% trans "Network" %}</li>
+{% endblock %}
+{% block page_content %}
{% for organization in organizations %}
{% endfor %}
-
-
{% endblock %}
{% endblock %}
{% block products %}
- {% for page_product_list in page.custompage.product_lists.all %}
- {% with page_product_list.list as list %}
- {% with "shop/includes/product_list_"|add:list.style|add:"_style.html" as template %}
- {% include template %}
- {% endwith %}
- {% endwith %}
- {% endfor %}
+ {% if page.custompage.product_lists.all|length > 0 %}
+ {% for page_product_list in page.custompage.product_lists.all %}
+ {% with page_product_list.list as list %}
+ {% with "shop/includes/product_list_"|add:list.style|add:"_style.html" as template %}
+ {% include template %}
+ {% endwith %}
+ {% endwith %}
+ {% endfor %}
+ {% endif %}
{% endblock %}
{% block logo %}
<div class="row tac">
{% for product_inline in list.products.all %}
{% with product_inline.product as product %}
- <div class="col-lg-2 col-md-3 col-sm-4 col-xs-6">
+ <div class="col-lg-3 col-md-3 col-sm-4 col-xs-6">
<div class="article-box article-box--person" >
{% if product.images.all %}
<div class="article-box__header">