--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load i18n mezzanine_tags %}
+
+{% block meta_title %}
+ {% trans "Login" %}
+{% endblock %}
+
+{% block page_title %}
+ <h1 class="dotted">{% trans "Login" %}</h1>
+{% endblock %}
+
+{% block page_content %}
+{% errors_for form %}
+<form class="form" method="post"{% if form.is_multipart %} enctype="multipart/form-data"{% endif %}>
+ <fieldset>
+ <legend>{{ title }}</legend>
+ {% fields_for form %}
+ <div class="form-actions">
+ {% block account_form_actions %}
+ <input class="btn btn-primary btn-lg pull-right" type="submit" value="{{ title }}">
+ {% endblock %}
+ </div>
+ </fieldset>
+</form>
+{% endblock %}
--- /dev/null
+{% extends "accounts/account_form.html" %}
+{% load i18n mezzanine_tags %}
+
+{% block meta_title %}
+ {% trans "Page not found" %}
+{% endblock %}
+
+{% block page_class %}
+ custompage
+{% endblock %}
+
+{% block page_title %}
+ <h1 class="dotted">{% trans "Login" %}</h1>
+{% endblock %}
+
+{% block page_content %}
+{% if request.user.is_authenticated %}
+ <p>{% trans "You're already logged in. If you'd like to log in as a different user, you'll need to log out first." %}</p>
+{% else %}
+ {{ block.super }}
+ {% url "signup" as signup_url %}
+ {% url "mezzanine_password_reset" as password_reset_url %}
+ {% url "profile_update" as profile_update_url %}
+ {% block message %}
+ {% blocktrans %}<p>You can also <a href="{{ password_reset_url }}?next={{ profile_update_url }}">reset your password</a> if you've forgotten it.</p>{% endblocktrans %}</p>
+ {% endblock %}
+{% endif %}
+{% endblock %}
--- /dev/null
+{% extends "accounts/account_login.html" %}
+{% load i18n %}
+
+{% block page_content %}
+{{ block.super }}
+{% endblock %}
+
+{% block message %}
+<p>{% trans "Enter your username or email address and you'll receive an email with a link you need to click, in order to log in and change your password." %}</p>
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load i18n mezzanine_tags accounts_tags %}
+
+{% block meta_title %}{{ profile_user|username_or:"get_full_name" }}{% endblock %}
+{% block title %}{{ profile_user|username_or:"get_full_name" }}{% endblock %}
+{% block body_id %}account{% endblock %}
+
+{% block breadcrumb_menu %}
+{{ block.super }}
+<li>{{ profile_user|username_or:"get_full_name" }}</li>
+{% endblock %}
+
+{% block main %}
+<div class="row">
+<div class="profile-image col-md-3">
+ <img class="img-thumbnail" src="{% gravatar_url profile_user.email 128 %}">
+ {% if profile_user == request.user %}
+ <br><a class="btn btn-primary" href="{% url "profile_update" %}">{% trans "Update profile" %}</a>
+ {% endif %}
+</div>
+<div class="profile-content col-md-9">
+ <h2>{{ profile_user.get_full_name }}</h2>
+ {% for field, value in profile_user|profile_fields %}
+ <h3>{{ field }}</h3>
+ <p>{{ value|linebreaksbr }}</p>
+ {% endfor %}
+</div>
+</div>
+{% endblock %}
--- /dev/null
+{% extends "accounts/account_form.html" %}
--- /dev/null
+{% extends "accounts/account_form.html" %}
+{% load i18n %}
+
+{% block main %}
+
+{% if request.user.is_authenticated %}
+ <p>{% trans "You're already logged in. If you'd like to create a new account, you'll need to log out first." %}</p>
+{% else %}
+ {{ block.super }}
+ {% if settings.ACCOUNTS_APPROVAL_REQUIRED %}
+ <p>{% trans "After signing up, your account will be reviewed for approval. You'll receive an email when your account is activated." %}</p>
+ {% elif settings.ACCOUNTS_VERIFICATION_REQUIRED %}
+ <p>{% trans "After signing up, you'll receive an email with a link you need to click, in order to activate your account." %}</p>
+ {% endif %}
+{% endif %}
+
+{% endblock %}
--- /dev/null
+{% load i18n mezzanine_tags accounts_tags %}
+
+{% if request.user.is_authenticated %}
+ <div class="user__panel">
+ {% trans "Logged in as: " %}
+ {% url "profile" request.user.username as profile_url %}
+ {% if profile_url %}
+ <a href="{{ profile_url }}">{{ request.user|username_or:"email" }}</a>
+ </p>
+ <a href="{% url "profile_update" %}" class="btn btn-small">
+ <span class="icon icon__pencil"></span>
+ {% trans "Update profile" %}
+ </a>
+ {% else %}
+ <a href="{% url "profile_update" %}">{{ request.user|username_or:"email" }}</a>
+ </p>
+ {% endif %}
+ <a href="{% url "logout" %}?next={{ request.path }}" class="btn btn-full">
+ <span class="icon icon__sign-out"></span>
+ {% trans "Log out" %}
+ </a>
+ </div>
+{% else %}
+ <div class="user__panel">
+ <div class="this-or-this">
+ <a href="{% url "login" %}?next={{ request.path }}" class="this-or-this__this">
+ {% trans "Log in" %}
+ </a>
+ <span class="this-or-this__or one-fifth">
+ {% trans "or" %}
+ </span>
+ <a href="{% url "signup" %}?next={{ request.path }}" class="this-or-this__this two-fifths">
+ {% trans "Sign up" %}
+ </a>
+ </div>
+ </div>
+{% endif %}
--- /dev/null
+{% load i18n mezzanine_tags accounts_tags %}
+
+<div class="navbar-right navbar-account-controls">
+ {% if request.user.is_authenticated %}
+ {% url "profile" request.user.username as profile_url %}
+ {% if not profile_url %}{% url "profile_update" as profile_url %}{% endif %}
+ <p class="navbar-text">
+ <a class="navbar-link" href="{{ profile_url }}">
+ {{ request.user|username_or:"email" }}</a></p>
+ <a href="{% url "logout" %}?next={{ request.path }}" class="btn btn-small">
+ {% trans "Log out" %}</a>
+ {% else %}
+ <a href="{% url "login" %}?next={{ request.path }}" class="btn">
+ {% trans "Log in" %}</a>
+ <a href="{% url "signup" %}?next={{ request.path }}" class="btn">
+ {% trans "Sign up" %}</a>
+ {% endif %}
+</div>
+
--- /dev/null
+{% extends "admin/starts_eu/base.html" %}
+{% load mezzanine_tags i18n staticfiles %}
+
+{% block title %}{{ title }} | Mezzanine{% endblock %}
+
+{% block extrahead %}
+<link rel="stylesheet" type="text/css" href="{% static "mezzanine/css/admin/global.css" %}">
+<link rel="stylesheet" type="text/css" href="{% static "admin/css/organization.css" %}" />
+<style>
+ /* These are set in PageAdmin's view methods, and mezzanine.utils.admin.SingletonAdmin */
+ {% if hide_delete_link or singleton %}.submit-row .deletelink {display:none !important;}{% endif %}
+ {% if hide_slug_field %}.slug {display:none !important;}{% endif %}
+ {% if singleton %}.change-view-save-another {display:none !important;}{% endif %}
+</style>
+<script>
+ {% url "static_proxy" as static_proxy_url %}
+ {% url "fb_browse" as fb_browse_url %}
+ {% url "displayable_links_js" as link_list_url %}
+ {% url "admin:index" as admin_index_url %}
+ {% get_current_language as LANGUAGE_CODE %}
+ window.__home_link = '<a href="{% url "home" %}">{% trans "View site" %}</a>';
+ window.__csrf_token = '{{ csrf_token }}';
+ window.__admin_keywords_submit_url = '{% url "admin_keywords_submit" %}';
+ window.__filebrowser_url = '{{ fb_browse_url }}';
+ window.__link_list_url = '{{ link_list_url }}';
+ window.__tinymce_css = '{% static "mezzanine/css/tinymce.css" %}';
+ window.__admin_url = '{{ admin_index_url }}';
+ window.__static_proxy = '{{ static_proxy_url }}';
+ window.__admin_media_prefix__ = '{% static "admin" %}/';
+ window.__grappelli_installed = {{ settings.GRAPPELLI_INSTALLED|lower }};
+ window.__admin_menu_collapsed = {{ settings.ADMIN_MENU_COLLAPSED|lower }};
+ window.__language_code = '{{ LANGUAGE_CODE }}';
+</script>
+{% if not settings.GRAPPELLI_INSTALLED %}
+<script src="{% static "mezzanine/js/"|add:settings.JQUERY_FILENAME %}"></script>
+{% endif %}
+
+<script>
+jQuery(function($) {
+ $('.admin-title').click(function() {location = window.__admin_url;});
+ // This line can be removed after a decent amount of time has passed since
+ // https://github.com/stephenmcd/grappelli-safe/pull/56/files occurring.
+ $("#id_sitepermissions-__prefix__-sites").parent().parent().parent().remove();
+});
+</script>
+{% endblock %}
+
+{% block rtl_styles %}
+{{ block.super }}
+<link rel="stylesheet" type="text/css" href="{% static "mezzanine/css/admin/rtl.css" %}" />
+{% endblock %}
+
+{% block before_content %}
+{% if user.is_staff and not is_popup and not request.GET.pop %}
+{% admin_dropdown_menu %}
+{% endif %}
+{% endblock %}
+
+{% block footer %}
+{% if form.this_is_the_login_form %}
+ <script src="{% static "mezzanine/js/admin/login.js" %}"></script>
+{% else %}
+ {% if user.is_staff %}
+ {% if not is_popup and not request.GET.pop %}
+ <link rel="stylesheet" href="{% static "mezzanine/chosen/chosen.css" %}">
+ <script src="{% static "mezzanine/chosen/chosen-0.9.12.jquery.js" %}"></script>
+ <script src="{% static "mezzanine/js/admin/navigation.js" %}"></script>
+
+ {% endif %}
+ <script src="{% static "mezzanine/js/admin/ajax_csrf.js" %}"></script>
+ {% if settings.GRAPPELLI_INSTALLED %}
+ <script src="{% static "mezzanine/js/admin/collapse_backport.js" %}"></script>
+ {% endif %}
+ {% endif %}
+{% endif %}
+{% endblock %}
--- /dev/null
+{% load i18n %}
+
+{% if app_list %}
+<div class="group-collapsible">
+ {% for app in dashboard_app_list %}
+ <div class="module" id="app_{{ app.name|lower }}">
+ <table>
+ <caption>{% trans app.name %}</caption>
+ {% for model in app.models %}
+ <tr class="model-{{ model.object_name|lower }}">
+ {% if model.perms.change or model.perms.custom %}
+ <th scope="row" width="100%"><a
+ href="{{ model.admin_url }}">{{ model.name }}</a></th>
+ {% else %}
+ <th scope="row" width="100%">{{ model.name }}</th>
+ {% endif %}
+
+ {% if model.perms.add %}
+ <td><a href="{{ model.add_url }}"
+ class="addlink">{% trans 'Add' %}</a></td>
+ {% else %}
+ <td> </td>
+ {% endif %}
+
+ {% if model.perms.change %}
+ <td><a href="{{ model.admin_url }}"
+ class="changelink">{% trans 'Change' %}</a></td>
+ {% else %}
+ <td> </td>
+ {% endif %}
+ </tr>
+ {% endfor %}
+ </table>
+ </div>
+ {% endfor %}
+</div>
+{% endif %}
--- /dev/null
+{% load pages_tags i18n %}
+
+<script type="text/javascript">
+jQuery(function($) {
+ $('.addlist').change(function() {
+ var addUrl = this[this.selectedIndex].value;
+ // If the browser's back button is hit from the add interface,
+ // the browser may maintain the state of the select list in the
+ // list interface, in which case the previously selected option
+ // will still be selected. This would mean the first option
+ // (eg "Add ..."") could be selected, which contains no URL to
+ // redirect to, so we guard against that, also set selectedIndex
+ // back to zero, to also protect against this scenario.
+ if (addUrl) {
+ location.href = addUrl;
+ this.selectedIndex = 0;
+ }
+ });
+});
+</script>
+
+<div id="addlist-primary">
+ <select class="addlist">
+ <option value="">{% trans "Add" %} ...</option>
+ {% for model in content_models %}
+ {% set_model_permissions model %}
+ {% if model.perms.add %}
+ <option value="{{ model.add_url }}">{{ model.meta_verbose_name|capfirst }}</option>
+ {% endif %}
+ {% endfor %}
+ </select>
+</div>
--- /dev/null
+{% load i18n mezzanine_tags %}
+<div id="side-panel">
+<div class="dropdown-menu">
+<ul>
+ {% for app in dropdown_menu_app_list %}
+ <li>
+ <a href="#">{% trans app.name %}</a>
+ <ul class="dropdown-menu-menu">
+ {% for model in app.models %}
+ {% if model.perms.add or model.perms.change or model.perms.custom %}
+ <li{% if forloop.first %} class="first"{% endif %}><a
+ href="{% if not model.perms.change and not model.perms.custom %}{{ model.add_url }}{% else %}{{ model.admin_url }}{% endif %}">{{ model.name }}</a></li>
+ {% endif %}
+ {% endfor %}
+ </ul>
+ </li>
+ {% endfor %}
+</ul>
+
+{% if settings.USE_L10N and LANGUAGES|length > 1 %}
+{% get_language_info_list for LANGUAGES as languages %}
+<form>
+ <select id="id_language" onchange="window.location.href=this.value;">
+ {% for lang in languages %}
+ <option{% if LANGUAGE_CODE == lang.code %} selected="selected"{% endif %} value="{% translate_url lang.code %}">{{ lang.name_local }}</option>
+ {% endfor %}
+ </select>
+</form>
+{% endif %}
+
+{% if dropdown_menu_sites and dropdown_menu_sites|length > 1 %}
+<form action="{% url "set_site" %}">
+<input type="hidden" name="next" value="{{ request.path }}">
+<select name="site_id" onchange="this.form.submit();">
+{% for site in dropdown_menu_sites %}
+<option value="{{ site.id }}"
+ {% if site.id == dropdown_menu_selected_site_id %} selected{% endif %}
+ >{{ site }}</option>
+{% endfor %}
+</select>
+</form>
+{% endif %}
+</div>
+<div id="side-panel-toggle"></div>
+</div>
--- /dev/null
+{% load i18n %}
+
+<div class="module" id="recent-actions-module">
+ <h2>{% trans 'Recent Actions' %}</h2>
+ <h3>{% trans 'My Actions' %}</h3>
+ {% load log %}
+ {% get_admin_log 10 as admin_log for_user user %}
+ {% if not admin_log %}
+ <p>{% trans 'None available' %}</p>
+ {% else %}
+ <ul class="actionlist" style="margin:0;">
+ {% for entry in admin_log %}
+ <li style="list-style-type:none;" class="{% if entry.is_addition %}addlink{% endif %}{% if entry.is_change %}changelink{% endif %}{% if entry.is_deletion %}deletelink{% endif %}">{% if not entry.is_deletion %}<a href="{{ entry.get_admin_url }}">{% endif %}{{ entry.object_repr }}{% if not entry.is_deletion %}</a>{% endif %}<br /><span class="mini quiet">{% filter capfirst %}{% trans entry.content_type.name %}{% endfilter %}</span></li>
+ {% endfor %}
+ </ul>
+ {% endif %}
+</div>
+
--- /dev/null
+{% extends "admin/base_site.html" %}
+
+{% load i18n mezzanine_tags staticfiles %}
+
+{% block extrahead %}
+{{ block.super }}
+<link rel="stylesheet" href="{% static settings.MEZZANINE_ADMIN_PREFIX|add:"css/dashboard.css" %}">
+<link rel="stylesheet" href="{% static "mezzanine/css/admin/dashboard.css" %}">
+<!--[if IE 7]><style>.dashboard #content {padding-top: 80px;}</style><![endif]-->
+{% endblock %}
+
+{% block coltype %}colMS{% endblock %}
+{% block bodyclass %}dashboard{% endblock %}
+
+{% block breadcrumbs %}<div class="breadcrumbs">{% trans "Home" %}</div>{% endblock %}
+
+{% block content_title %}<h1>{% trans "Dashboard" %}</h1>{% endblock %}
+
+{% block content %}<div id="content-main">{% dashboard_column 0 %}</div>{% endblock %}
+
+{% block sidebar %}
+ <div id="content-related" class="dashboard1">{% dashboard_column 2 %}</div>
+ {% block extendedsidebar %}
+ <div id="content-related" class="dashboard2">{% dashboard_column 1 %}</div>
+ {% endblock %}
+{% endblock %}
--- /dev/null
+{% extends "admin/base_site.html" %}
+{% load i18n staticfiles %}
+
+{% block extrahead %}
+<link rel="stylesheet" type="text/css" href="{% static settings.MEZZANINE_ADMIN_PREFIX|add:"css/login.css" %}">
+{{ block.super }}
+<link rel="stylesheet" href="{% static "mezzanine/chosen/chosen.css" %}">
+<script src="{% static "mezzanine/chosen/chosen-0.9.12.jquery.js" %}"></script>
+<script> jQuery(function($) {$('select').chosen();}); </script>
+{% endblock %}
+
+{% block bodyclass %}login{% endblock %}
+{% block content_title %}{% endblock %}
+{% block breadcrumbs %}{% endblock %}
+
+{% block content %}
+
+{% if form.non_field_errors %}
+{% for error in form.non_field_errors %}
+<p class="errornote">{{ error }}</p>
+{% endfor %}
+{% endif %}
+{% if no_site_permission %}
+<p class="errornote">{% trans "You don't have permission to access the admin for this site." %}</p>
+{% endif %}
+
+<form action="{{ app_path }}" method="post" id="login-form">
+ {% csrf_token %}
+ <div id="content-main">
+ <div class="form-row">
+ <label for="id_username" class="required">{% trans 'Username or email:' %}</label>
+ <input type="text" required name="username" id="id_username" value="{{ request.POST.username }}">
+ </div>
+ <div class="form-row">
+ <label for="id_password" class="required">{% trans 'Password:' %}</label>
+ <input type="password" required name="password" id="id_password">
+ <input type="hidden" name="this_is_the_login_form" value="1" />
+ </div>
+ {% if settings.USE_L10N and LANGUAGES|length > 1 %}
+ {% get_language_info_list for LANGUAGES as languages %}
+ <div class="form-row">
+ <label for="id_language" class="required">{% trans "Language" %}:</label>
+ <select id="id_language" onchange="window.location.href=this.value;">
+ {% for lang in languages %}
+ {% language lang.code %}
+ <option{% if LANGUAGE_CODE == lang.code %} selected="selected"{% endif %} value="{% url 'admin:index' %}">{{ lang.name_local }}</option>
+ {% endlanguage %}
+ {% endfor %}
+ </select>
+ </div>
+ {% endif %}
+ <div class="form-row" id="extra-login-fields">
+ <label class="required">{% trans "Interface:" %}</label>
+ <input class="interface" type="radio" name="mezzanine_login_interface" id="interface_admin"
+ value="admin"{% if request.REQUEST.mezzanine_login_interface != "site" %} checked{% endif %} />
+ <label class="interface" for="interface_admin">{% trans "Admin" %}</label>
+ <input class="interface" type="radio" name="mezzanine_login_interface" id="interface_site"
+ value="site"{% if request.REQUEST.mezzanine_login_interface == "site" %} checked{% endif %} />
+ <label class="interface" for="interface_site">{% trans "Site" %}</label>
+ </div>
+ </div>
+ <div class="submit-row">
+ <label> </label><input type="submit" value="{% trans 'Log in' %}" />
+ </div>
+ <p id="forgot-password">
+ <a href="{% url "password_reset" %}">{% trans "Forgot password?" %}</a>
+ </p>
+</form>
+
+{% endblock %}
+
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
+
+{% block meta_title %}{% trans "Confirmation" %}{% endblock %}
+
+
+{% block page_class %}
+ Confirmation
+{% endblock %}
+
+{% block page_title %}
+ <h1 class="dotted">{% trans "Confirmation" %}</h1>
+{% endblock %}
+
+{% block page_content %}
+ <iframe width="100%" height="820px" scrolling="auto" src="{{ confirmation_url }}" frameborder="0" allowfullscreen=""></iframe>
+{% endblock %}
--- /dev/null
+{% extends "core/inc/generic_card.html" %}
+{% load i18n pages_tags mezzanine_tags media_tags organization_tags %}
+
+{% block metatitle %}
+ {{ object.title }}
+{% endblock %}
+
+{% block title %}
+ {{ object.title }}
+{% endblock %}
+
+{% block url %}
+ {{ object.get_absolute_url }}
+{% endblock %}
+
+{% block image %}
+ <div class="article-box__image-container">
+ {% with object.images.all|get_type:'card' as images %}
+ {% if images %}
+ <figure class="article-box__image">
+ <img src="{{ MEDIA_URL }}{% thumbnail images.0.file 427 286 top=0.5 left=article.photo_alignment|get_photo_alignment %}" class="lazyload" />
+ </figure>
+ {% else %}
+ <figure class="article-box__image">
+ {% if object.departments.first %}
+ {% with object.departments.first as department %}
+ <div class="article-box__placeholder {{department.department.name|slugify}}"></div>
+ {% endwith %}
+ {% else %}
+ <div class="article-box__placeholder"></div>
+ {% endif %}
+ </figure>
+ {% endif %}
+ {% endwith %}
+ </div>
+{% endblock %}
+
+{% block tags %}
+ <div class="article-box__tags">
+ {% if object.departments.first %}
+ {% with object.departments.first as department %}
+ {{ department.department.name }}
+ {% endwith %}
+ {% endif %}
+ {% if object.category %}
+ {{ object.category|truncatechars:15 }}
+ {% endif %}
+ </div>
+{% endblock %}
+
+{% block content %}
+ {{ object.description|richtext_filters|safe|truncatechars_html:200 }}
+{% endblock %}
+
+{% block subtitle %}
+ <strong>
+ {% include 'agenda/includes/event_date_card.html' %}
+ </strong>
+ {% if object.location %}
+ <br /><span>{{ object.location }}</span>
+ {% endif %}
+{% endblock %}
+
+{% block btn %}
+ {% if object.prices.all.0|floatformat != '0' and object.prices.all|length > 0 %}
+ {% for price in object.prices.all %}
+ {% if forloop.first %}
+ <div class="article-box__btn">
+ <object><a href="{% url 'event_booking' content.content_object.slug %}" class="button button--small button--accent mr0">{% trans "Reserve" %}</a></object>
+ </div>
+ {% endif %}
+ {% endfor %}
+ {% endif %}
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load i18n mezzanine_tags keyword_tags organization_tags pages_tags %}
+
+{% block main %}
+
+ {% block hero %}
+ {% endblock %}
+
+ <div class="page page--{% spaceless %}{% block page_class %}{% endblock %}{% endspaceless %}">
+ <div class="container">
+
+ <div class="row">
+
+ <div class="col-sm-16 col-md-12 col-md-push-2 tac">
+ {% block page_title %}
+ {{ page.title }}
+ {% endblock %}
+ </div>
+
+ </div>
+
+ <div class="row">
+
+ <div class="col-md-2 page__sidebar">
+
+ <div style="position: relative;">
+ {% block page_sidebar %}
+ {% endblock %}
+ </div>
+
+ </div>
+
+ <div class="mb2 col-sm-16 col-md-12 page__content" data-summary-content>
+ {% block page_content %}
+ {{ page.content }}
+ {% endblock %}
+ {% block page_link %}
+ {% with object.links.all as links %}
+ {% if links %}
+ {% include 'core/inc/link.html' %}
+ {% endif %}
+ {% endwith %}
+ {% endblock %}
+ {% block page_file %}
+ {% with object.files.all as files %}
+ {% if files %}
+ {% include 'core/inc/files.html' %}
+ {% endif %}
+ {% endwith %}
+ {% endblock %}
+ {% block page_audio %}
+ {% for related in object.playlists.all %}
+ {% with related.playlist as playlist %}
+ {% if playlist.type == 'audio' %}
+ {% include 'media/inc/playlist_audio_detail.html' %}
+ {% endif %}
+ {% endwith %}
+ {% endfor %}
+ {% endblock %}
+ </div>
+
+ </div>
+
+ </div>
+
+ {% block page_slider %}
+ {% with object.images.all|get_type:'page_slider' as slider_images %}
+ {% if slider_images %}
+ {% include 'core/inc/slider.html' %}
+ {% endif %}
+ {% endwith %}
+ {% endblock %}
+
+ {% block page_video %}
+ {% for related in object.playlists.all %}
+ {% with related.playlist as playlist %}
+ {% if playlist.type == 'video' %}
+ {% include 'media/inc/playlist_video_slider.html' %}
+ {% endif %}
+ {% endwith %}
+ {% endfor %}
+ {% endblock %}
+
+ <div class="">
+
+ {% block page_sub_content %}
+ {% with object.blocks.all as blocks %}
+ {% include "core/inc/block.html" %}
+ {% endwith %}
+ {% endblock %}
+
+ {% block page_person_list %}
+ {% endblock %}
+
+ {% block page_demo %}
+ {% endblock %}
+
+ {% block page_blog %}
+ {% endblock %}
+
+ {% block related_project %}
+ {% endblock %}
+
+ {% block products %}
+ {% if page.product_lists.all|length > 0 %}
+ {% for page_product_list in page.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 page_sub_content_2 %}
+ {% endblock %}
+
+ {% block page_person_list_team %}
+ {% endblock %}
+
+ {% block page_sub_content_3 %}
+ {% endblock %}
+
+ {% block logo %}
+ {% with page.images.all|get_type:'logo' as images %}
+ {% if images %}
+ <div class="page__block{% if block.background_color %} page__block--{{ block.background_color }}{% endif %}">
+ <div class="white-bg pb2">
+ <div class="container">
+ <div class="row" data-summary-content>
+ <div class="col-sm-16">
+ <ul class="partners-list">
+ {% include 'core/inc/logo.html' %}
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ {% endif %}
+ {% endwith %}
+ {% endblock %}
+
+ </div>
+
+ </div>
+
+ <div>
+
+ {% block page_related_content %}
+ {% with dynamic_content=page.dynamic_content_pages.all|filter_content object=page %}
+ {% include "core/inc/related_content.html" %}
+ {% endwith %}
+ {% endblock %}
+
+ </div>
+
+
+{% endblock %}
--- /dev/null
+{% extends "agenda/event_detail.html" %}
+{% load mezzanine_tags comment_tags keyword_tags rating_tags i18n future disqus_tags event_tags organization_tags %}
+
+{% block event_detail_content %}
+ <iframe width="100%" height="820px" scrolling="auto" src="{{ shop_url }}" frameborder="0" allowfullscreen=""></iframe>
+{% endblock %}
--- /dev/null
+{% extends "agenda/event_starts_eu/base.html" %}
+{% load mezzanine_tags comment_tags keyword_tags rating_tags i18n future disqus_tags event_tags organization_tags pages_tags %}
+
+{% block meta_title %}{{ event.meta_title }}{% endblock %}
+
+{% block meta_keywords %}{% metablock %}
+{% keywords_for event as tags %}
+{% for tag in tags %}
+ {% if not forloop.first %}, {% endif %}
+ {{ tag }}
+{% endfor %}
+{% endmetablock %}{% endblock %}
+
+{% block meta_description %}{% metablock %}
+ {{ event.description }}
+{% endmetablock %}{% endblock %}
+
+{% block page_class %}
+ event
+{% endblock %}
+
+{% block page_title %}
+ <h1 class="section-title section-title--uppercase section-title--main"><a href="{% url 'event_list' %}"><i class="fsl fa fa-angle-left"></i>{% trans "Back to events" %}</a></h1>
+ {% include 'agenda/includes/event_linecard.html' %}
+{% endblock %}
+
+{% block breadcrumb_menu %}
+ {{ block.super }}
+ <li class="breadcrumb__item">
+ <a href="{% url 'event_list' %}" class="breadcrumb__link">{% trans "Agenda" %}</a>
+ </li>
+ <li class="breadcrumb__item active">{{ event.title }}</li>
+{% endblock %}
+
+{% block page_content %}
+ {% block event_detail_content %}
+ {% if event.content %}
+ {% editable event.content %}
+ {{ event.content|richtext_filters|safe }}
+ {% endeditable %}
+ {% endif %}
+ {% endblock %}
+{% endblock %}
+
+{% block page_link %}
+ {% if event.mentions or event.links.all|length > 0 %}
+ <div class="mt4">
+ <div class="row">
+ {% if child %}
+ {% with child.links.all as links %}
+ {% if links %}
+ <div class="col-xs-8">
+ {% include 'core/inc/link.html' %}
+ </div>
+ {% endif %}
+ {% endwith %}
+ {% else %}
+ {% with event.links.all as links %}
+ {% if links %}
+ <div class="col-xs-8">
+ {% include 'core/inc/link.html' %}
+ </div>
+ {% endif %}
+ {% endwith %}
+ {% endif %}
+ {% if event.mentions %}
+ <div class="col-xs-8">
+ <div class="small-text">
+ {{ event.mentions }}
+ </div>
+ </div>
+ {% endif %}
+ </div>
+ </div>
+ {% endif %}
+{% endblock %}
+
+{% block page_audio %}
+ {% with event as object %}
+ {{ block.super }}
+ {% endwith %}
+{% endblock %}
+
+{% block page_slider %}
+ {% with event as object %}
+ {{ block.super }}
+ {% endwith %}
+{% endblock %}
+
+{% block page_video %}
+ {% with event as object %}
+ {{ block.super }}
+ {% endwith %}
+{% endblock %}
+
+{% block page_person_list %}
+ {% if event.persons.all %}
+ <div class="pb2">
+ <div class="container">
+ <div class="row">
+ <div class="col-xxs-16 col-md-10 col-md-push-3" data-summary-content>
+ <div class="tac">
+ <h2 class="section-title section-title--uppercase section-title--main section-title--underline">
+ {% if event.trainings.all %}
+ {% trans "Trainers" %}<br>
+ {% else %}
+ {% trans "Persons" %}<br>
+ {% endif %}
+ </h2>
+ </div>
+ </div>
+ </div>
+ </div>
+
+ <div class="container">
+ <div class="row">
+ <div class="col-md-12 col-md-push-2 tac">
+ <div class="row">
+ <div>
+ {% for person in event.persons.all %}
+ {% with person.person as person %}
+ <div class="col-md-5 col-xs-8">
+ {% include "network/inc/person/person_card_square.html" %}
+ </div>
+ {% endwith %}
+ {% endfor %}
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ {% endif %}
+{% endblock %}
+
+{% block page_sub_content %}
+ {% with event.blocks.all as blocks %}
+ {% include "core/inc/block.html" %}
+ {% endwith %}
+{% endblock %}
+
+{% block page_sidebar %}
+ <div class="" data-sticky data-sticky-parent="row" data-sticky-offset="100" data-sticky-detach-at="1171">
+ {% include "includes/share_buttons.html" %}
+ </div>
+{% endblock %}
+
+{% block page_related_content %}
+ {% with dynamic_content=event.dynamic_content_event.all|filter_content object=event %}
+ {% include "core/inc/related_content.html" %}
+ {% endwith %}
+{% endblock %}
--- /dev/null
+{% extends "agenda/event_detail.html" %}
+{% load mezzanine_tags comment_tags keyword_tags rating_tags i18n future disqus_tags event_tags %}
+
+{% block title %}
+ {{ title }}
+{% endblock %}
+
+{% block main %}
+
+{% block event_detail_content %}
+<iframe width="100%" height="820px" scrolling="auto" src="http://eve.ircam.fr/manifeste.php/card" frameborder="0" allowfullscreen=""></iframe>
+{% endblock %}
+
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load i18n future mezzanine_tags event_tags keyword_tags disqus_tags organization_tags staticfiles pages_tags %}
+
+{% block meta_title %}
+ {% if page %}
+ {{ page.title }}
+ {% else %}
+ {% trans "Events" %}
+ {% endif %}
+{% endblock %}
+
+{% block meta_keywords %}
+ {% metablock %}
+ {% keywords_for page as keywords %}
+ {% for keyword in keywords %}
+ {% if not forloop.first %}, {% endif %}
+ {{ keyword }}
+ {% endfor %}
+ {% endmetablock %}
+{% endblock %}
+
+{% block meta_description %}
+ {% metablock %}
+ {{ page.description }}
+ {% endmetablock %}
+{% endblock %}
+
+{% block main %}
+ <div class="page page--{% spaceless %}{% block page_class %}{% endblock %}{% endspaceless %}">
+ <div class="container">
+ <div class="row">
+ <div class="col-sm-16 col-md-12 col-md-push-2 tac">
+ <h1 class="section-title section-title--uppercase section-title--main">{% trans "Events" %}</h1>
+ </div>
+ </div>
+ <div class="row">
+ <div class="mb2 col-md-12 col-md-push-2 page__content" data-summary-content>
+ <div class="page__content">
+ {% for event in events %}
+ {% include 'agenda/includes/event_linecard.html' %}
+ {% endfor %}
+ </div>
+ </div>
+ </div>
+ {% if past_events %}
+ <div class="row">
+ <div class="col-sm-16 col-md-12 col-md-push-2 tac">
+ <h1 class="section-title section-title--uppercase section-title--main">{% trans "Past events" %}</h1>
+ </div>
+ </div>
+ <div class="row">
+ <div class="mb2 col-md-12 col-md-push-2 page__content" data-summary-content>
+ <div class="page__content">
+ {% for event in past_events %}
+ {% include 'agenda/includes/event_linecard.html' %}
+ {% endfor %}
+ </div>
+ </div>
+ </div>
+ {% endif %}
+ </div>
+ </div>
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load i18n future mezzanine_tags event_tags keyword_tags disqus_tags %}
+
+{% block meta_title %}{{ location.title }}{% if location.room %} - {{ location.room }}{% endif %}{% endblock %}
+
+{% block page_class %}
+ location
+{% endblock %}
+
+{% block breadcrumb_menu %}
+ {{ block.super }}
+ <li class="breadcrumb__item active">{{ location.title }}{% if location.room %} - {{ location.room }}{% endif %}</li>
+{% endblock %}
+
+{% block page_title %}
+ {% editable location.title %}
+ <h1 class="dotted">{{ location.title }}{% if location.room %} - {{ location.room }}{% endif %}</h1>
+ {% endeditable %}
+{% endblock %}
+
+
+
+{% block page_content %}
+ {% if location.description %}
+ {{Â location.description|safe }}
+ {% endif %}
+ <p><a href="{{ location.link }}" target="_blank">{{ location.link }}</a></p>
+
+{% endblock %}
+
+{% block page_sidebar %}
+ <div class="page__meta" data-sticky data-sticky-parent="row" data-sticky-offset="100" data-sticky-detach-at="971">
+ <p class="page__meta-text">
+ {{ location.address }}
+ </p>
+ <a href="{{ location|google_nav_url }}" target="_blank" class="location__map">
+ {% google_static_map location 900 300 15 %}
+ </a>
+ <p class="page__meta-text">
+ <a class="button button--block" href="{% url "event_list_location" location.slug %}" class="sidebar__entry">{% trans "Viewing events for the location" %}</a>
+ </p>
+ </div>
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/base.html" %}
+{% load i18n future mezzanine_tags event_tags keyword_tags disqus_tags %}
+
+{% block meta_title %}{% if page %}{{ page.richtextpage.meta_title }}{% else %}{% trans "Locations" %}{% endif %}{% endblock %}
+
+{% block meta_keywords %}{% metablock %}
+{% keywords_for page as keywords %}
+{% for keyword in keywords %}
+ {% if not forloop.first %}, {% endif %}
+ {{ keyword }}
+{% endfor %}
+{% endmetablock %}{% endblock %}
+
+{% block meta_description %}{% metablock %}
+{{ page.description }}
+{% endmetablock %}{% endblock %}
+
+{% block title %}
+{% if page %}
+{{ page.title }}
+{% else %}
+{% trans "Locations" %}
+{% endif %}
+{% endblock %}
+
+{% block breadcrumb_menu %}
+{% endblock %}
+
+{% block main %}
+<div id="tabs" class="c-tabs">
+ <div class="c-tabs-nav">
+ {% for location in object_list %}
+ <a href="#" class="c-tabs-nav__link {% if forloop.first %}is-active{% endif %}">
+ {{ location.title }}{% if location.room %} - {{ location.room }}{% endif %}</a>
+ <hr/>
+ {% endfor %}
+ </div>
+ {% for location in object_list %}
+ <div class="c-tab {% if forloop.first %}is-active{% endif %}">
+ {% include "agenda/includes/event_location.html" %}
+ </div>
+ {% endfor %}
+</div>
+{% endblock %}
+
+{% block right_panel %}
+{% include "agenda/includes/filter_panel.html" %}
+{% endblock %}
--- /dev/null
+{% load event_tags pages_tags mezzanine_tags organization_tags i18n %}
+{% with event.periods.all as periods %}
+ <!-- Start date only -->
+ {% if event.start and not event.end %}
+ {{ event.start|date:"DATE_EVENT_FORMAT" }},<br>
+ <!-- Start date with hour -->
+ {% if event.start and event.start|date:"H:i" != "23:59" %}
+ {{ event.start|time:"TIME_FORMAT" }}
+ {% endif %}
+ <!-- Start and end date -->
+ {% else %}
+ <!-- Start and end date is the same day -->
+ {% if event.start|date:"d.m.y" == event.end|date:"d.m.y" %}
+ {% if not periods %}
+ {{ event.start|date:"DATE_EVENT_FORMAT" }},<br>
+ <!-- Start date with hour -->
+ {% if event.end and event.end|date:"H:i" != "23:59" %}
+ {{ event.start|time:"TIME_FORMAT" }} - {{ event.end|time:"TIME_FORMAT" }}
+ {% else %}
+ {{ event.start|time:"TIME_FORMAT" }}
+ {% endif %}
+ {% else %}
+ {{ event.start|date:"DATE_EVENT_FORMAT" }},<br>
+ {% for period in periods %}
+ {% if period.date_to and period.date_to|date:"H:i" != "23:59" %}
+ {{ period.date_from|time:"TIME_FORMAT" }} - {{ period.date_to|time:"TIME_FORMAT" }}
+ {% else %}
+ {% if forloop.last or periods|length == 2 %} {% trans "and"%} {% elif not forloop.first %}, {% endif %}
+ {{ period.date_from|time:"TIME_FORMAT" }}
+ {% endif %}
+ {% endfor %}
+ {% endif %}
+ <!-- Start and end date are the same month -->
+ {% elif event.start|date:"m.y" == event.end|date:"m.y" %}
+ {% if periods %}
+ {% with periods|same_time_in_periods as same_time_in_periods %}
+ {% for period in periods %}
+ {% if period.date_to and period.date_to|date:"H:i" != "23:59" %}
+ {{ period.date_from|date:"WEEK_DAY_FORMAT" }},<br>
+ {% if period|period_is_more_than_hours:4 %}
+ {{ period.date_from|time:"DATE_EVENT_FORMAT" }} {% trans "through" %} {{ period.date_to|time:"TIME_FORMAT" }}
+ {% else %}
+ {{ period.date_from|time:"TIME_FORMAT" }}
+ {% endif %}
+ {% else %}
+ {% if periods|length > 1 and not forloop.last %}
+ {{ period.date_from|date:"DATE_EVENT_FORMAT" }}{% if periods|length == 2 %} {% trans "and" %} {% else %},{% endif %}
+ {% else %}
+ {{ period.date_from|date:"DATE_EVENT_FORMAT" }},
+ {% if periods|length > 1 and forloop.first %}{% trans "and" %}{% endif %}
+ {% endif %}
+ {% if same_time_in_periods and forloop.last %}
+ {{ period.date_from|time:"TIME_FORMAT" }}
+ {% elif not same_time_in_periods %}
+ <br> {{ period.date_from|time:"TIME_FORMAT" }}
+ {% endif %}
+ {% endif %}
+ <br />
+ {% endfor %}
+ {% endwith %}
+ {% else %}
+ {{ event.start|date:"WEEK_DAY_FORMAT" }}
+ {% if event.end|subtract:event.start|get_attr:"days" > 1 %}
+ {% trans "through" %}
+ {% else %}
+ {% trans "and" %}
+ {% endif %}
+ {{ event.end|date:"DATE_EVENT_FORMAT" }},<br> {{ event.start|time:"TIME_FORMAT" }}
+ {% if event.end and event.end|date:"H:i" != "23:59" %}
+ - {{ event.end|time:"TIME_FORMAT" }}
+ {% endif %}
+ {% endif %}
+ <!-- Start and end date are completely different -->
+ {% else %}
+ {{ event.start|date:"DATE_EVENT_FORMAT" }} {% trans "through" %} {{ event.end|date:"DATE_EVENT_FORMAT" }},<br>
+ <!-- Start date with hour -->
+ {% if event.end and event.end|date:"H:i" != "23:59" %}
+ {{ event.start|time:"TIME_FORMAT" }} - {{ event.end|time:"TIME_FORMAT" }}
+ {% else %}
+ {{ event.start|time:"TIME_FORMAT" }}
+ {% endif %}
+ {% endif %}
+
+ {% endif %}
+{% endwith %}
--- /dev/null
+{% load i18n %}
+{% load event_tags %}
+
+{% if object.start and not object.end %}
+ {{ object.start|date:"l j F" }}<br>
+{% else %}
+ {% if object.start|date:"d.m.y" == object.end|date:"d.m.y" %}
+ {{ object.start|date:"l j F" }}<br>
+ {% else %}
+ {{ object.start|date:"j F" }} {% trans "to" %} {{ object.end|date:"j F" }}
+ {% endif %}
+{% endif %}
--- /dev/null
+{% load event_tags pages_tags mezzanine_tags organization_tags i18n %}
+{% with event.periods.all as periods %}
+ <!-- Start date only -->
+ {% if event.start and not event.end %}
+ {{ event.start|date:"DATE_EVENT_FORMAT" }}
+ <!-- Start date with hour -->
+ {% if event.start and event.start|date:"H:i" != "23:59" %}
+ <span>{{ event.start|time:"TIME_FORMAT" }}</span>
+ {% endif %}
+ <!-- Start and end date -->
+ {% else %}
+ <!-- Start and end date is the same day -->
+ {% if event.start|date:"d.m.y" == event.end|date:"d.m.y" %}
+ {% if not periods %}
+ {{ event.start|date:"DATE_EVENT_FORMAT" }}
+ <!-- Start date with hour -->
+ {% if event.end and event.end|date:"H:i" != "23:59" %}
+ <span>{{ event.start|time:"TIME_FORMAT" }} - {{ event.end|time:"TIME_FORMAT" }}</span>
+ {% else %}
+ <span>{{ event.start|time:"TIME_FORMAT" }}</span>
+ {% endif %}
+ {% else %}
+ {{ event.start|date:"DATE_EVENT_FORMAT" }}
+ {% for period in periods %}
+ {% if period.date_to and period.date_to|date:"H:i" != "23:59" %}
+ <span>{{ period.date_from|time:"TIME_FORMAT" }} - {{ period.date_to|time:"TIME_FORMAT" }}</span>
+ {% else %}
+ <span>{% if forloop.last or periods|length == 2 %} {% trans "and"%} {% elif not forloop.first %}, {% endif %}
+ {{ period.date_from|time:"TIME_FORMAT" }}</span>
+ {% endif %}
+ {% endfor %}
+ {% endif %}
+ <!-- Start and end date are the same month -->
+ {% elif event.start|date:"m.y" == event.end|date:"m.y" %}
+ {{ event.start|date:"WEEK_DAY_FORMAT" }}
+ {% if event.end|subtract:event.start|get_attr:"days" > 1 %}
+ {% trans "through" %}
+ {% else %}
+ {% trans "and" %}
+ {% endif %}
+ {{ event.end|date:"DATE_EVENT_FORMAT" }}
+ {% if event.end and event.end|date:"H:i" != "23:59" %}
+ <span>{{ event.start|time:"TIME_FORMAT" }} - {{ event.end|time:"TIME_FORMAT" }}</span>
+ {% else %}
+ <span>{{ event.start|time:"TIME_FORMAT" }}</span>
+ {% endif %}
+ <!-- Start and end date are completely different -->
+ {% else %}
+ {{ event.start|date:"DATE_EVENT_FORMAT" }} {% trans "through" %} {{ event.end|date:"DATE_EVENT_FORMAT" }}
+ <!-- Start date with hour -->
+ {% if event.end and event.end|date:"H:i" != "23:59" %}
+ <span>{{ event.start|time:"TIME_FORMAT" }} - {{ event.end|time:"TIME_FORMAT" }}</span>
+ {% else %}
+ <span>{{ event.start|time:"TIME_FORMAT" }}</span>
+ {% endif %}
+ {% endif %}
+
+ {% endif %}
+{% endwith %}
--- /dev/null
+{% load event_tags pages_tags mezzanine_tags organization_tags i18n %}
+{% with event.periods.all as periods %}
+ <!-- Start date only -->
+ {% if event.start and not event.end %}
+ {{ event.start|date:"DATE_EVENT_FORMAT" }},<br>
+ <!-- Start date with hour -->
+ {% if event.start and event.start|date:"H:i" != "23:59" %}
+ {{ event.start|time:"TIME_FORMAT" }}
+ {% endif %}
+ <!-- Start and end date -->
+ {% else %}
+ <!-- Start and end date is the same day -->
+ {% if event.start|date:"d.m.y" == event.end|date:"d.m.y" %}
+ {% if not periods %}
+ {{ event.start|date:"DATE_EVENT_FORMAT" }},<br>
+ <!-- Start date with hour -->
+ {% if event.end and event.end|date:"H:i" != "23:59" %}
+ {{ event.start|time:"TIME_FORMAT" }} - {{ event.end|time:"TIME_FORMAT" }}
+ {% else %}
+ {{ event.start|time:"TIME_FORMAT" }}
+ {% endif %}
+ {% else %}
+ {{ event.start|date:"DATE_EVENT_FORMAT" }},<br>
+ {% for period in periods %}
+ {% if period.date_to and period.date_to|date:"H:i" != "23:59" %}
+ {{ period.date_from|time:"TIME_FORMAT" }} - {{ period.date_to|time:"TIME_FORMAT" }}
+ {% else %}
+ {% if forloop.last or periods|length == 2 %} {% trans "and"%} {% elif not forloop.first %}, {% endif %}
+ {{ period.date_from|time:"TIME_FORMAT" }}
+ {% endif %}
+ {% endfor %}
+ {% endif %}
+ <!-- Start and end date are the same month -->
+ {% elif event.start|date:"m.y" == event.end|date:"m.y" %}
+ {{ event.start|date:"WEEK_DAY_FORMAT" }}
+ {% if event.end|subtract:event.start|get_attr:"days" > 1 %}
+ {% trans "through" %}
+ {% else %}
+ {% trans "and" %}
+ {% endif %}
+ {{ event.end|date:"DATE_EVENT_FORMAT" }}
+ <!-- Start and end date are completely different -->
+ {% else %}
+ {{ event.start|date:"DATE_EVENT_FORMAT" }} {% trans "through" %} {{ event.end|date:"DATE_EVENT_FORMAT" }},<br>
+ <!-- Start date with hour -->
+ {% if event.end and event.end|date:"H:i" != "23:59" %}
+ {{ event.start|time:"TIME_FORMAT" }} - {{ event.end|time:"TIME_FORMAT" }}
+ {% else %}
+ {{ event.start|time:"TIME_FORMAT" }}
+ {% endif %}
+ {% endif %}
+
+ {% endif %}
+{% endwith %}
--- /dev/null
+{% load i18n future mezzanine_tags event_tags keyword_tags disqus_tags organization_tags %}
+
+<div class="row">
+
+ <div class="col-sm-16">
+
+ <a class="event-line-box" href="{{ event.get_absolute_url }}">
+
+ {% with event.images.all|get_type:'card' as images %}
+ {% if images %}
+ <figure class="event-line-box__image">
+ <img class="lazyload" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-original="{{ MEDIA_URL }}{% thumbnail images.0.file 1030 400 %}">
+ </figure>
+ {% else %}
+ {% with event.parent.images.all|get_type:'card' as images %}
+ {% if images %}
+ <figure class="event-line-box__image">
+ <img class="lazyload" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-original="{{ MEDIA_URL }}{% thumbnail images.0.file 1030 400 %}">
+ </figure>
+ {% else %}
+ <figure class="event-line-box__image">
+ <img class="lazyload" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==">
+ </figure>
+ {% endif %}
+ {% endwith %}
+ {% endif %}
+ {% endwith %}
+
+ <div class="event-line-box__content">
+
+ {% if event.prices.all and not is_archive %}
+ {% if event.trainings.all|length %}
+ {% with event.links.all as links %}
+ {% if links %}
+ <object class="event-line-box__button">
+ <a href="{{ links|get_type_link:'link'|first }}" class="button button--accent">
+ {% trans "Reserve" %}
+ </a>
+ </object>
+ {% endif %}
+ {% endwith %}
+ {% else %}
+ <object class="event-line-box__button">
+ <a href="{% url 'event_booking' event.slug %}" class="button button--accent">
+ {% trans "Reserve" %}
+ </a>
+ </object>
+ {% endif %}
+ {% endif %}
+
+ {% keywords_for event as tags %}
+
+ <div class="event-line-box__category">
+ {% if event.category %}{{ event.category }}{% else %}{{ event.parent.category }}{% endif %}
+ </div>
+
+ <div class="event-line-box__body">
+ {% if event.location %}
+ <div class="event-line-box__location">
+ {{ event.location }}
+ {% if event.location.room %}
+ / {{ event.location.room }}
+ {% endif %}
+ </div>
+ {% endif %}
+ <div class="event-line-box__title">
+ {{ event.title }}
+ </div>
+ <div class="event-line-box__date">
+ {% include 'agenda/includes/event_date_line.html' with object=event %}
+ </div>
+ </div>
+
+ </div>
+
+ </a>
+
+ </div>
+
+</div>
--- /dev/null
+{% load i18n future mezzanine_tags event_tags %}
+
+<div class="c-tab__content">
+ <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>
+ <p><a href="{{ location.link }}" target="_blank">{{ location.link }}</a></p>
+ <p>{{Â location.description|safe }}</p>
+ <a href="{{ location|google_nav_url }}" target="_blank" class="location__map">
+ {% google_static_map location 900 300 15 %}
+ </a/><br />
+ <a href="{{ location|google_nav_url }}" target="_blank" class="">{% trans "Click to get the interactive map" %}</a>
+ <br/>
+ <a class="btn" href="{% url "event_list_location" location.slug %}" class="sidebar__entry">{% trans "Viewing events for the location" %}</a>
+ {% endblock %}
+</div>
--- /dev/null
+{% load i18n mezzanine_tags event_tags organization_tags %}
+
+<div class="page__meta-date">
+ {% include 'agenda/includes/event_date.html' %}
+</div>
+
+<div class="page__meta-separator"></div>
+
+{% if event.location %}
+ <div class="page__meta-title">{{ event.location }}</div>
+ {% if event.location.room %}
+ <small>{{ event.location.room }}</small>
+ {% endif %}
+ <a href="{{ event|google_nav_url }}" target="_blank" class="mt1" style="display: block;">
+ {% google_static_map event 194 194 15 %}
+ </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.get_language_display }}</p>
+ {% comment %}
+ <div class="page__meta-title page__meta-title--small">{% trans "Public type" %}</div>
+ <p class="page__meta-text">{{ training.public_type }}</p>
+ {% endcomment %}
+ <div class="page__meta-title page__meta-title--small">{% trans "Level" %}</div>
+ <p class="page__meta-text">{{ training.level }}</p>
+ {% endif %}
+{% endwith %}
+
+{% if event.brochure %}
+ <div class="page__meta-title page__meta-title--small">{% trans "Downloads" %}</div>
+ <p class="page__meta-text">
+ <a href='{{ event.brochure.url }}' target="_blank">
+ {{ event.brochure.filename }}
+ </a>
+ </p>
+{% endif %}
+
+{% if unit_booking %}
+ {% if event.prices.all %}
+ {% if event.prices.all.0|floatformat != '0' %}
+ {% for price in event.prices.all %}
+ {% if forloop.first %}
+ <div class="page__meta-title page__meta-title--small">{% trans "Prices" %}</div>
+ <p class="page__meta-text">
+ {% endif %}
+ {% if price.event_price_description.description %}
+ {{ price.event_price_description.description }} :
+ {% endif %}
+ {{ price.value|floatformat:"-2" }} {{ price.unit }} {% if not forloop.last %} <br /> {% endif %}
+ {% if forloop.last %}
+ </p>
+ {% endif %}
+ {% endfor %}
+ {% else %}
+ <p>
+ {{ event.no_price_comments }}
+ </p>
+ {% endif %}
+ <p>
+ {% if event.trainings.all|length %}
+ {% with event.links.all as links %}
+ {% if links %}
+ <a class="button button--block" href="{{ links|get_type_link:'link'|first }}" class="event__meta__btn">
+ {% trans "Reserve" %}
+ </a>
+ {% endif %}
+ {% endwith %}
+ {% else %}
+ <a class="button button--block" href="{% url 'event_booking' event.slug %}" class="event__meta__btn">
+ {% trans "Reserve" %}
+ </a>
+ {% endif %}
+ </p>
+ {% endif %}
+{% endif %}
--- /dev/null
+{% load i18n mezzanine_tags event_tags organization_tags %}
+
+<div class="page__meta-date">
+ <a href="{{ event.get_absolute_url }}">
+ {% include 'agenda/includes/event_date_line.html' with object=event %}
+ </a>
+</div>
+
+<div class="page__meta-separator page__meta-separator--small"></div>
+
+{% if event.location %}
+ <div class="page__meta-title">{{ event.location }}</div>
+{% endif %}
+
+{% if unit_booking %}
+
+ {% if event.prices.all and not is_archive %}
+ <p>
+ {% if event.trainings.all|length %}
+ {% with event.links.all as links %}
+ {% if links %}
+ <a class="button mt1" href="{{ links|get_type_link:'link'|first }}" class="event__meta__btn">
+ {% trans "Reserve" %}
+ </a>
+ {% endif %}
+ {% endwith %}
+ {% else %}
+ <a class="button mt1" href="{% url 'event_booking' event.slug %}" class="event__meta__btn">
+ {% trans "Reserve" %}
+ </a>
+ {% endif %}
+ </p>
+ {% endif %}
+
+{% endif %}
--- /dev/null
+{% load i18n mezzanine_tags event_tags %}
+<div class="event__meta--alt">
+ <div class="event__meta__inner">
+ <div class="split-container">
+ <div class="split-left">
+ {{ event.start }}
+ {% if event.end %}
+ {% if event.end|date == event.start|date and event.end.hour|subtract:event.start.hour > 3 %}{{ event.end|time:"TIME_FORMAT" }}{% endif %}
+ {% endif %}
+ {% for child in event.children.all %}
+ {% with child as event %}
+ / {{ event.start }}
+ {% if event.end %}
+ {% if event.end|date == event.start|date and event.end.hour|subtract:event.start.hour > 3 %}{{ event.end|time:"TIME_FORMAT" }}{% endif %}
+ {% endif %}
+ {% endwith %}
+ {% endfor %}
+ {% if event.location %}
+ <a href="{% url "event_list_location" event.location.slug %}" class="event__meta__location">{{ event.location }}</a>
+ {% endif %}
+ </div>
+ <div class="split-right">
+ <a href="{{ event.get_absolute_url }}" class="btn">
+ <i class="icon icon__bookmark"></i> {% trans "Reserve" %}
+ </a>
+ </div>
+ </div>
+ </div>
+</div>
--- /dev/null
+{% extends "core/inc/search_card.html" %}
+{% load i18n future mezzanine_tags event_tags keyword_tags disqus_tags organization_tags %}
+
+{% block title %}
+ {{ event.title }}
+{% endblock %}
+
+{% block icon %}calendar-o{% endblock %}
+
+{% block subtitle %}
+ <div class="search-box__subtitle">
+ {% include 'agenda/includes/event_date_line.html' with object=event %}
+ {% if event.prices.all.0|floatformat != '0' and event.prices.all|length > 0 and not is_archive %}
+ <a class="button button--small ml1" href="{% url 'event_booking' event.slug %}" class="event__meta__btn">
+ {% trans "Reserve" %}
+ </a>
+ {% endif %}
+ </div>
+{% endblock %}
+
+{% block image %}
+ {% with event.images.all|get_type:'card' as images %}
+ {% if images %}
+ <a href="{{ event.get_absolute_url }}" class="search-box__image-wrapper">
+ <figure class="search-box__image">
+ <img class="lazyload" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-original="{{ MEDIA_URL }}{% thumbnail images.0.file 720 435 %}">
+ </figure>
+ </a>
+ {% else %}
+ {% with event.parent.images.all|get_type:'card' as images %}
+ {% if images %}
+ <a href="{{ event.get_absolute_url }}" class="search-box__image-wrapper">
+ <figure class="search-box__image">
+ <img class="lazyload" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-original="{{ MEDIA_URL }}{% thumbnail images.0.file 720 435 %}">
+ </figure>
+ </a>
+ {% endif %}
+ {% endwith %}
+ {% endif %}
+ {% endwith %}
+{% endblock %}
+
+{% block tags %}
+ {% keywords_for event as tags %}
+ {% if event.departments.all.0 or tags %}
+ {% if event.departments.all.0 %}
+ <div class="search-box__tags">
+ {{ event.departments.all.0.department.name }}
+ </div>
+ {% endif %}
+ {% endif %}
+ {% if event.category %}
+ <div class="search-box__tags">
+ {{ event.category|truncatechars:15 }}
+ </div>
+ {% endif %}
+{% endblock %}
+
+{% block url %}
+ {{ event.get_absolute_url }}
+{% endblock %}
+
+{% block content %}
+ {{ event.description|slice:":100" }}
+{% endblock %}
--- /dev/null
+{% load event_tags keyword_tags i18n future %}
+
+{% block upcoming_events %}
+{% upcoming_events 5 as upcoming_events %}
+{% if upcoming_events %}
+<h2 class="sidebar__title">{% trans "Upcoming Events" %}</h2>
+<ul class="list-unstyled upcoming-events">
+{% for upcoming_event in upcoming_events %}
+ <li>
+ <h3 class="sidebar__entry">
+ <a href="{{ upcoming_event.get_absolute_url }}" class="sidebar__entry">{{ upcoming_event.title }}</a>
+ </h3>
+ </li>
+{% endfor %}
+</ul>
+{% endif %}
+{% endblock %}
+
+{% block recent_events %}
+{% recent_events 5 as recent_events %}
+{% if recent_events %}
+<h2 class="sidebar__title">{% trans "Recent Events" %}</h2>
+<ul class="list-unstyled recent-events">
+ {% for recent_event in recent_events %}
+ <li>
+ <h3 class="sidebar__entry">
+ <a href="{{ recent_event.get_absolute_url }}" class="sidebar__entry">{{ recent_event.title }}</a>
+ </h3>
+ </li>
+ {% endfor %}
+</ul>
+{% endif %}
+{% endblock %}
+
+{% block event_months %}
+{% event_months as months %}
+{% if months %}
+<h2 class="sidebar__title">{% trans "Archive" %}</h2>
+{% for month in months %}
+ {% ifchanged month.date.year %}
+ {% if not forloop.first %}</ul>{% endif %}
+ <h3 class="sidebar__entry">{{ month.date.year }}</h3>
+ <ul class="list-unstyled">
+ {% endifchanged %}
+ <li>
+ <h4 class="sidebar__entry">
+ <a href="{% url "event_list_month" year=month.date.year month=month.date.month %}" class="sidebar__entry">{{ month.date|date:"F" }}</a> ({{ month.event_count }})
+ </h4>
+ </li>
+ {% endfor %}
+ </ul>
+{% endif %}
+{% endblock %}
+
+{% block event_locations %}
+{% event_locations as locations %}
+{% if locations %}
+<h2 class="sidebar__title">{% trans "Locations" %}</h2>
+<ul class="list-unstyled">
+{% for location in locations %}
+<li>
+ <h3 class="sidebar__entry">
+ <a href="{% url "event_list_location" location.slug %}" class="sidebar__entry">{{ location }}</a> ({{ location.event_count }})
+ </h3>
+</li>
+{% endfor %}
+</ul>
+{% endif %}
+{% endblock %}
+
+{% block event_keywords %}
+{% keywords_for mezzanine_agenda.event as tags %}
+{% if tags %}
+<h2 class="sidebar__title">{% trans "Tags" %}</h2>
+<ul class="list-inline tag-cloud">
+{% for tag in tags %}
+<li>
+ <h3 class="sidebar__entry">
+ <a href="{% url "event_list_tag" tag.slug %}" class="sidebar__entry sidebar__entry--{{ tag.weight }}">{{ tag }}</a>
+ ({{ tag.item_count }})
+ </h3>
+</li>
+{% endfor %}
+</ul>
+{% endif %}
+{% endblock %}
+
+{% comment %}
+{% block event_authors %}
+{% event_authors as authors %}
+{% if authors %}
+<h2 class="sidebar__title">{% trans "Authors" %}</h2>
+<ul class="list-unstyled">
+{% for author in authors %}
+ <li>
+ <h3 class="sidebar__entry">
+ <a href="{% url "event_list_author" author.username %}" class="sidebar__entry">{{ author.get_full_name|default:author.username }}</a>
+ ({{ author.event_count }})
+ </h3>
+ </li>
+{% endfor %}
+</ul>
+{% endif %}
+{% endblock %}
+
+{% block event_feeds %}
+<h2 class="sidebar__title">{% trans "Feeds" %}</h2><br>
+{% if tag %}
+ <a href="{% url "event_feed_tag" tag.slug "rss" %}" class="sidebar__entry">{% trans "RSS" %}</a> /
+ <a href="{% url "event_feed_tag" tag.slug "atom" %}" class="sidebar__entry">{% trans "Atom" %}</a>
+{% endif %}
+{% if location %}
+ <a href="{% url "event_feed_location" location.slug "rss" %}" class="sidebar__entry">{% trans "RSS" %}</a> /
+ <a href="{% url "event_feed_location" location.slug "atom" %}" class="sidebar__entry">{% trans "Atom" %}</a>
+{% endif %}
+{% if author %}
+ <a href="{% url "event_feed_author" author.username "rss" %}" class="sidebar__entry">{% trans "RSS" %}</a> /
+ <a href="{% url "event_feed_author" author.username "atom" %}" class="sidebar__entry">{% trans "Atom" %}</a>
+{% endif %}
+{% if not tag and not location and not author %}
+ <a href="{% url "event_feed" "rss" %}" class="sidebar__entry">{% trans "RSS" %}</a> /
+ <a href="{% url "event_feed" "atom" %}" class="sidebar__entry">{% trans "Atom" %}</a>
+{% endif %}
+{% endblock %}
+{% endcomment %}
--- /dev/null
+<!doctype html>
+<html lang="{{ LANGUAGE_CODE }}"{% if LANGUAGE_BIDI %} dir="rtl"{% endif %}>
+{% load i18n pages_tags mezzanine_tags staticfiles keyword_tags event_tags organization_tags %}
+{% get_language_info_list for LANGUAGES as languages %}
+<head>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="keywords" content="{% block meta_keywords %}{% endblock %}">
+ <meta name="description" content="{% block meta_description %}{% endblock %}">
+ <title>{% spaceless %}{% block meta_title %}{% endblock %}{% endspaceless %}{% if settings.SITE_TITLE %} | {{ settings.SITE_TITLE }}{% endif %}</title>
+
+ <link rel="apple-touch-icon-precomposed" sizes="152x152" href="{% static "img/favicons/apple-touch-icon-152x152-precomposed.png" %}">
+ <link rel="apple-touch-icon-precomposed" sizes="120x120" href="{% static "img/favicons/apple-touch-icon-120x120-precomposed.png" %}">
+ <link rel="apple-touch-icon-precomposed" sizes="76x76" href="{% static "img/favicons/apple-touch-icon-76x76-precomposed.png" %}">
+ <link rel="apple-touch-icon-precomposed" sizes="60x60" href="{% static "img/favicons/apple-touch-icon-60x60-precomposed.png" %}">
+ <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{% static "img/favicons/apple-touch-icon-144x144-precomposed.png" %}">
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href="{% static "img/favicons/apple-touch-icon-114x114-precomposed.png" %}">
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="{% static "img/favicons/apple-touch-icon-72x72-precomposed.png" %}">
+ <link rel="apple-touch-icon" sizes="57x57" href="{% static "img/favicons/apple-touch-icon.png" %}">
+ <link rel="shortcut icon" href="{% static "img/favicons/favicon.ico" %}">
+ <link rel="icon" type="image/png" sizes="96x96" href="{% static "img/favicons/favicon-96x96.png" %}">
+
+ <link href='https://fonts.googleapis.com/css?family=Merriweather:400,300,700,900,300italic|Oswald:400,300,700' rel='stylesheet' type='text/css'>
+ <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDqF2kIHtUASr67QP-1bXRd6FPELDS4FSs&libraries=geometry"></script>
+
+ {% compress css %}
+ <link rel="stylesheet" href="{% static "vendors/font-awesome/css/font-awesome.css" %}">
+ <link rel="stylesheet" href="{% static "vendors/lightslider/dist/css/lightslider.css" %}">
+ <link rel="stylesheet" href="{% static "vendors/lightgallery/dist/css/lightgallery.css" %}">
+ <link rel="stylesheet" href="{% static "vendors/pushy/css/pushy.css" %}">
+ <link rel="stylesheet" href="{% static "vendors/video.js/dist/video-js.css" %}">
+ <link rel="stylesheet" href="{% static "css/index.min.css" %}">
+ {% endcompress %}
+
+ {% block extra_head %}{% endblock %}
+</head>
+
+<body id="{% block body_id %}body{% endblock %}" class="{% block body_class %}{% endblock %}">
+ {% spaceless %}
+
+ {% block sidebar %}
+ <div class="pushy pushy-left">
+ {% include "includes/sidebar.html" %}
+ </div>
+ {% endblock %}
+
+ {% block site_overlay %}
+ <div class="site-overlay">
+ </div>
+ {% endblock %}
+
+ {% block header %}
+ <div class="header push">
+ <div class="container">
+ <div class="row header__nav">
+ <div class="col-md-16 tal">
+ <div id="navHeader">
+ {% page_menu "pages/menus/header.html" %}
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ {% endblock %}
+
+ {% block container %}
+ <div id="container">
+ <main class="main" role="main">
+ {% block content_header %}{% endblock %}
+ {% block main %}{% endblock %}
+ {% block content_footer %}{% endblock %}
+ </main>
+
+ {% block social %}
+ {% include "includes/social.html" %}
+ {% endblock %}
+
+ {% block footer %}
+ <footer class="footer" role="footer">
+ {% include "includes/footer.html" %}
+ </footer>
+ {% endblock %}
+ </div>
+ {% endblock %}
+
+ {% block overlay_container %}
+ <div class="overlay" id="overlay">
+ <a href="#" id="overlayClose" class="overlay__close">
+ </a>
+ <div class="overlay__container">
+ <div class="overlay__content">
+ <div id="overlayContent">
+ </div>
+ <div class="overlay__loader" id="overlayLoader">
+ <i class="loading"></i>
+ </div>
+ </div>
+ </div>
+ </div>
+ {% endblock %}
+
+ {% search_form %}
+
+ {% block footer_scripts %}
+ {% include "includes/footer_scripts.html" %}
+ {% endblock %}
+
+ {% endspaceless %}
+
+</body>
+</html>
--- /dev/null
+{% extends "admin/starts_eu/base.html" %}
+{% load mezzanine_tags i18n staticfiles %}
+
+{% block title %}{{ title }} | Mezzanine{% endblock %}
+
+{% block extrahead %}
+<link rel="stylesheet" href="{% static "mezzanine/css/admin/global.css" %}">
+<style>
+ /* These are set in PageAdmin's view methods, and mezzanine.utils.admin.SingletonAdmin */
+ {% if hide_delete_link or singleton %}.submit-row .deletelink {display:none !important;}{% endif %}
+ {% if hide_slug_field %}.slug {display:none !important;}{% endif %}
+ {% if singleton %}.change-view-save-another {display:none !important;}{% endif %}
+</style>
+<script>
+ {% url "static_proxy" as static_proxy_url %}
+ {% url "fb_browse" as fb_browse_url %}
+ {% url "displayable_links_js" as link_list_url %}
+ {% url "admin:index" as admin_index_url %}
+ {% get_current_language as LANGUAGE_CODE %}
+ window.__home_link = '<a href="{% url "home" %}">{% trans "View site" %}</a>';
+ window.__csrf_token = '{{ csrf_token }}';
+ window.__admin_keywords_submit_url = '{% url "admin_keywords_submit" %}';
+ window.__filebrowser_url = '{{ fb_browse_url }}';
+ window.__link_list_url = '{{ link_list_url }}';
+ window.__tinymce_css = '{% static "mezzanine/css/tinymce.css" %}';
+ window.__admin_url = '{{ admin_index_url }}';
+ window.__static_proxy = '{{ static_proxy_url }}';
+ window.__admin_media_prefix__ = '{% static "admin" %}/';
+ window.__grappelli_installed = {{ settings.GRAPPELLI_INSTALLED|lower }};
+ window.__admin_menu_collapsed = {{ settings.ADMIN_MENU_COLLAPSED|lower }};
+ window.__language_code = '{{ LANGUAGE_CODE }}';
+</script>
+
+{% if not settings.GRAPPELLI_INSTALLED %}
+<script src="{% static "mezzanine/js/"|add:settings.JQUERY_FILENAME %}"></script>
+{% endif %}
+
+<script>
+jQuery(function($) {
+ $('.admin-title').click(function() {location = window.__admin_url;});
+ // This line can be removed after a decent amount of time has passed since
+ // https://github.com/stephenmcd/grappelli-safe/pull/56/files occurring.
+ $("#id_sitepermissions-__prefix__-sites").parent().parent().parent().remove();
+});
+</script>
+
+{% endblock %}
+
+{% block rtl_styles %}
+{{ block.super }}
+<link rel="stylesheet" type="text/css" href="{% static "mezzanine/css/admin/rtl.css" %}" />
+{% endblock %}
+
+{% block before_content %}
+{% if user.is_staff and not is_popup and not request.GET.pop %}
+{% admin_dropdown_menu %}
+{% endif %}
+{% endblock %}
+
+{% block footer %}
+{% if form.this_is_the_login_form %}
+ <script src="{% static "mezzanine/js/admin/login.js" %}"></script>
+{% else %}
+ {% if user.is_staff %}
+ {% if not is_popup and not request.GET.pop %}
+ <link rel="stylesheet" href="{% static "mezzanine/chosen/chosen.css" %}">
+ <!--<script src="{% static "mezzanine/chosen/chosen-0.9.12.jquery.js" %}"></script>-->
+ <script src="{% static "mezzanine/js/admin/navigation.js" %}"></script>
+
+ {% endif %}
+ <script src="{% static "mezzanine/js/admin/ajax_csrf.js" %}"></script>
+ {% if settings.GRAPPELLI_INSTALLED %}
+ <script src="{% static "mezzanine/js/admin/collapse_backport.js" %}"></script>
+ {% endif %}
+ {% endif %}
+{% endif %}
+{% endblock %}
--- /dev/null
+{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
+{% if blocks %}
+ <div class="pb2">
+ {% for block in blocks %}
+ {% if block.content %}
+ {% if block.with_separator %}
+ <hr />
+ {% endif %}
+ <div class="page__block{% if block.background_color %} page__block--{{ block.background_color }}{% endif %}">
+ <div class="container">
+ <div class="row" data-summary-content>
+ <div class="col-sm-16 col-md-12 col-md-push-2">
+ {% editable block.title %}
+ <div class="page__block-title">
+ <h2 class="">{{ block.title }}</h2>
+ </div>
+ {% endeditable %}
+ {% if block.description %}
+ <div class="chapo">
+ {% editable block.description %}
+ {{ block.description }}
+ {% endeditable %}
+ </div>
+ {% endif %}
+ {% if block.content %}
+ {% editable block.content %}
+ {{ block.content|richtext_filters|safe }}
+ {% endeditable %}
+ {% endif %}
+ </div>
+ </div>
+ </div>
+ </div>
+ {% endif %}
+ {% endfor %}
+ </div>
+{% endif %}
--- /dev/null
+{% load i18n %}
+<p>
+ <strong>{% trans "Downloads" %}</strong>
+</p>
+<ul class="unstyled-list fss">
+{% for file in files %}
+ <li>
+ <a href="{{ file.file.url }}" class=""><i class="fa fa-download"></i> {{ file.title }}</a>
+ {% if file.description %}
+ <br />
+ <p>
+ {{ file.description }}
+ </p>
+ {% endif %}
+ </li>
+{% endfor %}
+</ul>
--- /dev/null
+{% load i18n pages_tags mezzanine_tags media_tags organization_tags %}
+
+<a class="article-box" href="{% block url %}{% endblock %}" {% block target %}{% endblock %} title="{% block metatitle %}{% endblock %}">
+ <div class="article-box__header">
+
+ {% block image %}
+ {% endblock %}
+
+ {% block btn %}
+ {% endblock %}
+
+ </div>
+
+ <div class="article-box__content tal">
+ <div class="article-box__title">
+ {% block title %}
+ {% endblock %}
+ </div>
+ <div class="article-box__tags">
+ {% block tags %}
+ {% endblock %}
+ </div>
+ <div class="article-box__subtitle">
+ {% block subtitle %}
+ {% endblock %}
+ </div>
+ <div class="article-box__desc">
+ {% block content %}
+ {% endblock %}
+ </div>
+ </div>
+</a>
--- /dev/null
+{% load mezzanine_tags i18n %}
+<ul class="unstyled-list fss">
+ {% for link in links %}
+ <li><a href="{{ link.url }}" title="{{ link.link_type.name }}" target="_blank"><i class="fa fa-{{ link.link_type.slug }}"></i> {% firstof link.title link.url%}</a></li>
+ {% endfor %}
+</ul>
--- /dev/null
+{% load mezzanine_tags i18n %}
+{% if images %}
+ {% for image in images %}
+ <li class="partners-list__item" style="background-image:url('{{ MEDIA_URL }}{{ image.file }}');"><img alt="{{ image.title }}" src="{{ MEDIA_URL }}{{ image.file }}"></li>
+ {% endfor %}
+{% endif %}
--- /dev/null
+{% if messages %}
+ <ul class="messages">
+ {% for message in messages %}
+ <li class="messages__item{% if message.tags %} {{ message.tags }}{% endif %}">{{ message }}</li>
+ {% endfor %}
+ </ul>
+{% endif %}
--- /dev/null
+{% load i18n mezzanine_tags keyword_tags organization_tags pages_tags %}
+
+{% if dynamic_content.event|length > 0 %}
+
+<div class="container">
+ <div class="row tac">
+ <div class="col-xs-16">
+ <h2 class="section-title section-title--underline section-title--uppercase section-title--main">{% trans "Linked events" %}</h2>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-md-12 col-md-push-2">
+ {% for content in dynamic_content.event %}
+ {% with event=content.content_object %}
+ {% include 'agenda/includes/event_linecard.html' %}
+ {% endwith %}
+ {% endfor %}
+ </div>
+
+ </div>
+</div>
+
+{% endif %}
+
+{% if dynamic_content.other|length > 0 %}
+ <div class="pb2">
+ <div class="container">
+ <div class="row tac">
+ <div class="col-xs-16">
+ <h2 class="section-title section-title--underline section-title--uppercase section-title--main">{% if object.related_title.title %}{{ object.related_title.title }}{% else %}{% trans "Also discover" %}{% endif %}</h2>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-xxs-16">
+ <div data-slider-related>
+
+ {% for content in dynamic_content.other %}
+ {% if forloop.counter0 == 0 or forloop.counter|divisibleby:3 %}
+ <div class="container">
+ <div class="row">
+ {% endif %}
+ <div class="col-xs-6 col-xs-push-2">
+ {% if content.content_type.model == "article" %}
+ {% include "magazine/article/includes/article_card.html" with object=content.content_object %}
+ {% elif content.content_type.model == "event" %}
+ {% include "agenda/event/includes/event_card.html" with object=content.content_object %}
+ {% elif content.content_type.model == "custompage" %}
+ {% include "pages/page/includes/page_card.html" with object=content.content_object %}
+ {% endif %}
+ </div>
+ {% if forloop.last or forloop.counter|divisibleby:2 %}
+ </div>
+ </div>
+ {% endif %}
+ {% endfor %}
+
+ </div>
+ </div>
+
+ </div>
+ </div>
+ </div>
+{% endif %}
--- /dev/null
+{% load i18n mezzanine_tags keyword_tags organization_tags pages_tags %}
+{% if concrete_objects %}
+ <div class="pb2">
+ <div class="container">
+ <div class="row tac">
+ <div class="col-xs-16">
+ <h2 class="section-title section-title--underline section-title--uppercase section-title--main">{% if object.related_title.title %}{{ object.related_title.title }}{% else %}{% trans "Also discover" %}{% endif %}</h2>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-xxs-16">
+ <div data-slider-related>
+
+ {% for concrete_object in concrete_objects %}
+ {% if forloop.counter0 == 0 or forloop.counter|divisibleby:3 %}
+ <div class="container">
+ <div class="row">
+ {% endif %}
+
+ <div class="col-xs-6 col-xs-push-2">
+ {% with app_label=concrete_object|app_label_short classname=concrete_object|classname|lower object=concrete_object %}
+ {% with app_label|add:"/"|add:classname|add:"/includes/"|add:classname|add:"_card.html" as template %}
+ {% include template %}
+ {% endwith %}
+ {% endwith %}
+ </div>
+
+ {% if forloop.last or forloop.counter|divisibleby:2 %}
+ </div>
+ </div>
+ {% endif %}
+ {% endfor %}
+
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+{% endif %}
--- /dev/null
+<div class="search-box">
+
+ {% block image %}
+ {% endblock %}
+
+ <div class="search-box__right">
+
+ <a href="{% block url %}{% endblock %}" target="_blank">
+ <h2 class="search-box__title">
+ {% block title %}
+ {% endblock %}
+ <i class="fa fa-{% block icon %}{% endblock %}"></i>
+ </h2>
+ </a>
+
+ {% block tags %}
+ {% endblock %}
+
+ {% block subtitle %}
+ {% endblock %}
+
+ <div class="search-box__content">
+
+ {% block content %}
+ {% endblock %}
+ </div>
+ </div>
+
+</div>
--- /dev/null
+{% load mezzanine_tags %}
+<div class="page__slider">
+ <ul class="slider-page" data-slider-page>
+ {% for image in slider_images %}
+ <li class="slider-page__slide" data-src="{{ MEDIA_URL }}{{ image.file }}">
+ <div class="slider-page__wrapper">
+ <img title="{{ image.title }}" alt="{{ image.title }} {{ image.description }} {{ image.credits }}" class="slider-page__img" src="{{ MEDIA_URL}}{% thumbnail image.file 0 520 %}" alt="" />
+ <div class="slider-page__caption">
+ {{ image.title }}
+ {% if image.description %}
+ {{ image.description }}
+ {% endif %}
+ {% if image.credits %}
+ {{ image.credits }}
+ {% endif %}
+ </div>
+ </div>
+ </li>
+ {% endfor %}
+ </ul>
+</div>
--- /dev/null
+{% load i18n accounts_tags %}
+{% block main %}
+<p>{% trans "Hey there, a new account has been created and requires activation." %}</p>
+<br>
+<p>{% trans "Name" %}: {{ user.get_full_name }}</p>
+<p>{% trans "Email" %}: {{ user.email }}</p>
+{% for field, value in user|profile_fields %}
+<p>{{ field }}: {{ value|linebreaksbr }}</p>
+{% endfor %}
+<br>
+<p>{% trans "Please use the link below to activate it." %}</p>
+<p><a href="http://{{ request.get_host }}{{ change_url }}">http://{{ request.get_host }}{{ change_url }}</a></p>
+{% endblock %}
--- /dev/null
+{% load i18n accounts_tags %}
+{% block main %}
+{% trans "Hey there, a new account has been created and requires activation." %}
+
+{% trans "Name" %}: {{ user.get_full_name }}
+{% trans "Email" %}: {{ user.email }}
+{% for field, value in user|profile_fields %}{{ field }}: {{ value|linebreaksbr }}
+{% endfor %}
+{% trans "Please use the link below to activate it." %}
+http://{{ request.get_host }}{{ change_url }}
+{% endblock %}
--- /dev/null
+{% load i18n %}
+{% trans "An account requires activation" %}
--- /dev/null
+{% load i18n %}
+{% block main %}
+<p>{% trans "Hey there, your account has been activated." %}</p>
+<p>{% trans "Please use the link below to log in." %}</p>
+<p><a href="http://{{ request.get_host }}{% url "login" %}">http://{{ request.get_host }}{% url "login" %}</a></p>
+{% endblock %}
--- /dev/null
+{% load i18n %}
+{% block main %}
+{% trans "Hey there, your account has been activated." %}
+{% trans "Please use the link below to log in." %}
+http://{{ request.get_host }}{% url "login" %}
+{% endblock %}
--- /dev/null
+{% load i18n %}
+{% trans "Your account has been activated" %}
--- /dev/null
+<!doctype html>
+
+<html lang="en">
+<head>
+ <meta charset="utf-8">
+</head>
+
+<body>
+ <p>Bonjour,</p>
+
+ <p>Une nouvelle candidature a été soumise :</p>
+ <p><strong>Nom : {{ last_name }}</strong></p>
+ <p><strong>Prénom : {{ first_name }}</strong></p>
+ <p><strong>Email :{{ email }}</strong></p>
+ <p><strong>Message :</strong></p>
+ <p>{{ message }}</p>
+ <br>
+ <br>
+ <p>Le curriculum vitae ainsi que la lettre de motivation sont en pièces jointes.</p>
+ <p>Ces informations sont disponibles sur le backoffice de <a href="http://www.ircam.fr" title="site de l'ircam">http://www.ircam.fr</a> dans l'édition de l'offre d'emploi correspondante.</p>
+
+ <p>Bonne journée ! :)</p>
+</body>
+</html>
--- /dev/null
+{% block main %}{% endblock %}
+
+<br><a href="http://{{ request.get_host }}">http://{{ request.get_host }}</a>
--- /dev/null
+{% block main %}{% endblock %}
+
+http://{{ request.get_host }}
--- /dev/null
+{% extends "email/starts_eu/base.html" %}
+{% load i18n %}
+
+{% block main %}
+<p>
+ {% trans "A new comment has been posted on" %}
+ <a href="http://{{ request.get_host }}{{ comment_url }}">{{ obj }}</a>
+</p>
+<p>
+ {% blocktrans with submit_date=comment.submit_date user_name=comment.user_name %}
+ At {{ submit_date }} {{ user_name }} wrote:
+ {% endblocktrans %}
+</p>
+<p>
+ {{ comment.comment|linebreaksbr|urlize }}
+</p>
+{% endblock %}
--- /dev/null
+{% extends "email/base.txt" %}
+{% load i18n %}
+
+{% block main %}
+A new comment has been posted on {{ obj }} [http://{{ request.get_host }}{{ comment_url }}]
+
+{% blocktrans with submit_date=comment.submit_date user_name=comment.user_name %}
+At {{ submit_date }} {{ user_name }} wrote:
+{% endblocktrans %}
+
+{{ comment.comment }}
+{% endblock %}
--- /dev/null
+{% extends "email/starts_eu/base.html" %}
+
+{% block main %}
+{% if message %}<p>{{ message }}</p>{% endif %}
+<table border="0">
+{% for field, value in fields %}
+<tr>
+ <td><b>{{ field }}:</b></td>
+ <td>{{ value|linebreaks }}</td>
+</tr>
+{% endfor %}
+</table>
+{% endblock %}
--- /dev/null
+{% extends "email/base.txt" %}
+
+{% block main %}{% if message %}
+{{ message }}
+
+{% endif %}{% for field, value in fields %}
+{{ field }}: {{ value|safe }}
+{% endfor %}
+{% endblock %}
--- /dev/null
+{% extends "email/form_response.html" %}
+
+{% block main %}
+{{ block.super }}
+{% endblock %}
--- /dev/null
+{% extends "email/form_response.txt" %}
+
+{% block main %}
+{{ block.super }}
+{% endblock %}
--- /dev/null
+{% load i18n %}
+{% block main %}
+<p>{% trans "Hey there, the password reset form was used for your account." %}</p>
+<p>{% trans "Please use the link below to log in and update your password." %}</p>
+<p><a href="http://{{ request.get_host }}{{ verify_url }}">http://{{ request.get_host }}{{ verify_url }}</a></p>
+<p>{% trans "If you didn't request for your password to be reset, please ignore this email." %}</p>
+{% endblock %}
+
--- /dev/null
+{% load i18n %}
+{% block main %}
+{% trans "Hey there, the password reset form was used for your account." %}
+{% trans "Please use the link below to log in and update your password." %}
+http://{{ request.get_host }}{{ verify_url }}
+{% trans "If you didn't request for your password to be reset, please ignore this email." %}
+{% endblock %}
--- /dev/null
+{% load i18n %}
+{% trans "Reset your password" %}
--- /dev/null
+{% load i18n %}
+{% block main %}
+<p>{% trans "Hey there, thanks for creating your account." %}</p>
+<p>{% trans "Please use the link below to activate it." %}</p>
+<p><a href="http://{{ request.get_host }}{{ verify_url }}">http://{{ request.get_host }}{{ verify_url }}</a></p>
+{% endblock %}
--- /dev/null
+{% load i18n %}
+{% block main %}
+{% trans "Hey there, thanks for creating your account." %}
+{% trans "Please use the link below to activate it." %}
+http://{{ request.get_host }}{{ verify_url }}
+{% endblock %}
--- /dev/null
+{% load i18n %}
+{% trans "Activate your account" %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+
+{% load i18n %}
+
+{% block meta_title %}
+ {% trans "Page not found" %}
+{% endblock %}
+
+{% block page_class %}
+ custompage
+{% endblock %}
+
+{% block page_title %}
+ <h1 class="dotted">{% trans "Page not found" %}</h1>
+{% endblock %}
+
+{% block page_content %}
+ <p>
+ {% trans "The page you requested does not exist." %}
+ </p>
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/base.html" %}
+
+{% load i18n %}
+
+{% block meta_title %}
+{% trans "Error" %}
+{% endblock %}
+
+{% block title %}
+{% trans "Error" %}
+{% endblock %}
+
+{% block main %}
+<div class="panel panel-danger">
+ <div class="panel-heading"><h3 class="panel-title">{% trans "Error" %}</h3></div>
+ <div class="panel-body">{% trans "Sorry, an error occurred." %}</div>
+</div>
+{% endblock %}
+
+{% block page_class %}
+ custompage
+{% endblock %}
+
+{% block page_title %}
+ <h1 class="dotted">{% trans "Error" %}</h1>
+{% endblock %}
+
+{% block page_content %}
+ <p>
+ {% trans "Sorry, an error occurred." %}
+ </p>
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/base.html" %}
+
+{% load mezzanine_tags comment_tags keyword_tags %}
+
+{% block meta_title %}{{ obj }}{% endblock %}
+
+{% block meta_keywords %}{% metablock %}
+{% keywords_for obj as tags %}
+{% for tag in tags %}{% if not forloop.first %}, {% endif %}{{ tag }}{% endfor %}
+{% endmetablock %}{% endblock %}
+
+{% block meta_description %}{% metablock %}
+{{ obj.description }}
+{% endmetablock %}{% endblock %}
+
+{% block main %}
+{% comments_for obj %}
+{% endblock %}
--- /dev/null
+{% load i18n mezzanine_tags comment_tags rating_tags %}
+
+{% for comment in comments_for_thread %}
+
+<div id="comment-{{ comment.id }}"
+ class="comment media{% if comment.by_author %} comment-author{% endif %}">
+
+ {% editable comment.is_public comment.is_removed %}
+ {% if not comment.is_removed and comment.is_public or request.user.is_staff %}
+ {% if comment.url %}
+ <a href="{{ comment.url }}">
+ <img class="pull-left media-object" src="{% gravatar_url comment.email %}">
+ </a>
+ <div class="media-body">
+ <h4 class="media-heading"><a href="{{ comment.url }}">{{ comment.user_name }}</a>
+ {% else %}
+ <img class="pull-left media-object" src="{% gravatar_url comment.email %}">
+ <div class="media-body">
+ <h4 class="media-heading">{{ comment.user_name }}
+ {% endif %}
+ <small class="timespan">
+ {% blocktrans with sometime=comment.submit_date|timesince %}{{ sometime }} ago{% endblocktrans %}
+ </small>
+ </h4>
+ <p>{{ comment.comment|comment_filter }}</p>
+ {% endif %}
+
+ {% if not comment.is_removed and comment.is_public %}
+ <a href="{{ request.path }}#comment-{{ comment.id }}">
+ <span class="glyphicon glyphicon-link"></span> {% trans "Link" %}
+ </a> |
+ <a href="#reply-{{ comment.id }}" class="reply">
+ <span class="glyphicon glyphicon-share-alt"></span> {% trans "Reply" %}
+ </a>
+ {% if settings.COMMENTS_USE_RATINGS %}
+ <div class="rating">
+ {% rating_for comment %}
+ </div>
+ {% endif %}
+ <form class="comment-reply-form" method="post" id="reply-{{ comment.id }}"
+ action="{{ comment_url }}#reply-{{ comment.id }}"
+ {% if replied_to != comment.id %}style="display:none;"{% endif %}>
+ {% if replied_to == comment.id %}
+ {% fields_for posted_comment_form %}
+ {% else %}
+ {% fields_for unposted_comment_form %}
+ {% endif %}
+ <input type="hidden" name="replied_to" value="{{ comment.id }}">
+ <input class="btn btn-primary btn-lg" type="submit" value="{% trans "Reply" %}">
+ </form>
+
+ {% else %}
+ <p>
+ {% if comment.is_removed %}
+ <span class="glyphicon glyphicon-remove-circle"></span> {% trans "Comment deleted" %}
+ {% else %}
+ <span class="glyphicon glyphicon-warning-sign"></span> {% trans "Comment awaiting approval" %}
+ {% endif %}
+ <small class="timespan">{% blocktrans with sometime=comment.submit_date|timesince %}{{ sometime }} ago{% endblocktrans %}</small>
+ </p>
+ {% endif %}
+
+ {% comment_thread comment %}
+
+ {% if not comment.is_removed and comment.is_public or request.user.is_staff %}</div>{% endif %}
+ {% endeditable %}
+</div>
+{% endfor %}
+
+{% if no_comments %}
+<p>{% trans "There are currently no comments" %}</p>
+{% endif %}
+
--- /dev/null
+{% load i18n mezzanine_tags comment_tags %}
+<div id="comments">
+<h3>{% trans "Comments" %}</h3>
+{% if settings.COMMENTS_DISQUS_SHORTNAME %}
+{% include "generic/includes/disqus_comments.html" %}
+{% else %}
+<script>
+$(function() {
+ $('.reply').click(function() {
+ $('.comment-reply-form').hide();
+ $(this).siblings('.comment-reply-form').toggle();
+ });
+});
+</script>
+<style>.input_id_honeypot {display:none !important;}</style>
+{% comment_thread object_for_comments %}
+<h3>{% trans "New Comment" %}</h3>
+<form method="post" id="comment" action="{{ comment_url }}#comment">
+ {% if not request.POST.replied_to %}
+ {% fields_for posted_comment_form %}
+ {% else %}
+ {% fields_for unposted_comment_form %}
+ {% endif %}
+ <div class="form-actions">
+ <input class="btn btn-primary btn-lg" type="submit" value="{% trans "Comment" %}">
+ </div>
+</form>
+{% endif %}
+</div>
--- /dev/null
+{% load disqus_tags %}
+
+<div id="disqus_thread"></div>
+{% disqus_sso_script %}
+<script>
+ var disqus_developer = '{{ settings.DEV_SERVER }}' == 'True';
+ var disqus_url = 'http{% if request.is_secure %}s{% endif %}://{{ request.META.HTTP_HOST }}{{ object_for_comments.get_absolute_url }}';
+ var disqus_title = '{{ object_for_comments|escapejs }}';
+ var disqus_identifier = '{% disqus_id_for object_for_comments %}';
+ (function() {
+ var dsq = document.createElement('script'); dsq.type = 'text/javascript'; dsq.async = true;
+ dsq.src = 'http{% if request.is_secure %}s{% endif %}://{{ settings.COMMENTS_DISQUS_SHORTNAME }}.disqus.com/embed.js';
+ (document.getElementsByTagName('head')[0] || document.getElementsByTagName('body')[0]).appendChild(dsq);
+ })();
+</script>
--- /dev/null
+<script>
+/* * * CONFIGURATION VARIABLES: EDIT BEFORE PASTING INTO YOUR WEBPAGE * * */
+var disqus_shortname = '{{ settings.COMMENTS_DISQUS_SHORTNAME }}'; // required: replace example with your forum shortname
+
+/* * * DON'T EDIT BELOW THIS LINE * * */
+(function () {
+ var s = document.createElement('script'); s.async = true;
+ s.type = 'text/javascript';
+ s.src = '//' + disqus_shortname + '.disqus.com/count.js';
+ (document.getElementsByTagName('HEAD')[0] || document.getElementsByTagName('BODY')[0]).appendChild(s);
+}());
+</script>
--- /dev/null
+<script>
+var disqus_config = function () {
+ this.page.remote_auth_s3 = '{{ sso_data }}';
+ this.page.api_key = '{{ public_key }}';
+}
+</script>
--- /dev/null
+{% load mezzanine_tags rating_tags i18n %}
+
+<span id="rating-{{ rating_object.id }}">
+ {% if rating_average %}
+ {% trans "Current rating" %}: {{ rating_average|floatformat }}
+ {% else %}
+ {% trans "Currently unrated" %}
+ {% endif %}
+</span>
+
+{% if not rated or request.user.is_authenticated %}
+<form class="form-inline" role="form" method="post" action="{% url "rating" %}">
+ {% nevercache %}
+ {% csrf_token %}
+ {% endnevercache %}
+ <ul class="radio radio-inline">{{ rating_form.as_ul }}</ul>
+ <input type="submit" class="btn btn-default btn-sm" value="{% trans "Rate" %}"
+ onclick="return $(this.form).find('input:checked').length == 1;">
+</form>
+{% endif %}
--- /dev/null
+{% load i18n %}
+<div class="page__block page__block--accent">
+ <div class="container">
+ <div class="row">
+ <div class="col-xs-16 col-md-16 col-lg-10 fsxl lh5 ffss fwl">
+ {% if host_organization.bio %}
+ {{ host_organization.bio|safe }}
+ {% else %}
+ <strong>« LES FORMES DU DIGITAL »</strong> questionnera les enjeux des mutations
+ formelles au sein d’un monde digitalisé dans les domaines de la musique, de l’art, du
+ design et de l’architecture au regard des avancées des technosciences. Comment les
+ champs de création se sont-ils emparés des technologies numériques ?
+ {% endif %}
+ </div>
+ </div>
+ </div>
+</div>
--- /dev/null
+{% load i18n pages_tags mezzanine_tags media_tags organization_tags %}
+<div class="container">
+ <div class="row">
+ <div class="col-sm-12 col-sm-push-2 tac">
+ <div class="section-title section-title--uppercase section-title--accent">
+ Autres articles
+ </div>
+ <div class="row">
+ {% for content in home.dynamiccontenthomebody_set.all %}
+ <div class="col-xs-8{% if forloop.counter > 3 %} hide-until-xs{% endif %}">
+ {% if content.content_type.model == "brief" %}
+ {% include "magazine/brief/inc/brief_card.html" %}
+ {% elif content.content_type.model == "article" %}
+ {% include "magazine/article/includes/article_card.html" with object=content.content_object %}
+ {% elif content.content_type.model == "event" %}
+ {% include "agenda/event/includes/event_card.html" with object=content.content_object %}
+ {% elif content.content_type.model == "custompage" %}
+ {% include "pages/page/includes/page_card.html" with object=content.content_object %}
+ {% elif content.content_type.model == "media" %}
+ {% include "media/media/includes/media_card.html" with object=content.content_object %}
+ {% endif %}
+ </div>
+ {% endfor %}
+ </div>
+ </div>
+ </div>
+</div>
--- /dev/null
+{% load i18n pages_tags mezzanine_tags staticfiles keyword_tags event_tags organization_tags %}
+
+<div class="hero hero--small">
+
+ <div class="Background">
+ <canvas class="Background-canvas"></canvas>
+ </div>
+
+ <div class="container">
+
+ <div class="row">
+
+ <div class="col-xs-16">
+
+ <div class="hero__logo">
+ <img src="{% static "img/vertigo/hero-logo.png" %}" />
+ </div>
+
+ </div>
+
+ </div>
+
+ </div>
+
+</div>
--- /dev/null
+{% load i18n pages_tags mezzanine_tags staticfiles keyword_tags event_tags organization_tags %}
+
+<div class="hero">
+
+ <div class="Background">
+ <canvas class="Background-canvas"></canvas>
+ </div>
+
+ <div class="container">
+
+ <div class="row">
+
+ <div class="col-xs-7 col-xs-push-1 hero__left">
+ <img src="{% static "img/vertigo/hero-left.png" %}" />
+ <img class="hero__date" src="{% static "img/vertigo/hero-left-date.png" %}" />
+ </div>
+
+ <div class="col-xs-7 col-xs-push-1 hero__right">
+ <img src="{% static "img/vertigo/hero-right.png" %}" />
+
+ <p>
+
+ </p>
+ </div>
+
+ </div>
+
+ <div class="row">
+
+ <div class="col-xs-16">
+
+ <div class="hero__logo">
+ <img src="{% static "img/vertigo/hero-logo.png" %}" />
+ </div>
+
+ </div>
+
+ </div>
+
+ <div class="hero__title">
+ <img src="{% static "img/vertigo/hero-title.png" %}" />
+ </div>
+
+ </div>
+
+</div>
--- /dev/null
+{% load staticfiles i18n organization_tags %}
+<div class="col-sm-{{ service.box_size }} col-xs-6">
+ <a class="banner {% if service.css_color %}banner--colored banner--{{ service.css_color }}{% endif %} banner--light" href="{{ service.url }}" style="background-image:url({{ service.image.url }});">
+ <div class="banner__content">
+ <div class="banner__title {{ service.css_banner_type }}">
+ {{ service.name }}
+ </div>
+ <div class="banner__desc fss">
+ {{ service.description }}
+ </div>
+ </div>
+ </a>
+</div>
--- /dev/null
+{% load staticfiles i18n organization_tags %}
+
+<div class="container mb2">
+ <div class="row">
+ {% for service in host_organization.services.all|slice_ng:"0:2" %}
+ {% include "home/inc/service.html" %}
+ {% endfor %}
+ </div>
+
+ <div class="row">
+ {% for service in host_organization.services.all|slice_ng:"2:5" %}
+ {% include "home/inc/service.html" %}
+ {% endfor %}
+ </div>
+</div>
--- /dev/null
+<div class="col-xs-3">
+ <a href="{% url url_pattern slug %}" title="{{ title }}" class="home__shutter-item">
+ <h2>{{ title }}</h2>
+ <p>{{ description|truncatechars:100 }}</p>
+ </a>
+</div>
--- /dev/null
+{% load i18n pages_tags mezzanine_tags media_tags organization_tags %}
+{% if home.dynamiccontenthomeslider_set.all|length > 0 %}
+ <div class="container">
+ <div class="row">
+ <div class="col-sm-16">
+ <div class="slider-home">
+ <ul data-slider-home>
+ {% for slider in home.dynamiccontenthomeslider_set.all %}
+ {% with slider.content_object.images.all|get_type:'slider' as images %}
+ {% if images %}
+ <li class="slider-home__slide">
+ <div class="row">
+ <div class="col-sm-12 col-sm-push-2">
+ <a href="{{ slider.content_object.get_absolute_url }}" class="slider-home__wrapper">
+ <div class="row">
+ <div class="col-sm-8">
+ <div class="slider-home__image-container">
+ <img class="slider-home__image" src="{{ MEDIA_URL }}{% thumbnail images.0.file 478 366 %}" />
+ </div>
+ </div>
+ <div class="col-sm-8">
+ <div class="slider-home__content">
+
+ {% if slider.content_object.prices.all.0|floatformat != '0' and slider.content_object.prices.all|length > 0 %}
+ {% for price in slider.content_object.prices.all %}
+ {% if forloop.first %}
+ <div class="article-box__btn">
+ <object><a href="{% url 'event_booking' slider.content_object.slug %}" class="button button--small button--accent mr0">{% trans "Reserve" %}</a></object>
+ </div>
+ {% endif %}
+ {% endfor %}
+ {% endif %}
+
+ <div class="article-box article-box--inline" href="{{ slider.content_object.get_absolute_url }}" title="{{ slider.content_object.title }}">
+
+ <div class="article-box__content tal">
+ <h3 class="article-box__title">{{ slider.content_object.title }}</h3>
+
+ {% if slider.content_type.model == 'article' %}
+ <div class="article-box__tags">
+ {% trans 'News' %}
+ </div>
+ {% elif slider.content_type.model == 'event' %}
+ {% if slider.content_object.category %}
+ <div class="article-box__tags">
+ {{ slider.content_object.category }}
+ </div>
+ {% endif %}
+ {% elif slider.content_type.model == 'media' %}
+ <div class="article-box__tags">
+ {{ slider.content_object|get_media_type }}
+ </div>
+ {% endif %}
+
+ <div class="article-box__subtitle">
+ {% if slider.content_type.model != 'event' %}
+ {{ slider.content_object.sub_title }}
+ {% endif %}
+ {% if slider.content_object.start %}
+ {% with slider.content_object as event %}
+ {% if slider.content_object.sub_title %}
+ <br />
+ {% endif %}
+ {% include 'agenda/includes/event_date_slider.html' %}
+ {% endwith %}
+ {% endif %}
+ {% if slider.content_object.location %}
+ <br /><span>{{ slider.content_object.location }}</span>
+ {% endif %}
+ </div>
+ <div class="article-box__desc">
+ {{ slider.content_object.description|richtext_filters|safe|truncatechars_html:200 }}
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </a>
+ </div>
+ </div>
+ </li>
+ {% endif %}
+ {% endwith %}
+
+ {% endfor %}
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+{% endif %}
+
+{% load i18n pages_tags mezzanine_tags media_tags organization_tags %}
+<div class="container hide-from-sm">
+ <div class="row">
+ <div class="col-sm-12 col-sm-push-2 tac">
+ <div class="row">
+ {% for slider in home.dynamiccontenthomeslider_set.all %}
+ {% with slider.content_object.images.all|get_type:'slider' as images %}
+ {% if images %}
+ <div class="col-xs-8">
+ {% if slider.content_type.model == "brief" %}
+ {% include "magazine/brief/inc/brief_card.html" %}
+ {% elif slider.content_type.model == "article" %}
+ {% include "magazine/article/includes/article_card.html" with object=slider.content_object %}
+ {% elif slider.content_type.model == "event" %}
+ {% include "agenda/event/includes/event_card.html" with object=slider.content_object %}
+ {% elif slider.content_type.model == "custompage" %}
+ {% include "pages/page/includes/page_card.html" with object=slider.content_object %}
+ {% elif slider.content_type.model == "media" %}
+ {% include "media/media/includes/media_card.html" with object=slider.content_object %}
+ {% elif slider.content_type.model == "person" %}
+ {% include "network/person/includes/person_card.html" with object=slider.content_object %}
+ {% endif %}
+ </div>
+ {% endif %}
+ {% endwith %}
+ {% endfor %}
+ </div>
+ </div>
+ </div>
+</div>
--- /dev/null
+{% load i18n %}
+
+{# Edit form #}
+<form style="display:none;" class="editable-form" method="post"
+ action="{% url "edit" %}" id="{{ editable_form.uuid }}"
+ {% if editable_form.is_multipart %} enctype="multipart/form-data"{% endif %}>
+ {% csrf_token %}
+ {% for field in editable_form %}
+ <p{% if field.is_hidden %} style="display:none;"{% endif %}>
+ {{ field.label_tag }}<br />{{ field }}{{ field.errors }}
+ {% if field.help_text %}
+ <span class="helptext">{{ field.help_text }}</span>
+ {% endif %}
+ </p>
+ {% endfor %}
+ <input type="submit" value="{% trans "Save" %}" class="btn btn-primary btn-lg">
+ <input type="button" value="{% trans "Cancel" %}" class="btn btn-default btn-lg">
+</form>
+
+{# Original content wrapped in span #}
+<div class="editable-original">{{ original }}</div>
+
+{# Edit link #}
+<a style="visibility:hidden;" class="editable-link" href="#"
+ rel="#{{ editable_form.uuid }}">{% trans "Edit" %}</a>
+
+{# Edit highlight #}
+<div style="visibility:hidden;" class="editable-highlight"></div>
--- /dev/null
+{% load i18n staticfiles %}
+
+{% if has_site_permission %}
+<link rel="stylesheet" href="{% static "mezzanine/css/editable.css" %}">
+{{ richtext_media|safe }}
+<script>
+{% url "fb_browse" as fb_browse_url %}
+{% url "static_proxy" as static_proxy_url %}
+{% get_current_language as LANGUAGE_CODE %}
+window.__filebrowser_url = '{{ fb_browse_url }}';
+window.__toolbar_html = '{{ toolbar|escapejs }}';
+window.__static_proxy = '{{ static_proxy_url }}';
+window.__language_code = '{{ LANGUAGE_CODE }}';
+window.__tinymce_css = '{% static "mezzanine/css/tinymce.css" %}';
+</script>
+<script src="{% static "mezzanine/js/jquery.tools.toolbox.expose.js" %}"></script>
+<script src="{% static "mezzanine/js/jquery.tools.overlay.js" %}"></script>
+<script src="{% static "mezzanine/js/jquery.form.js" %}"></script>
+<script src="{% static "mezzanine/js/editable.js" %}"></script>
+{% endif %}
--- /dev/null
+{% load i18n staticfiles %}
+
+<div id="editable-toolbar" method="POST" action="{% url "admin:logout" %}">
+ {% url "admin:index" as admin_index_url %}
+ {% url "admin:logout" as admin_logout_url %}
+ {% url "logout" as accounts_logout_url %}
+ <a id="editable-toolbar-toggle" href="#"></a>
+ <a href="{{ editable_obj.get_admin_url|default:admin_index_url }}">{% trans "Admin" %}</a>
+ <a href="{{ accounts_logout_url|default:admin_logout_url }}?{{ REDIRECT_FIELD_NAME }}={{ request.path }}">{% trans "Log out" %}</a>
+</div>
+
+<img id="editable-loading" src="{% static "mezzanine/img/loadingAnimation.gif" %}">
+
--- /dev/null
+{% load i18n pages_tags mezzanine_tags staticfiles keyword_tags event_tags organization_tags %}
+
+<div class="footer__content">
+ <div class="container">
+
+ <div class="row">
+
+ <div class="col-xxs-16 col-sm-push-1 col-sm-4 tac">
+
+ <a href="{% url "home" %}" title="{% trans 'Home' %}">
+ {% with host_organization.images|get_type:"logo_footer" as images %}
+ {% if images %}
+ {% with images|first as img %}
+ <img src="{{ MEDIA_URL }}{{ img }}" title="{{ img.title }}" width="243" />
+ {% endwith %}
+ {% endif %}
+ {% endwith %}
+ </a>
+
+ {% if linked_organization_footer %}
+ <div class="tac">
+ <div class="section-title section-title--dark">
+ {% trans "Porté par" %}
+ </div>
+ </div>
+ {% include 'pages/page/includes/linked_organization_footer.html' %}
+ {% endif %}
+
+ </div>
+
+ <div class="col-xxs-16 col-sm-push-1 col-sm-10">
+
+ <div class="row">
+
+ <div class="col-xxs-16">
+
+ <div class="newsletter">
+
+ <div class="row">
+
+ <div class="col-xxs-16 col-xs-7 col-xs-push-1 col-lg-8 col-lg-push-0">
+
+ <div class="newsletter__text">
+ Inscrivez-vous à notre newsletter afin de recevoir les dernières actualités, informations sur les expositions.
+ </div>
+ </div>
+
+ <div class="col-xxs-16 col-xs-7 col-xs-push-1">
+
+ <form method="GET" action="http://public.message-business.com/form/46711/84/form.aspx" target="_blank">
+ <input placeholder="Votre email" class="newsletter__input" type="text" name="formItem-mbtext-email" />
+ <button class="newsletter__button" type="submit"><i class="fa fa-envelope-o"></i></button>
+ </form>
+
+ </div>
+
+ </div>
+
+ </div>
+
+ </div>
+
+ </div>
+
+ <div class="row">
+
+ <div class="col-xxs-8 col-xs-7 col-xs-push-1">
+
+ {% page_menu "pages/menus/footer_vertical.html" %}
+
+ </div>
+
+ <div class="col-xxs-8 col-xs-7 col-xs-push-1 col-lg-6 col-lg-push-2">
+
+ <ul class="nav-footer" role="navigation">
+ {% for link in host_organization.links.all %}
+ <li class="nav-footer__item">
+ <a class="nav-footer__item-link" href="{{ link.url }}" target="_blank" title="{% trans 'Follow us on' %} {{ link.title }}">{{ link.title }}</a>
+ </li>
+ {% endfor %}
+ </ul>
+
+ </div>
+
+ </div>
+
+ </div>
+
+ </div>
+
+ {% comment %}
+ Additional menu
+ {% endcomment %}
+ <div class="row">
+ <div class="col-xxs-16 col-sm-12 col-sm-push-1 tac">
+ {% page_menu "pages/menus/footer_horizontal.html" %}
+ </div>
+ </div>
+
+ {% comment %}
+ Copyright
+ {% endcomment %}
+ <div class="row">
+ <div class="col-xxs-16 col-sm-14 col-sm-push-1 tac fcb mt2">
+ Copyright © {% current_year %} {{ host_organization.name }}. {% trans "All rights reserved" %}.
+ </div>
+ </div>
+
+ </div>
+</div>
--- /dev/null
+{% load mezzanine_tags i18n staticfiles %}
+
+{% compress js %}
+ <script src="{% static "vendors/jquery/jquery.js" %}"></script>
+ <script src="{% static "vendors/overflow.js/js/overflow.js" %}"></script>
+ <script src="{% static "vendors/sticky-kit/jquery.sticky-kit.js" %}"></script>
+ <script src="{% static "vendors/jquery-throttle-debounce/jquery.ba-throttle-debounce.js" %}"></script>
+ <script src="{% static "vendors/lightslider/dist/js/lightslider.js" %}"></script>
+ <script src="{% static "vendors/lightgallery/dist/js/lightgallery.js" %}"></script>
+ <script src="{% static "vendors/imagesloaded/imagesloaded.pkgd.js" %}"></script>
+ <script src="{% static "vendors/pushy/js/pushy.js" %}"></script>
+ <script src="{% static "vendors/video.js/dist/video.js" %}"></script>
+ <script src="{% static "vendors/videojs-playlist/dist/videojs-playlist.js" %}"></script>
+ <script src="{% static "vendors/audiojs/audiojs/audio.js" %}"></script>
+ <script src="{% static "vendors/jquery_lazyload/jquery.lazyload.js" %}"></script>
+ <script src="{% static "vendors/waypoints/lib/jquery.waypoints.js" %}"></script>
+ <script src="{% static "js/water.js" %}"></script>
+ <script src="{% static "js/index.min.js" %}"></script>
+{% block extra_js %}{% endblock %}
+{% editable_loader %}
+{% endcompress %}
+
+{% if settings.GOOGLE_ANALYTICS_ID and not request.user.is_staff and not settings.DEBUG %}
+<script>
+(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
+(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
+m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
+})(window,document,'script','//www.google-analytics.com/analytics.js','ga');
+ga('create', '{{ settings.GOOGLE_ANALYTICS_ID }}', 'auto');
+ga('send', 'pageview');
+</script>
+{% endif %}
--- /dev/null
+{% load i18n %}
+
+{% if form.non_field_errors or form.errors %}
+<div class="form-errors">
+ {% for error in form.non_field_errors %}
+ <div class="alert alert-danger non-field-error">{{ error }}</div>
+ {% empty %}
+ <div class="alert alert-danger field-error">{% trans "Please correct the errors below." %}</div>
+ {% endfor %}
+</div>
+{% endif %}
--- /dev/null
+{% load mezzanine_tags %}
+
+{% nevercache %}
+<input type="hidden" name="referrer" value="{{ request.META.HTTP_REFERER }}">
+{% csrf_token %}
+{% endnevercache %}
+
+{% for field in form_for_fields %}
+{% if field.is_hidden %}
+{{ field }}
+{% else %}
+<div class="form-group input_{{ field.id_for_label }} {{ field.field.type }}
+ {% if field.errors %} has-error{% endif %}">
+ <p>
+ {% if field.label %}<label class="control-label" for="{{ field.auto_id }}">{{ field.label }}</label>{% endif %}
+ {% if field.help_text %}
+ <span class="help-block">{{ field.help_text }}</span>
+ {% endif %}
+ {{ field }}
+ </p>
+ {% if field.errors %}
+ <p class="help-block">
+ {% for e in field.errors %}
+ {% if not forloop.first %} / {% endif %}{{ e }}
+ {% endfor %}
+ </p>
+ {% endif %}
+</div>
+{% endif %}
+{% endfor %}
--- /dev/null
+{% load mezzanine_tags i18n staticfiles %}
+
+<h1 id="headings">Headings</h1>
+
+<h1>Heading 1</h1>
+<h2>Heading 2</h2>
+<h3>Heading 3</h3>
+<h4>Heading 4</h4>
+<h5>Heading 5</h5>
+<h6>Heading 6</h6>
+
+<hr />
+
+<h1 id="headings-with-text">Headings with Text</h1>
+
+<h1>Heading 1</h1>
+<p>Lorem ipsum dolor sit amet, adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl.</p>
+<h2>Heading 2</h2>
+<p>Lorem ipsum dolor sit amet, adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl.</p>
+<h3>Heading 3</h3>
+<p>Lorem ipsum dolor sit amet, adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl.</p>
+<h4>Heading 4</h4>
+<p>Lorem ipsum dolor sit amet, adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl.</p>
+<h5>Heading 5</h5>
+<p>Lorem ipsum dolor sit amet, adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl.</p>
+<h6>Heading 6</h6>
+<p>Lorem ipsum dolor sit amet, adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl.</p>
+
+<hr />
+
+<h1 id="text-block">Block Elements</h1>
+
+<h2 id="paragraph">Paragraphs and Images</h2>
+
+<p>Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do eiusmod tempor incididunt ut labore et dolore magna aliqua. Ut enim ad minim veniam, quis nostrud exercitation ullamco laboris nisi ut aliquip ex ea commodo consequat. Duis aute irure dolor in reprehenderit in voluptate velit esse cillum dolore eu fugiat nulla pariatur. Excepteur sint occaecat cupidatat non proident, sunt in culpa qui officia deserunt mollit anim id est laborum.</p>
+<p>Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl. Praesent mattis, massa quis luctus fermentum, turpis mi volutpat justo, eu volutpat enim diam eget metus. Maecenas ornare tortor.</p>
+
+<p><img alt="Placeholder Image and Some Alt Text" src="http://placehold.it/350x150" title="A title element for this placeholder image."></p>
+
+<p>Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem.</p>
+
+<h2 id="blockquote">Blockquote</h2>
+
+<p>This is a standard paragraph. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</p>
+<blockquote>
+ "<strong>This is a blockquote.</strong> Lorem ipsum dolor sit amet, consectetuer adipiscing elit. Nullam dignissim convallis est. Quisque aliquam. Donec faucibus. Nunc iaculis suscipit dui. Nam sit amet sem. Aliquam libero nisi, imperdiet at, tincidunt nec, gravida vehicula, nisl."
+</blockquote>
+<p>This is a standard paragraph. Lorem ipsum dolor sit amet, consectetuer adipiscing elit.</p>
+
+<h2 id="figure-caption">Figure-Caption</h2>
+
+<figure>
+ <img src="http://placehold.it/350x150" alt="A placeholder figure image." />
+ <figcaption>The figcaption element example</figcaption>
+</figure>
+
+<h2 id="details-summary">Details-Summary</h2>
+
+<details>
+ <summary>The summary element example</summary>
+ <p>The details example text. It may be styled differently based on what browser or operating system you are using.</p>
+</details>
+
+<hr />
+
+<h1 id="text-elements"> Text Elements</h1>
+
+<p>The <a href="#">a element</a> and <a href="http://example.com" target="_blank">external a element</a> examples</p>
+<p>The <abbr>abbr element</abbr> and an <abbr title="Abbreviation">abbr</abbr> element with title examples</p>
+<p>The <acronym title="A Cowboy Ran One New York Marathon">ACRONYM</acronym> element example</p>
+<p>The <b>b element</b> example</p>
+<p>The <cite>cite element</cite> example</p>
+<p>The <code>code element</code> example</p>
+<p>The <data value="3967381398">data element</data> example</p>
+<p>The <del>del element</del> example</p>
+<p>The <dfn>dfn element</dfn> and <dfn title="Title text">dfn element with title</dfn> examples</p>
+<p>The <em>em element</em> example</p>
+<p>The <i>i element</i> example</p>
+<p>The <ins>ins element</ins> example</p>
+<p>The <kbd>kbd element</kbd> example</p>
+<p>The <mark>mark element</mark> example</p>
+<p>The <q>q element</q> example</p>
+<p>The <q>q element <q>inside</q> a q element</q> example</p>
+<p>The <s>s element</s> example</p>
+<p>The <samp>samp element</samp> example</p>
+<p>The <small>small element</small> example</p>
+<p>The <span>span element</span> example</p>
+<p>The <strong>strong element</strong> example</p>
+<p>The <sub>sub element</sub> example</p>
+<p>The <sup>sup element</sup> example</p>
+<p>The <time datetime="2005-05-15 19:00">time element</time> example</p>
+<p>The <u>u element</u> example</p>
+<p>The <var>var element</var> example</p>
+
+<hr />
+
+<h1 id="monospace">Monospace / Preformatted</h1>
+<p>Code block wrapped in "pre" and "code" tags</p>
+<pre><code>// Loop through Divs using Javascript.
+var divs = document.querySelectorAll('div'), i;
+
+for (i = 0; i < divs.length; ++i) {
+ divs[i].style.color = "green";
+}</code></pre>
+<p>Monospace Text wrapped in "pre" tags</p>
+
+<hr />
+
+<h1 id="list-types">List Types</h1>
+
+<h2 id="ordered-list">Ordered List</h2>
+<ol>
+ <li>List Item 1</li>
+ <li>List Item 2</li>
+ <li>List Item 3
+ <ol>
+ <li>List Item 3.1</li>
+ <li>List Item 3.2
+ <ol>
+ <li>List Item 3.2.1</li>
+ <li>List Item 3.2.2</li>
+ </ol>
+ </li>
+ <li>List Item 3.3</li>
+ </ol>
+ </li>
+ <li>List Item 4</li>
+</ol>
+
+<h2 id="unordered-list">Unordered List</h2>
+<ul>
+ <li>List Item 1</li>
+ <li>List Item 2</li>
+ <li>List Item 3
+ <ul>
+ <li>List Item 3.1</li>
+ <li>List Item 3.2
+ <ul>
+ <li>List Item 3.2.1</li>
+ <li>List Item 3.2.2</li>
+ </ul>
+ </li>
+ <li>List Item 3.3</li>
+ </ul>
+ </li>
+ <li>List Item 4</li>
+</ul>
+
+<h2 id="definition-list">Definition List</h2>
+<dl>
+ <dt>Definition Term 1</dt>
+ <dd>Definition Description 1</dd>
+ <dt>Definition Term 2</dt>
+ <dd>Definition Description 2</dd>
+</dl>
+
+<hr />
+
+<h1 id="tables">Tables</h1>
+
+<table cellspacing="0" cellpadding="0">
+ <caption>This is a table caption</caption>
+ <thead>
+ <tr>
+ <th>Table Header 1</th><th>Table Header 2</th><th>Table Header 3</th>
+ </tr>
+ </thead>
+ <tbody>
+ <tr>
+ <td>Division 1</td><td>Division 2</td><td>Division 3</td>
+ </tr>
+ <tr class="even">
+ <td>Division 1</td><td>Division 2</td><td>Division 3</td>
+ </tr>
+ <tr>
+ <td>Division 1</td><td>Division 2</td><td>Division 3</td>
+ </tr>
+ <tr>
+ <td colspan="3">A row with a cell spanning all 3 columns</td>
+ </tr>
+ </tbody>
+ <tfoot>
+ <tr>
+ <th>Table Footer 1</th><th>Table Footer 2</th><th>Table Footer 3</th>
+ </tr>
+ </tfoot>
+</table>
+
+<hr />
+
+<h1 id="media-elements">Media</h1>
+
+<h2>The Audio Element:</h2>
+<audio controls>
+ <source src="http://www.w3schools.com/tags/horse.ogg" type="audio/ogg" />
+ <source src="http://www.w3schools.com/tags/horse.mp3" type="audio/mpeg" />
+ Your browser does not support the audio element.
+</audio>
+
+<h2>The Video Element:</h2>
+<video width="320" height="240" controls>
+ <source src="http://www.w3schools.com/tags/movie.mp4" type="video/mp4" />
+ <source src="http://www.w3schools.com/tags/movie.ogg" type="video/ogg" />
+ Your browser does not support the video tag.
+</video>
+
+<h2>Embedded content:</h2>
+<p>YouTube video (iframe):</p>
+<iframe width="560" height="315" src="http://www.youtube.com/embed/l4f9QF0SGuQ" frameborder="0" allowfullscreen></iframe>
+
+<hr />
+
+<h1 id="form-elements">Form Elements</h1>
+
+<p>The Fieldset:</p>
+<fieldset>
+ <legend>Legend</legend>
+
+ <p>The Form:</p>
+
+ <form>
+ <p><label for="text_field">Text Field:</label><br />
+ <input type="text" id="text_field" />
+ </p>
+
+ <p><label for="text_field_disabled">Disabled Text Field:</label><br />
+ <input type="text" id="text_field_disabled" disabled value="I'm disabled" />
+ </p>
+
+ <p><label for="text_field_readonly">Readonly Text Field:</label><br />
+ <input type="text" id="text_field_readonly" readonly value="I'm readonly" />
+ </p>
+
+ <p><label for="text_area">Text Area:</label><br />
+ <textarea id="text_area"></textarea>
+ </p>
+
+ <p><label for="text_area_disabled">Disabled Text Area:</label><br />
+ <textarea id="text_area_disabled" disabled>I'm disabled</textarea>
+ </p>
+
+ <p><label for="text_area">Readonly Text Area:</label><br />
+ <textarea id="text_area" readonly>I'm readonly</textarea>
+ </p>
+
+ <p><label for="select_element">Select Element:</label><br />
+ <select id="select_element">
+ <optgroup label="Option Group 1">
+ <option value="1">Option 1</option>
+ <option value="2">Option 2</option>
+ </optgroup>
+ <optgroup label="Option Group 2">
+ <option value="1">Option 1</option>
+ <option value="2">Option 2</option>
+ <option value="3" disabled>Disabled Option</option>
+ </optgroup>
+ </select>
+ </p>
+
+ <p><label for="select_element_disabled">Disabled Select Element:</label><br/>
+ <select id="select_element_disabled" disabled>
+ <option value="1">Unselectable Option</option>
+ <option value="2">This option should not even be seen</option>
+ </select>
+ </p>
+
+ <p>Radio Buttons:<br />
+ <label><input type="radio" class="radio" name="radio_button" value="radio_1" /> Radio 1</label><br/>
+ <label><input type="radio" class="radio" name="radio_button" value="radio_2" /> Radio 2</label><br/>
+ <label><input type="radio" class="radio" name="radio_button" value="radio_3" /> Radio 3</label><br/>
+ <label><input type="radio" class="radio" name="radio_button" value="radio_4" disabled /> Radio Disabled</label><br/>
+ </p>
+
+ <p>Checkboxes:<br />
+ <label><input type="checkbox" class="checkbox" name="checkboxes" value="check_1" /> Checkbox 1</label><br/>
+ <label><input type="checkbox" class="checkbox" name="checkboxes" value="check_2" /> Checkbox 2</label><br/>
+ <label><input type="checkbox" class="checkbox" name="checkboxes" value="check_3" /> Checkbox 3</label><br/>
+ <label><input type="checkbox" class="checkbox" name="checkboxes" value="check_4" disabled /> Checkbox Disabled</label><br/>
+ </p>
+
+ <p><label for="password">Password:</label><br />
+ <input type="password" class="password" id="password" />
+ </p>
+
+ <p><label for="file">File Input:</label><br />
+ <input type="file" class="file" id="file" />
+ </p>
+
+ <h3>HTML5-specific Form Elements</h3>
+
+ <p><label for="email">Email:</label><br />
+ <input type="email" id="email" />
+ </p>
+
+ <p><label for="url">URL:</label><br />
+ <input type="url" id="url" />
+ </p>
+
+ <p><label for="tel">Telephone:</label><br />
+ <input type="tel" id="tel" />
+ </p>
+
+ <p><label for="number">Number:</label><br />
+ <input type="number" id="number" min="0" max="10" step="1" value="5" />
+ </p>
+
+ <p><label for="search">Search:</label><br />
+ <input type="search" id="search" />
+ </p>
+
+ <p><label for="date">Date:</label><br />
+ <input type="date" id="date" />
+ </p>
+
+ <p><label for="time">Time:</label><br />
+ <input type="time" id="time" />
+ </p>
+
+ <p><label for="color">Color:</label><br />
+ <input type="color" id="color" />
+ </p>
+
+ <p><label for="datalist">Datalist:</label><br />
+ <input list="browsers" name="browser" type="datalist" id="datalist" />
+ <datalist id="browsers">
+ <option value="Internet Explorer" />
+ <option value="Firefox" />
+ <option value="Chrome" />
+ <option value="Opera" />
+ <option value="Safari" />
+ </datalist>
+ </p>
+
+ <p><label for="range">Range:</label><br />
+ <input type="range" id="range" name="points" min="1" max="10" />
+ </p>
+
+ <p><label for="output">Output:</label><br />
+ <output name="result" id="output">42</output>
+ </p>
+
+ <p><label for="progress">Progress:</label><br />
+ <progress id="progress" value="65" max="100"></progress>
+ </p>
+
+ <p><label for="meter">Meter:</label><br />
+ <meter id="meter" min="200" max="500" value="350">350 degrees</meter>
+ </p>
+
+ <p>
+ <button class="button">Button Element</button>
+ <input class="button" type="reset" value="Clear" />
+ <input class="button" type="submit" value="Submit" />
+ </p>
+ </form>
+</fieldset>
--- /dev/null
+{% load instagram_client %}
+
+{% instagram_user_recent_media ircam_paris %}
+
+<div class="instagram">
+ {% for media in recent_media|slice:"6" %}
+ <a class="instagram__item" href="http://instagram.com/p/{{media.code}}" target="_blank" title="{{ media.caption }}">
+ <img src="{{ media.thumbnail_src }}"/>
+ <span>{{ media.caption }}</span>
+ </a>
+ {% endfor %}
+</div>
--- /dev/null
+{% load i18n %}
+{% get_language_info_list for LANGUAGES as languages %}
+{% if settings.USE_MODELTRANSLATION and languages|length > 1 %}
+<div style="display: none;">
+ <form action="{% url "set_language" %}" method="post" id="language_selector_form" hidden="true">
+ {% csrf_token %}
+ <div class="select">
+ <select name="language" class="form-control" id="language_selector_select">
+ {% for language in languages %}
+ <option value="{{ language.code }}"
+ {% if language.code == LANGUAGE_CODE %}selected="selected"{% endif %}>
+ {{ language.name_local }}
+ </option>
+ {% endfor %}
+ </select>
+ </div>
+ <input type="submit" class="btn btn-default" value="{% trans "Change" %}" />
+ </form>
+</div>
+{% endif %}
--- /dev/null
+{% load i18n pages_tags mezzanine_tags staticfiles keyword_tags event_tags organization_tags %}
+{% if settings.USE_MODELTRANSLATION and languages|length > 1 %}
+ {% nevercache %}
+ {% include "includes/language_selector.html" %}
+ {% endnevercache %}
+ {% for language in languages %}
+ <a data-lang="{{ language.code }}" href="#" class="nav-header__item-link nav-header__item-link--no-dot {% if language.code == LANGUAGE_CODE %} active{% endif %}">{{ language.code|title }}</a>
+ {% endfor %}
+{% endif %}
--- /dev/null
+{% load i18n %}
+
+{% if current_page.has_previous or current_page.has_next %}
+<div class="container">
+ <div class="row">
+ <div class="col-md-10 col-md-push-3">
+ <ul class="pagination">
+
+ {% if current_page.has_previous %}
+ <li class="pagination__item">
+ <a class="pagination__link"{% if current_page.has_previous %} href="?{{ page_var }}={{ current_page.previous_page_number }}{% if querystring %}&{{ querystring }}{% endif %}"{% endif %}>
+ {% trans 'Previous page' %}
+ </a>
+ </li>
+ {% endif %}
+
+ {% for page in current_page.visible_page_range %}
+ <li class="pagination__item">
+ <a class="pagination__link{% if page == current_page.number %} active{% endif %}" href="?{{ page_var }}={{ page }}{% if querystring %}&{{ querystring }}{% endif %}">{{ page }}</a>
+ </li>
+ {% endfor %}
+
+ {% if current_page.has_next %}
+ <li class="pagination__item">
+ <a class="pagination__link"{% if current_page.has_next %} href="?{{ page_var }}={{ current_page.next_page_number }}{% if querystring %}&{{ querystring }}{% endif %}"{% endif %}>
+ {% trans 'Next page' %}
+ </a>
+ </li>
+ {% endif %}
+
+ </ul>
+ </div>
+ </div>
+</div>
+{% endif %}
--- /dev/null
+{% load mezzanine_tags i18n %}
+<div class="search" id="search" data-open-button-target="search" data-close-button-target="search" data-close-escape>
+ <a href="#" data-close-button="search" class="search__close">
+ </a>
+ <div class="search__container">
+ <div class="search__content">
+ <div class="container">
+ <div class="row">
+ <div class="col-md-10">
+ <form action="{% url "search" %}" role="search" class="search-form">
+ <input class="form-control" placeholder="{% trans "Type something" %}" type="text" name="q" value="">
+ <button type="submit">
+ <i class="fa fa-search" aria-hidden="true"></i>
+ </button>
+ </form>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
--- /dev/null
+{% load i18n event_tags %}
+
+<ul class="share-links">
+ <li class="share-links__item share-links__item--facebook">
+ <a target="_blank" href="http://facebook.com/sharer.php?u={{ request.build_absolute_uri }}&t={{ object.title|urlencode }}" title="{% trans "Share on Facebook" %}"><i class="fa fa-facebook-square"></i></a>
+ </li>
+ <li class="share-links__item share-links__item--twitter">
+ <a target="_blank" href="http://twitter.com/home?status={{ object.title|urlencode }}%20{{ request.build_absolute_uri }}" title="{% trans "Share on Twitter" %}"><i class="fa fa-twitter-square"></i></a>
+ </li>
+ <li class="share-links__item share-links__item--email">
+ <a href="mailto:?subject={{ object.title }}&body={{ request.build_absolute_uri }}" title="{% trans "Share by email" %}"> <i class="fa fa-envelope-square"></i></a>
+ </li>
+ <li class="share-links__item share-links__item--print">
+ <a href="javascript:window.print()" title="{% trans "Print this page" %}"><i class="fa fa-print"></i></a>
+ </li>
+ {% if is_event %}
+ <li class="share-links__item">
+ <a href='{{ event|google_calendar_url }}' target="_blank" title="{% trans "Add to" %} Google Calendar">
+ <i class="fa fa-google"></i>
+ </a>
+ </li>
+ <li class="share-links__item">
+ <a href='{% icalendar_url %}' class="push__calendar__item" title="{% trans "Add to" %} Outlook/iCal">
+ <i class="fa fa-calendar"></i>
+ </a>
+ </li>
+ {% endif %}
+</ul>
--- /dev/null
+{% load i18n pages_tags mezzanine_tags staticfiles keyword_tags event_tags %}
+
+<div class="sidebar">
+
+ {% page_menu "pages/menus/header.html" %}
+
+</div>
--- /dev/null
+{% load i18n event_tags mezzanine_tags %}
+{% comment %}
+<div class="hero__slider">
+ <ul id="lightSlider">
+ {% featured_events as events %}
+ {% for event in events %}
+ <li class="hero__slider__item" style="background-image: url({{ MEDIA_URL }}{% thumbnail event.featured_image_header 1920 0 %});">
+ <div class="hero__slider__infos">
+ <div class="container">
+ <p class="hero__slider__name">
+ <a href="{{ event.get_absolute_url }}">{{ event.title }}</a>
+ </p>
+ {% include "agenda/includes/event_metainfo_slider.html" %}
+ </div>
+ </div>
+ </li>
+ {% endfor %}
+ </ul>
+</div>
+{% endcomment %}
--- /dev/null
+{% load i18n pages_tags mezzanine_tags staticfiles keyword_tags event_tags organization_tags %}
+
+<div class="section container">
+ <div class="row">
+ <div class="col-sm-8 tac">
+ <div class="section-title section-title--uppercase section-title--underline section-title--accent">
+ {% trans "Instagram feed" %} <a class="fcw" href="https://www.instagram.com/explore/tags/ircam/" target="_blank">#ircam</a>
+ </div>
+ <div>
+ {% include "includes/instagram.html" %}
+ </div>
+ </div>
+ <div class="col-sm-6 col-sm-push-1 tac">
+ <div class="section-title section-title--uppercase section-title--underline section-title--main">
+ {% trans "Twitter feed" %}
+ </div>
+ <div>
+ {% include "twitter/tweets.html" %}
+ </div>
+ </div>
+ </div>
+</div>
--- /dev/null
+{% load i18n %}
+
+<div class="twitter-panel">
+ <h2 class="sidebar__title">Twitter</h2>
+ <a class="twitter-timeline" href="https://twitter.com/hashtag/manifeste16" data-widget-id="717023136743616512">Â </a>
+ <script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
+</div>
\ No newline at end of file
--- /dev/null
+{% load mezzanine_tags %}
+<div class="panel panel-default user-panel">
+ <div class="panel-body">
+ {% ifinstalled cartridge.shop %}
+ {% include "shop/includes/user_panel.html" %}
+ {% endifinstalled %}
+ {% ifinstalled mezzanine.accounts %}
+ {% ifinstalled cartridge.shop %}<br>{% endifinstalled %}
+ {% include "accounts/includes/user_panel.html" %}
+ {% endifinstalled %}
+ </div>
+</div>
-{% extends "base.html" %}
+{% extends "starts_eu/base.html" %}
{% load i18n pages_tags mezzanine_tags %}
{% block meta_title %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
+
+{% block meta_title %}{% trans "Candidacies" %}{% endblock %}
+
+{% block meta_description %}{% metablock %}
+{{ candidacy.description }}
+{% endmetablock %}{% endblock %}
+
+{% block breadcrumb_menu %}
+ {{block.super}}
+ <li class="breadcrumb__item active">
+ {% trans "Candidacies" %}
+ </li>
+{% endblock %}
+
+{% block page_class %}
+ candidacy
+{% endblock %}
+
+{% block page_title %}
+ <h1 class="dotted">{% trans "Candidacies" %}</h1>
+{% endblock %}
+
+{% block page_content %}
+
+ {% if candidacy %}
+
+ {% for content in candidacy %}
+ {% include "job/inc/candidacy_card.html" %}
+ {% endfor %}
+
+ {% else %}
+
+ <p>{% trans "Please come back later. There is no candidacy at the moment." %}</p>
+
+ {% endif %}
+
+{% endblock %}
--- /dev/null
+{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
+<div class="job-line-box job-line-box--candidacy">
+
+ <div class="row">
+ <div class="col-lg-3 col-md-3 col-sm-3 col-xs-3 tac">
+
+ {% with content.images.all|get_type:'card' as images %}
+ {% if images %}
+ <img class="job-line-box__image" src="{{ MEDIA_URL }}{% thumbnail images.first 150 150 %}" alt="{{ content.title }}">
+ {% endif %}
+ {% endwith %}
+
+ </div>
+ <div class="col-lg-9 col-md-9 col-sm-9 col-xs-9">
+ {% editable content.title %}
+ <h2 class="job-line-box__title">{{ content.title }}</h2>
+ {% endeditable %}
+
+ <div class="job-line-box__desc">
+ {% editable content.date_from content.date_to %}
+ {% if content.date_from and content.date_to %}
+ <strong>{% trans "From" %} {{ content.date_from|date:"DATE_FORMAT" }} {% trans "to" %} {{ content.date_to|date:"DATE_FORMAT" }}</strong><br/>
+ {% elif content.date_from %}
+ <strong>{% trans "From" %} {{ content.date_from|date:"DATE_FORMAT" }}</strong><br/>
+ {% elif content.date_to %}
+ <strong>{% trans "until" %}{{ content.date_to|date:"DATE_FORMAT" }}</strong><br/>
+ {% endif %}
+ {% endeditable %}
+ <br />
+ {% editable content.description %}
+ {{ content.description|safe }}
+ {% endeditable %}
+ </div>
+ {% if content.external_content and content.text_button_external %}
+ <a class="button button--small" href="{{ content.external_content }}" title="{{ content.text_button_external }}">{{ content.text_button_external }}</a>
+ {% endif %}
+ {% if content.content_object and content.text_button_internal %}
+ <a class="button button--small" href="{{ content.content_object.get_absolute_url }}" title="{{ content.text_button_internal }}">{{ content.text_button_internal }}</a>
+ {% endif %}
+
+ </div>
+ </div>
+
+</div>
--- /dev/null
+{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
+<div class="job-line-box">
+ {% if jo.type %}
+ <div class="tag tag--small tag--category">
+ {% editable jo.type %}
+ {{jo.type}}
+ {% endeditable %}
+ </div>
+ {% endif %}
+ <a href="{{ jo.get_absolute_url }}">
+ <h2 class="job-line-box__title">
+ {{ jo.title }}
+ </h2>
+ </a>
+ <div class="job-line-box__desc">
+ {% if jo.type %}
+ <strong>{% trans 'Published on' %} {{ jo.publish_date|date:"DATE_FORMAT" }}</strong><br />
+ {% endif %}
+ {% editable jo.description %}
+ {{ jo.description|slice:":255" }}
+ {% endeditable %}
+ </div>
+ <a href="{{ jo.get_absolute_url }}" class="button button--small">{% trans "View" %}</a>
+</div>
--- /dev/null
+<form class="form" action="" method="post" enctype="multipart/form-data">{% csrf_token %}
+ {{ form.as_p }}
+ <input type="submit" value="Send message" />
+</form>
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load mezzanine_tags keyword_tags i18n organization_tags %}
+
+{% block breadcrumb_menu %}
+
+ {{ block.super }}
+ <li class="breadcrumb__item active">{{ job_offer.title }}</li>
+
+{% endblock %}
+
+{% block page_title %}
+
+ {% editable job_offer.title %}
+ <h1 class="dotted">{{ job_offer.title }}</h1>
+ {% endeditable %}
+
+{% endblock %}
+
+{% block page_content %}
+
+ {% include "core/inc/messages.html" %}
+
+ {% comment %}
+ <p>{% trans "Category" %} : {{ job_offer.type }}</p>
+ {% endcomment %}
+ {% editable job_offer.content %}
+ {{ job_offer.content|richtext_filters|safe }}
+ {% endeditable %}
+
+
+ {% with form as job_offer.job_response %}
+ {% include "job/inc/job_response_form.html" %}
+ {% endwith %}
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
+
+{% block meta_title %}{% trans "Jobs" %}{% endblock %}
+
+{% block meta_description %}{% metablock %}
+{{ job_offer.description }}
+{% endmetablock %}{% endblock %}
+
+{% block page_class %}
+ job_offer
+{% endblock %}
+
+{% block page_title %}
+ <h1 class="dotted">{% trans "Jobs" %}</h1>
+{% endblock %}
+
+{% block page_content %}
+
+ {% if job_offer %}
+
+ {% for jo in job_offer %}
+ {% include "job/inc/job_offer_card.html" %}
+ {% endfor %}
+
+ {% else %}
+
+ <p>{% trans "Please come back later. There is no job offer at the moment." %}</p>
+
+ {% endif %}
+
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load mezzanine_tags keyword_tags i18n organization_tags %}
+
+{% block meta_title %}{{ article.meta_title }}{% endblock %}
+
+{% block meta_keywords %}{% metablock %}
+{% keywords_for article as tags %}
+{% for tag in tags %}{% if not forloop.first %}, {% endif %}{{ tag }}{% endfor %}
+{% endmetablock %}{% endblock %}
+
+{% block meta_description %}{% metablock %}
+ {{ article.description }}
+{% endmetablock %}{% endblock %}
+
+{% block page_class %}
+ article
+{% endblock %}
+
+{% block body_class %}
+ {% if department_weaving_css_class %}
+ pattern pattern-bg {{ department_weaving_css_class }}
+ {% endif %}
+{% endblock %}
+
+{% block page_title %}
+
+ {% editable article.title %}
+ <h1 class="section-title section-title--uppercase section-title--main">{{ article.title }}</h1>
+ {% endeditable %}
+
+ {% if article.sub_title %}
+ {% editable article.sub_title %}
+ <div class="chapo">
+ {{ article.sub_title }}
+ </div>
+ {% endeditable %}
+ {% endif %}
+
+{% endblock %}
+
+{% block page_content %}
+
+ {% if article.content %}
+ {% editable article.content %}
+ {{ article.content|richtext_filters|safe }}
+ {% endeditable %}
+ {% endif %}
+
+{% endblock %}
+
+{% block page_slider %}
+ {% with article.images.all|get_type:'page_slider' as slider_images %}
+ {% if slider_images %}
+ {% include 'core/inc/slider.html' %}
+ {% endif %}
+ {% endwith %}
+{% endblock %}
+
+{% block page_audio %}
+ {{ block.super }}
+{% endblock %}
+
+{% block page_video %}
+ {{ block.super }}
+{% endblock %}
+
+{% block page_person_list %}
+ {% for article_custom_person_list_block_inline in article.article_person_list_block_inlines.all %}
+ {% with article_custom_person_list_block_inline.person_list_block as person_list_block %}
+ {% with "network/inc/person/list_"|add:person_list_block.style|add:"_style.html" as template %}
+ {% include template %}
+ {% endwith %}
+ {% endwith %}
+ {% endfor %}
+{% endblock %}
+
+{% block page_related_content %}
+ {% include "core/inc/related_content_dynamic.html" with concrete_objects=related_content object=article %}
+{% endblock %}
+
+{% block page_sidebar %}
+
+ <div class="page__meta" data-sticky data-sticky-parent="row" data-sticky-offset="100" data-sticky-detach-at="1171">
+ <div class="page__meta-title">
+ {% trans 'Publish date' %}
+ </div>
+ {% editable article.publish_date %}
+ <div class="page__meta-text">
+ {{ article.publish_date|date:"DATE_FORMAT" }}
+ </div>
+ {% endeditable %}
+
+ <div class="page__meta-separator">
+
+ </div>
+
+ {% if article.categories.all|length > 0 %}
+ <div class="page__meta-title">
+ {% for category in article.categories.all %}
+ {% if not forloop.first %}, {% endif %}
+ <strong>{{ category }}</strong>
+ {% endfor %}
+ </div>
+ {% endif %}
+
+ {% with article as object %}
+ <div class="mt2">
+ {% include "includes/share_buttons.html" %}
+ </div>
+ {% endwith %}
+ </div>
+
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load i18n future mezzanine_tags event_tags keyword_tags disqus_tags organization_tags staticfiles pages_tags %}
+
+{% block meta_title %}
+ {% if page %}
+ {{ page.title }}
+ {% else %}
+ {% trans "News" %}
+ {% endif %}
+{% endblock %}
+
+{% block meta_keywords %}
+ {% metablock %}
+ {% keywords_for page as keywords %}
+ {% for keyword in keywords %}
+ {% if not forloop.first %}, {% endif %}
+ {{ keyword }}
+ {% endfor %}
+ {% endmetablock %}
+{% endblock %}
+
+{% block meta_description %}
+ {% metablock %}
+ {{ page.description }}
+ {% endmetablock %}
+{% endblock %}
+
+{% block main %}
+<div class="page page--{% spaceless %}{% block page_class %}{% endblock %}{% endspaceless %}">
+ <div class="container">
+ <div class="row">
+ <div class="col-sm-16 col-md-10 col-md-push-3 tac">
+ <h1 class="section-title section-title--uppercase section-title--main section-title--underline">{% trans "News" %}</h1>
+ </div>
+ </div>
+
+ <div class="row">
+
+ <div class="mb2 col-md-12 col-md-push-2 page__content" data-summary-content>
+ <div class="page__content">
+ <div class="container">
+ <div class="row">
+ {% for object in objects %}
+ <div class="col-xs-8">
+ {% with app_label=object|app_label_short classname=object|classname|lower %}
+ {% with app_label|add:"/"|add:classname|add:"/includes/"|add:classname|add:"_card.html" as template %}
+ {% include template %}
+ {% endwith %}
+ {% endwith %}
+ </div>
+ {% endfor %}
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ {% pagination_for objects %}
+</div>
+
+{% endblock %}
--- /dev/null
+{% extends "core/inc/generic_card.html" %}
+{% load i18n pages_tags mezzanine_tags media_tags organization_tags %}
+
+{% block metatitle %}
+ {{ object.title }}
+{% endblock %}
+
+{% block title %}
+ {{ object.title }}
+{% endblock %}
+
+{% block url %}
+ {% if object.content|removetags:"p div"|slice:':4' == 'http' %}
+ {{ object.content|removetags:"p div" }}
+ {% else %}
+ {% url 'magazine-article-detail' object.slug %}
+ {% endif %}
+{% endblock %}
+
+{% block target %}
+ {% if object.content|removetags:"p div"|slice:':4' == 'http' %}target="_blank"{% endif %}
+{% endblock %}
+
+{% block image %}
+ {% with object.images.all|get_type:'card' as images %}
+ <div class="article-box__image-container">
+
+ {% if images %}
+ <figure class="article-box__image">
+ <img src="{{ MEDIA_URL }}{% thumbnail images.0.file 427 286 top=0.5 left=object.photo_alignment|get_photo_alignment %}" class="lazyload" />
+ </figure>
+ {% else %}
+ <figure class="article-box__image">
+ {% if object.department %}
+ <div class="article-box__placeholder {{object.department.name|slugify}}"></div>
+ {% else %}
+ <div class="article-box__placeholder"></div>
+ {% endif %}
+ </figure>
+ {% endif %}
+
+ </div>
+ {% endwith %}
+{% endblock %}
+
+{% block content %}
+ {{ object.description|richtext_filters|safe|truncatechars_html:200 }}
+{% endblock %}
+
+{% block tags %}
+ {% comment %}
+ {{ object.publish_date|date:"DATE_FORMAT" }}
+ {% endcomment %}
+ {% for category in object.categories.all %}
+ {% comment %}{% if forloop.first %} | {% endif %}{% endcomment %}
+ {% if not forloop.first %}, {% endif %}
+ {{ category }}
+ {% endfor %}
+{% endblock %}
--- /dev/null
+{% load i18n pages_tags mezzanine_tags %}
+<div class="brief__item {% if not on_home %}msry__item {% endif %}">
+ <div class="brief__item__inner">
+ <a target="_blank" href="{{ brief.external_content}}" class="brief__item__inner">
+ {% if brief.featured_image %}
+ <figure class="brief__item__img">
+ <img src="{{ MEDIA_URL }}{% thumbnail brief.featured_image 500 0 %}" alt="brief: {{ brief.title }}">
+ </figure>
+ {% endif %}
+ <h3 class="brief__item__name">
+ <span>
+ {{ brief.title }}
+ </span>
+ </h3>
+ <p>
+ {{ brief.description }}
+ </p>
+
+ </a>
+ <a href="{{ brief.external_content}}" class="btn btn-full">{{ brief.text_button }}</a>
+ </div>
+</div>
--- /dev/null
+{% for brief in briefs|slice:":8" %}
+ <div class="col-xs-3">
+ <div class="home__shutter-item">
+ <h2>{{ brief.title }}</h2>
+ <p>{{ brief.description|truncatechars:100 }}</p>
+ <a href="{{ brief.external_content }}" title="brief.title">{{ brief.text_button }}</a>
+ </div>
+ </div>
+{% endfor %}
--- /dev/null
+{% load i18n mezzanine_tags %}
+
+<div class="brief-box brief-box--{{ content.content_object.style }}">
+
+ <div class="brief-box__head">
+ {% trans 'Brief !' %}
+ </div>
+ <h3 class="brief-box__title">{{content.content_object.title }}</h3>
+ <div class="brief-box__desc">
+ {{content.content_object.content|richtext_filters|safe|truncatechars_html:150 }}
+ </div>
+ {% if content.content_object.external_content %}
+ <a class="brief-box__button" href="{{ content.content_object.external_content }}" title="{{ content.content_object.text_button }}">{{ content.content_object.text_button }}</a>
+ {% elif content.content_object.content_object %}
+ <a class="brief-box__button" href="{{ content.content_object.content_object.get_absolute_url }}" title="{{ content.content_object.text_button }}">{{ content.content_object.text_button }}</a>
+ {% else %}
+ <a class="brief-box__button" href="{{ content.content_object.get_absolute_url }}" title="{{ content.content_object.title }}">{{ content.content_object.title }}</a>
+ {% endif %}
+
+</div>
--- /dev/null
+{% load i18n pages_tags mezzanine_tags %}
+<div>
+ <a href="{% url "topic-detail" topic.slug %}" title="{{ topic.name }}" >
+ <h3>{{ topic.title }}</h3>
+ <p>{{ topic.description|slice:":255" }}</p>
+ </a>
+</div>
--- /dev/null
+{% extends "starts_eu/base.html" %}
+{% load i18n mezzanine_tags blog_tags keyword_tags disqus_tags %}
+
+{% block meta_title %}
+ {{ topic.title }} | {% trans "Magazine" %}
+{% endblock %}
+
+{% block meta_keywords %}{% metablock %}
+ {% keywords_for topic as keywords %}
+ {% for keyword in keywords %}
+ {% if not forloop.first %}, {% endif %}
+ {{ keyword }}
+ {% endfor %}
+{% endmetablock %}{% endblock %}
+
+{% block meta_description %}{% metablock %}
+ {{ topic.description }}
+{% endmetablock %}{% endblock %}
+
+{% block title %}
+ {% if page %}
+ {% editable page.title %}{{ page.title }}{% endeditable %}
+ {% else %}
+ {% trans "Articles" %}
+ {% endif %}
+{% endblock %}
+
+{% block breadcrumb_menu %}
+ {{ block.super }}
+ <li class="breadcrumb__item">{% trans "Magazine" %}</li>
+ <li class="breadcrumb__item active">{{ topic.title }}</li>
+{% endblock %}
+
+{% block main %}
+ <div class="mb2 page page--{% spaceless %}{% block page_class %}{% endblock %}{% endspaceless %}">
+ <div class="container">
+
+ <div class="row">
+ <div class="col-sm-9 col-lg-8 col-lg-push-2 white-bg">
+ {% editable topic.title %}
+ <h1 class="dotted">{{ topic.title }}</h1>
+ {% endeditable %}
+ </div>
+ </div>
+
+ <div class="row">
+ <div class="col-sm-9 col-lg-8 col-lg-push-2 white-bg page__content">
+ {% if topic.description %}
+ {% editable topic.description %}
+ <div class="chapo">
+ {{ topic.description|safe }}
+ </div>
+ {% endeditable %}
+ {% endif %}
+ </div>
+ </div>
+
+ </div>
+
+ </div>
+
+ <div class="container">
+ <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' with object=article %}
+ </div>
+ {% endfor %}
+ </div>
+ </div>
+
+ {% pagination_for articles %}
+
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load mezzanine_tags keyword_tags i18n organization_tags %}
+
+{% block meta_title %}{% trans "Media" %}{% endblock %}
+
+{% block meta_keywords %}{% metablock %}
+{% keywords_for person as keywords %}
+{% for keyword in keywords %}
+ {% if not forloop.first %}, {% endif %}
+ {{ keyword }}
+{% endfor %}
+{% endmetablock %}{% endblock %}
+
+{% block page_class %}
+ media
+{% endblock %}
+
+
+{% block page_title %}
+ {% editable media.title %}
+ <h1 class="section-title section-title--uppercase section-title--main">{{ media.title }}</h1>
+ {% endeditable %}
+{% endblock %}
+
+
+{% block page_sidebar %}
+
+ <div class="page__meta" data-sticky data-sticky-parent="row" data-sticky-offset="100" data-sticky-detach-at="971">
+ <div class="page__meta-title">
+ {% trans 'Publish date' %}
+ </div>
+ {% editable media.publish_date %}
+ <div class="page__meta-text">
+ {{ media.publish_date|date:"DATE_FORMAT" }}
+ </div>
+ {% endeditable %}
+ <div class="page__meta-separator">
+
+ </div>
+ {% with media as object %}
+ <div class="">
+ {% include "includes/share_buttons.html" %}
+ </div>
+ {% endwith %}
+ </div>
+
+{% endblock %}
+
+{% block page_video %}
+
+{% endblock %}
--- /dev/null
+{% load mezzanine_tags keyword_tags i18n organization_tags %}
+
+<div class="container">
+
+ <div class="row">
+
+ <div class="mb1 col-md-10 col-md-push-3 page__content" data-summary-content>
+
+ <audio preload="true"></audio>
+
+ <ol class="audio-playlist">
+ <li class="audio-playlist__item">
+ {% for transcoded in media.transcoded.all %}
+ {% if transcoded.mime_type == "audio/mp4" or transcoded.mime_type == "audio/mp3" %}
+ <a href="#" data-src="{{ transcoded.url }}"><span>{{ media.title }}</span>{% if media.description %}<small> {{ media.description }}</small>{% endif %}</a>
+ {% endif %}
+ {% endfor %}
+ </li>
+ </ol>
+
+ </div>
+
+ </div>
+
+ <div class="row">
+
+ <div class="col-md-3 page__sidebar">
+ <div style="position: relative;">
+ <div class="page__meta" data-sticky data-sticky-parent="row" data-sticky-offset="100" data-sticky-detach-at="971">
+ <div class="page__meta-title">
+ {% trans 'Publish date' %}
+ </div>
+ {% editable media.publish_date %}
+ <div class="page__meta-text">
+ {{ media.publish_date|date:"DATE_FORMAT" }}
+ </div>
+ {% endeditable %}
+
+ {% with media as object %}
+ <div class="mt1">
+ <ul class="share-links">
+ <li class="share-links__item share-links__item--facebook">
+ <a target="_blank" href="http://facebook.com/sharer.php?u={{ request.META.HTTP_HOST }}{{ request.scheme }}{{ '://'|urlencode }}{% url 'organization-media-detail' object|get_media_type|lower object.slug %}&t={{ object.title|urlencode }}" title="{% trans "Share on Facebook" %}"><i class="fa fa-facebook-square"></i></a>
+ </li>
+ <li class="share-links__item share-links__item--twitter">
+ <a target="_blank" href="http://twitter.com/home?status={{ object.title|urlencode }}%20{{ request.scheme }}{{ '://'|urlencode }}{{ request.META.HTTP_HOST }}{% url 'organization-media-detail' object|get_media_type|lower object.slug %}" title="{% trans "Share on Twitter" %}"><i class="fa fa-twitter-square"></i></a>
+ </li>
+ <li class="share-links__item share-links__item--email">
+ <a href="mailto:?subject={{ object.title }}&body={{ request.scheme }}{{ '://'|urlencode }}{{ request.META.HTTP_HOST }}{% url 'organization-media-detail' object|get_media_type|lower object.slug %}" title="{% trans "Share by email" %}"> <i class="fa fa-envelope-square"></i></a>
+ </li>
+ </ul>
+ </div>
+ {% endwith %}
+ </div>
+ </div>
+ </div>
+
+ <div class="col-sm-16 col-md-10 page__content" data-summary-content>
+
+ <h2 class="mt0">{{ media.title }}</h2>
+ {% if media.description %}
+ <p>
+ {{ media.description }}
+ </p>
+ {% endif %}
+
+ </div>
+
+ </div>
+
+</div>
--- /dev/null
+{% load i18n mezzanine_tags organization_tags %}
+{% with audio.get_absolute_url as audio_url %}
+ {% if audio.poster_url %}
+ <!-- url of the media is distant. We can't generate back side thumbnail. Do it with css pliz -->
+ <img src="{{ audio.poster_url }}" width="200" height="150">
+ {% else %}
+ <!--placeholder picture-->
+ {% endif %}
+ <h5>
+ {% if audio_url %}
+ <a href="{{ audio_url }}">{{ audio }}</a>
+ {% else %}
+ {{ audio }}
+ {% endif %}
+ </h5>
+ {% if audio.description != audio|stringformat:"s" %}
+ <p>{{ audio.description|truncatewords_html:200|safe }}</p>
+ {% endif %}
+ {% if audio_url %}
+ <a href="{{ audio_url }}">{% trans "read more" %}</a>
+ {% endif %}
+ <br>
+{% endwith %}
--- /dev/null
+{% load mezzanine_tags keyword_tags i18n organization_tags staticfiles %}
+
+<div class="col-lg-4">
+ <a class="media-box" href="{% url 'organization-playlist-detail' playlist.slug %}">
+ <figure class="media-box__image media-box__image--audio">
+ {% if playlist.medias.all.0.media.poster_url %}
+ <img src="{{ playlist.medias.all.0.media.poster_url }}">
+ {% else %}
+ <img src="{% static "img/placeholder-media.png" %}">
+ {% endif %}
+ </figure>
+ <div class="media-box__type">
+ {{playlist.type}}
+ </div>
+ <h2 class="media-box__title">{{ playlist.title }}</h2>
+ <div class="media-box__desc">
+ {{ playlist.description|richtext_filters|safe|truncatechars_html:200 }}
+ </div>
+ </a>
+</div>
--- /dev/null
+{% load mezzanine_tags keyword_tags i18n organization_tags %}
+
+{% if playlist.title %}
+ <h3>{{playlist.title}}</h3>
+{% endif %}
+{% if playlist.description %}
+ <p>
+ {{playlist.description}}
+ </p>
+{% endif %}
+
+<audio preload="true"></audio>
+
+<ol class="audio-playlist">
+ {% for media in playlist.medias.all %}
+ <li class="audio-playlist__item">
+ {% with media.media as media %}
+ {% for transcoded in media.transcoded.all %}
+ {% if transcoded.mime_type == "audio/mp4" or transcoded.mime_type == "audio/mp3" %}
+ <a href="#" data-src="{{ transcoded.url }}"><span>{{ media.title }}</span>{% if media.description %}<small> {{ media.description }}</small>{% endif %}</a>
+ {% endif %}
+ {% endfor %}
+ {% endwith %}
+ </li>
+ {% endfor %}
+</ol>
--- /dev/null
+{% extends "core/inc/search_card.html" %}
+{% load i18n mezzanine_tags organization_tags %}
+
+{% block title %}
+ {{ result }}
+{% endblock %}
+
+{% block icon %}file-{{playlist.type}}-o{% endblock %}
+
+{% block tags %}
+ <div class="search-box__tags">
+ {{playlist.type}}
+ </div>
+{% endblock %}
+
+{% block url %}
+ {{ playlist.get_absolute_url }}
+{% endblock %}
+
+{% block content %}
+ {% if playlist.description != playlist|stringformat:"s" %}
+ {{ playlist.description|truncatewords_html:200|safe }}
+ {% endif %}
+{% endblock %}
+
+{% with playlist.get_absolute_url as playlist_url %}
+ {% if playlist.medias.first.media.poster_url %}
+ <!-- url of the media is distant. We can't generate back side thumbnail. Do it with css pliz -->
+ <img src="{{playlist.medias.first.media.poster_url }}" width="200" height="150">
+ {% else %}
+ <!--placeholder picture-->
+ {% endif %}
+
+ {{ playlist.type }}
+
+ <h5>
+ {% if playlist_url %}
+ <a href="{{ playlist_url }}">{{ playlist.title }}</a>
+ {% else %}
+ {{ playlist }}
+ {% endif %}
+ </h5>
+ {% if playlist.description != playlist|stringformat:"s" %}
+ <p>{{ playlist.description|truncatewords_html:200|safe }}</p>
+ {% endif %}
+ {% if playlist_url %}
+ <a href="{{ playlist_url }}">{% trans "read more" %}</a>
+ {% endif %}
+ <br>
+{% endwith %}
+
+{% block image %}
+ {% if playlist.medias.all.0.media.poster_url %}
+ <a href="{{ playlist.get_absolute_url }}" class="search-box__image-wrapper">
+ <figure class="search-box__image search-box__image--playlist search-box__image--{{playlist.type}}">
+ <img class="lazyload" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-original="{{ playlist.medias.all.0.media.poster_url }}">
+ </figure>
+ </a>
+ {% endif %}
+{% endblock %}
--- /dev/null
+{% load mezzanine_tags keyword_tags i18n organization_tags %}
+
+{% for media in home.dynamic_content_home_media.all|slice:":3" %}
+ <div class="col-xs-3">
+ <div class="home__shutter-item">
+ <div class="fss">
+ {{media.content_object.type}}
+ </div>
+ <h2><a href="{{ media.content_object.get_absolute_url }}" title="">{{ media.content_object.title }}</a></h2>
+
+ {% if media.content_object.description %}
+ <p>{{ media.content_object.description|truncatechars:100 }}</p>
+ {% endif %}
+
+ {% comment %}
+ {% if media.content_object.poster_url %}
+ <img src="{% thumbnail media.content_object.poster_url 203 140 %}">
+ {% endif %}
+ {% endcomment %}
+
+ {% comment %}
+ {% if media.content_object.type == 'video' %}
+ <a href="{{ media.content_object.get_absolute_url }}" title="">{% trans 'See the video' %}</a>
+ {% elif media.content_object.type == 'audio' %}
+ <a href="{{ media.content_object.get_absolute_url }}" title="">{% trans 'Hear the sound' %}</a>
+ {% endif %}
+ {% endcomment %}
+ </div>
+ </div>
+{% endfor %}
+
+<div class="col-xs-3">
+ <a href="{% url 'organization-playlist-list' %}" title="{% trans 'View all medias' %}" class="home__shutter-item home__shutter-item--button">
+ <h2>{% trans 'View all medias' %}</h2>
+ </a>
+</div>
--- /dev/null
+{% load mezzanine_tags keyword_tags i18n organization_tags staticfiles %}
+
+<div class="col-lg-4">
+ <a class="media-box" href="{% url 'organization-playlist-detail' playlist.slug %}">
+ <figure class="media-box__image media-box__image--video">
+ {% if playlist.medias.all.0.media.poster_url %}
+ <img src="{{ playlist.medias.all.0.media.poster_url }}">
+ {% else %}
+ <img src="{% static "img/placeholder-media.png" %}">
+ {% endif %}
+ </figure>
+ <div class="media-box__type">
+ {{playlist.type}}
+ </div>
+ <h2 class="media-box__title">{{ playlist.title }}</h2>
+ <div class="media-box__desc">
+ {{ playlist.description|richtext_filters|safe|truncatechars_html:200 }}
+ </div>
+ </a>
+</div>
--- /dev/null
+{% load mezzanine_tags keyword_tags i18n organization_tags %}
+
+{% if playlist.title %}
+ <h3>{{playlist.title}}</h3>
+{% endif %}
+{% if playlist.description %}
+ <p>
+ {{playlist.description}}
+ </p>
+{% endif %}
+
+<div class="embed-responsive">
+ <video controls id="video-js-playlist" class="video-js vjs-ircam-skin" data-title="{{ media.title }}" {% if media.poster_url %}poster="{{ media.poster_url }}"{% endif %}>
+ </video>
+</div>
+{% for media in playlist.medias.all %}
+ {% with media.media as media %}
+ {% if forloop.first %}
+ <ol class="video-playlist">
+ {% endif %}
+ {% spaceless %}
+ <li class="video-playlist__item{% if forloop.first %} playing{% endif %}"><a href="#" data-poster="{{media.poster_url }}" data-src="{% for transcoded in media.transcoded.all %}{% if forloop.first %}{% else %},{% endif %}{{ transcoded.url }}{% if forloop.last %}{% endif %}{% endfor %}" data-mime="{% for transcoded in media.transcoded.all %}{% if forloop.first %}{% else %},{% endif %}{{ transcoded.mime_type }}{% if forloop.last %}{% endif %}{% endfor %}"><span>{{ media.title }}</span>{% if media.description %}<small> {{ media.description }}</small>{% endif %}</a></li>
+ {% endspaceless %}
+ {% if forloop.last %}
+ </ol>
+ {% endif %}
+ {% endwith %}
+{% endfor %}
--- /dev/null
+{% load mezzanine_tags %}
+
+<div class="page__slider">
+
+ {% if playlist.title or playlist.description %}
+ <div class="container">
+ <div class="row">
+ <div class="col-sm-16 col-md-10 col-md-push-3">
+ {% if playlist.title %}
+ <div class="tac">
+ <h3 class="section-title section-title--uppercase section-title--main section-title--underline">{{playlist.title}}</h3>
+ </div>
+ {% endif %}
+ {% if playlist.description %}
+ <p>
+ {{playlist.description}}
+ </p>
+ {% endif %}
+ </div>
+ </div>
+ </div>
+ {% endif %}
+
+ <ul class="slider-page" data-slider-page>
+ {% for media in playlist.medias.all %}
+ {% with media.media as media %}
+ <li class="slider-page__slide">
+ <div class="slider-page__wrapper">
+ <div class="slider-page__video">
+ <video controls class="video-js vjs-ircam-skin" data-title="{{ media.title }}" data-setup='{"aspectRatio":"905:520"}' {% if media.poster_url %}poster="{{ media.poster_url }}"{% endif %}>
+ {% for transcoded in media.transcoded.all %}
+ <source src="{{ transcoded.url }}" type="{{ transcoded.mime_type }}" />
+ {% endfor %}
+ Your browser does not support the video tag.
+ </video>
+ </div>
+ <div class="slider-page__caption">
+ {{ media.title }}
+ </div>
+ </div>
+ </li>
+ {% endwith %}
+ {% endfor %}
+ </ul>
+</div>
--- /dev/null
+{% load i18n future mezzanine_tags event_tags keyword_tags disqus_tags organization_tags %}
+<div class="">
+ <div class="media-box media-box--{{object|get_media_type|lower}}">
+ <a class="media-box__image-container" href="{% url 'organization-media-overlay' object.type object.slug %}" data-video-overlay>
+ <figure class="media-box__image media-box__image--{{ object|get_media_type|lower }}">
+ {% with object.images.all|get_type:'card' as images %}
+ {% if object.poster_url %}
+ <img src="{{ object.poster_url }}">
+ {% elif images %}
+ <img class="lazyload" src="{{ MEDIA_URL }}{% thumbnail images.0.file 720 435 %}" data-original="">
+ {% else %}
+ <div class="media-box__placeholder"></div>
+ {% endif %}
+ {% endwith %}
+ </figure>
+ </a>
+ <a class="media-box__content" href="{% url 'organization-media-detail' object|get_media_type|lower object.slug %}">
+ <h2 class="media-box__title">{{ object.title }}</h2>
+ <div class="media-box__type">
+ {{ object|get_media_type }}
+ </div>
+ {% if object.description %}
+ <div class="media-box__desc">
+ {{ object.description|richtext_filters|safe|truncatechars_html:200 }}
+ </div>
+ {% endif %}
+ </a>
+ </div>
+</div>
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load mezzanine_tags keyword_tags i18n organization_tags %}
+
+{% block meta_title %}{% trans "Media" %}{% endblock %}
+
+{% block meta_keywords %}{% metablock %}
+{% keywords_for person as keywords %}
+{% for keyword in keywords %}
+ {% if not forloop.first %}, {% endif %}
+ {{ keyword }}
+{% endfor %}
+{% endmetablock %}{% endblock %}
+
+{% block page_class %}
+ playlist
+{% endblock %}
+
+{% block page_title %}
+ {% editable person.title %}
+ <h1 class="section-title section-title--uppercase section-title--main">{{ playlist.title }}</h1>
+ {% endeditable %}
+{% endblock %}
+
+{% block page_sidebar %}
+
+ <div class="page__meta" data-sticky data-sticky-parent="row" data-sticky-offset="100" data-sticky-detach-at="971">
+ {% editable playlist.publish_date %}
+ <div class="page__meta-date">
+ {{ playlist.publish_date|date:"DATE_FORMAT" }}
+ </div>
+ {% endeditable %}
+
+ <div class="page__meta-separator">
+
+ </div>
+
+ <div class="page__meta-text">
+ <strong>{{playlist.type}}</strong>
+ </div>
+
+ {% with playlist as object %}
+ {% include "includes/share_buttons.html" %}
+ {% endwith %}
+ </div>
+
+{% endblock %}
+
+{% block page_content %}
+
+ {% with playlist.type as type %}
+ {% with "media/inc/playlist_"|add:type|add:"_detail.html" as template %}
+ {% include template %}
+ {% endwith %}
+ {% endwith %}
+
+ <div class="playslit-html">
+ {{ playlist.content|safe }}
+ </div>
+{% endblock %}
+
+{% block page_related_content %}
+ {% include "core/inc/related_content_dynamic.html" %}
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load mezzanine_tags keyword_tags i18n organization_tags %}
+
+{% block breadcrumb_menu %}
+ {{ block.super }}
+ <li class="breadcrumb__item active">{% trans "Media" %}</li>
+{% endblock %}
+
+{% block page_title %}
+ {% editable person.title %}
+ <h1 class="dotted">{% trans "Media" %}</h1>
+ {% endeditable %}
+{% endblock %}
+
+{% block meta_title %}{% trans "Media" %}{% endblock %}
+
+{% block page_sidebar %}
+ <ul class="nav-tree nav-tree--level-0" data-sticky data-sticky-parent="row" data-sticky-offset="100" data-sticky-detach-at="971">
+ <li class="nav-tree__item">
+ <a class="nav-tree__link nav-tree__link--filter{% if current_type == 'audio' %} active{% endif %}" href="{% if current_type == 'audio' %}{% url 'organization-playlist-list' %}{% else %}{% url 'organization-playlist-list' 'audio' %}{% endif %}">
+ {% trans 'audio' %}{% if current_type == 'audio' %} <i class="fa fa-times"></i>{% endif %}
+ </a>
+ </li>
+ <li class="nav-tree__item">
+ <a class="nav-tree__link nav-tree__link--filter{% if current_type == 'video' %} active{% endif %}" href="{% if current_type == 'video' %}{% url 'organization-playlist-list' %}{% else %}{% url 'organization-playlist-list' 'video' %}{% endif %}">
+ {% trans 'video' %}{% if current_type == 'video' %} <i class="fa fa-times"></i>{% endif %}
+ </a>
+ </li>
+ </ul>
+
+ <!--to cancel : {% url 'organization-playlist-list' %}-->
+{% endblock %}
+
+{% block page_content %}
+ <div class="row">
+ {% for playlist in playlists %}
+ {% with playlist.type as type %}
+ {% with "media/inc/playlist_"|add:type|add:"_card.html" as template %}
+ {% include template %}
+ {% endwith %}
+ {% endwith %}
+ {% endfor %}
+ </div>
+{% endblock %}
+
+{% block main %}
+ {{ block.super }}
+
+ {% pagination_for playlists %}
+{% endblock %}
--- /dev/null
+{% with playlist.type as type %}
+ {% with "media/inc/playlist_"|add:type|add:"_detail.html" as template %}
+ {% include template %}
+ {% endwith %}
+{% endwith %}
+
+<div class="playslit-html">
+ {{ playlist.content|safe }}
+</div>
--- /dev/null
+{% load i18n mezzanine_tags organization_tags %}
+{% with video.get_absolute_url as video_url %}
+ {% if video.poster_url %}
+ <!-- url of the media is distant. We can't generate back side thumbnail. Do it with css pliz -->
+ <img src="{{ video.poster_url }}" width="200" height="150">
+ {% else %}
+ <!--placeholder picture-->
+ {% endif %}
+ <h5>
+ {% if video_url %}
+ <a href="{{ video_url }}">{{ video }}</a>
+ {% else %}
+ {{ video }}
+ {% endif %}
+ </h5>
+ {% if video.description != video|stringformat:"s" %}
+ <p>{{ video.description|truncatewords_html:200|safe }}</p>
+ {% endif %}
+ {% if video_url %}
+ <a href="{{ video_url }}">{% trans "read more" %}</a>
+ {% endif %}
+ <br>
+{% endwith %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load mezzanine_tags keyword_tags i18n organization_tags %}
+
+{% block meta_title %}{% trans "Media" %}{% endblock %}
+
+{% block meta_keywords %}{% metablock %}
+{% keywords_for person as keywords %}
+{% for keyword in keywords %}
+ {% if not forloop.first %}, {% endif %}
+ {{ keyword }}
+{% endfor %}
+{% endmetablock %}{% endblock %}
+
+{% block page_class %}
+ media
+{% endblock %}
+
+{% block page_title %}
+ {% editable media.title %}
+ <h1 class="section-title section-title--uppercase section-title--main">{{ media.title }}</h1>
+ {% endeditable %}
+{% endblock %}
+
+{% block page_sidebar %}
+
+ <div class="page__meta" data-sticky data-sticky-parent="row" data-sticky-offset="100" data-sticky-detach-at="971">
+ <div class="page__meta-title">
+ {% trans 'Publish date' %}
+ </div>
+ {% editable media.publish_date %}
+ <div class="page__meta-text">
+ {{ media.publish_date|date:"DATE_FORMAT" }}
+ </div>
+ {% endeditable %}
+ <div class="page__meta-separator">
+
+ </div>
+ {% with media as object %}
+ <div class="">
+ {% include "includes/share_buttons.html" %}
+ </div>
+ {% endwith %}
+ </div>
+
+{% endblock %}
+
+{% block page_content %}
+
+ {% if media.description %}
+ <p>
+ {{ media.description }}
+ </p>
+ {% endif %}
+
+ <div class="embed-responsive">
+ <video controls id="video-js-playlist" class="video-js vjs-ircam-skin" data-title="{{ media.title }}" {% if media.poster_url %}poster="{{ media.poster_url }}"{% endif %}>
+ </video>
+ </div>
+ <ol class="video-playlist">
+ {% spaceless %}
+ <li class="video-playlist__item{% if forloop.first %} playing{% endif %}"><a href="#" data-poster="{{media.poster_url }}" data-src="{% for transcoded in media.transcoded.all %}{% if forloop.first %}{% else %},{% endif %}{{ transcoded.url }}{% if forloop.last %}{% endif %}{% endfor %}" data-mime="{% for transcoded in media.transcoded.all %}{% if forloop.first %}{% else %},{% endif %}{{ transcoded.mime_type }}{% if forloop.last %}{% endif %}{% endfor %}"><span>{{ media.title }}</span></a></li>
+ {% endspaceless %}
+ </ol>
+
+{% endblock %}
+
+{% block page_video %}
+
+{% endblock %}
--- /dev/null
+{% load mezzanine_tags keyword_tags i18n organization_tags %}
+
+<div class="container">
+
+ <div class="row">
+
+ <div class="mb1 col-md-10 col-md-push-3 page__content" data-summary-content>
+
+ <div class="embed-responsive">
+ <video controls id="video-js-playlist" class="video-js vjs-ircam-skin" data-title="{{ media.title }}" {% if media.poster_url %}poster="{{ media.poster_url }}"{% endif %}>
+ </video>
+ </div>
+ <ol class="video-playlist">
+ {% spaceless %}
+ <li class="video-playlist__item{% if forloop.first %} playing{% endif %}"><a href="#" data-poster="{{media.poster_url }}" data-src="{% for transcoded in media.transcoded.all %}{% if forloop.first %}{% else %},{% endif %}{{ transcoded.url }}{% if forloop.last %}{% endif %}{% endfor %}" data-mime="{% for transcoded in media.transcoded.all %}{% if forloop.first %}{% else %},{% endif %}{{ transcoded.mime_type }}{% if forloop.last %}{% endif %}{% endfor %}"><span>{{ media.title }}</span></a></li>
+ {% endspaceless %}
+ </ol>
+
+ </div>
+
+ </div>
+
+ <div class="row">
+
+ <div class="col-md-3 page__sidebar">
+ <div style="position: relative;">
+ <div class="page__meta" data-sticky data-sticky-parent="row" data-sticky-offset="100" data-sticky-detach-at="971">
+ <div class="page__meta-title">
+ {% trans 'Publish date' %}
+ </div>
+ {% editable media.publish_date %}
+ <div class="page__meta-text">
+ {{ media.publish_date|date:"DATE_FORMAT" }}
+ </div>
+ {% endeditable %}
+
+ {% with media as object %}
+ <div class="mt1">
+ <ul class="share-links">
+ <li class="share-links__item share-links__item--facebook">
+ <a target="_blank" href="http://facebook.com/sharer.php?u={{ request.META.HTTP_HOST }}{{ request.scheme }}{{ '://'|urlencode }}{% url 'organization-media-detail' object|get_media_type|lower object.slug %}&t={{ object.title|urlencode }}" title="{% trans "Share on Facebook" %}"><i class="fa fa-facebook-square"></i></a>
+ </li>
+ <li class="share-links__item share-links__item--twitter">
+ <a target="_blank" href="http://twitter.com/home?status={{ object.title|urlencode }}%20{{ request.scheme }}{{ '://'|urlencode }}{{ request.META.HTTP_HOST }}{% url 'organization-media-detail' object|get_media_type|lower object.slug %}" title="{% trans "Share on Twitter" %}"><i class="fa fa-twitter-square"></i></a>
+ </li>
+ <li class="share-links__item share-links__item--email">
+ <a href="mailto:?subject={{ object.title }}&body={{ request.scheme }}{{ '://'|urlencode }}{{ request.META.HTTP_HOST }}{% url 'organization-media-detail' object|get_media_type|lower object.slug %}" title="{% trans "Share by email" %}"> <i class="fa fa-envelope-square"></i></a>
+ </li>
+ </ul>
+ </div>
+ {% endwith %}
+ </div>
+ </div>
+ </div>
+
+ <div class="col-sm-16 col-md-10 page__content" data-summary-content>
+
+ <h2 class="mt0">{{ media.title }}</h2>
+ {% if media.description %}
+ <p>
+ {{ media.description }}
+ </p>
+ {% endif %}
+
+ </div>
+
+ </div>
+
+</div>
--- /dev/null
+{% load organization_tags mezzanine_tags i18n %}
+{% if person_list_block.title %}
+
+ <div class="pb2">
+
+ <div class="container">
+
+ <div class="row">
+
+ <div class="col-xxs-16 col-md-10 col-md-push-3" data-summary-content>
+
+ <div class="tac">
+ <h2 class="section-title section-title--uppercase section-title--main section-title--underline">{{ person_list_block.title }}</h2>
+ </div>
+
+ {% if person_list_block.description %}
+ <p>{{ person_list_block.description }}</p>
+ {% endif %}
+
+ </div>
+
+ </div>
+
+ </div>
+
+ <div class="container">
+
+ <div class="row">
+
+ <div class="col-xxs-16 col-md-10 col-md-push-3" data-summary-content>
+
+ {% for person_list_block_inline in person_list_block.person_list_block_inlines.all %}
+ {% with person_list_block_inline.person as person %}
+
+ {% with person_list_block_inline.person as person %}
+
+ {% include "network/inc/person/person_card_circle.html" %}
+
+ {% endwith %}
+
+ {% endwith %}
+ {% endfor %}
+
+ </div>
+
+ </div>
+
+ </div>
+
+ </div>
+
+{% endif %}
--- /dev/null
+{% load organization_tags mezzanine_tags %}
+{% if person_list_block.title %}
+
+ <div class="pb2">
+
+ <div class="container">
+
+ <div class="row">
+
+ <div class="col-xxs-16 col-md-10 col-md-push-3" data-summary-content>
+
+ <div class="tac">
+ <h2 class="section-title section-title--uppercase section-title--main section-title--underline">{{ person_list_block.title }}</h2>
+ </div>
+
+ {% if person_list_block.description %}
+ <p>{{ person_list_block.description }}</p>
+ {% endif %}
+
+ </div>
+
+ </div>
+
+ </div>
+
+ <div class="container">
+
+ <div class="row">
+ <div class="col-md-8 col-md-push-4">
+
+ <div class="row">
+
+ {% for person_list_block_inline in person_list_block.person_list_block_inlines.all %}
+
+ <div class="col-md-8">
+
+ {% with person_list_block_inline.person as person %}
+
+ {% include "network/inc/person/person_card_square.html" %}
+
+ {% endwith %}
+
+ </div>
+
+ {% endfor %}
+
+ </div>
+
+ </div>
+ </div>
+
+
+ </div>
+
+ </div>
+
+{% endif %}
--- /dev/null
+{% load organization_tags mezzanine_tags i18n %}
+
+<div class="row">
+ <div class="person-list-box">
+
+ <div class="col-xxs-3 tac">
+
+ <a href="{{ person.get_absolute_url }}" title="{{ person.first_name }} {{ person.last_name }}">
+ <figure class="person-list-box__image">
+
+ {% with person.images.all|get_type:'card' as card_images %}
+ {% if card_images %}
+ <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-original="{{ MEDIA_URL }}{% thumbnail card_images.first 135 135 top=0.5 %}" class="lazyload" alt="person"/>
+ {% endif %}
+ {% endwith %}
+
+ </figure>
+ </a>
+
+ </div>
+
+ <div class="col-xxs-13">
+
+ <h3 class="mt0 fsxl">{{ person.first_name }} {{ person.last_name }}</h3>
+
+ {% if person.description %}
+ <div class="person-list-box__desc">{{ person.description|richtext_filters|safe }}</div>
+ {% elif person.bio %}
+ <div class="person-list-box__desc">{{ person.bio|richtext_filters|safe }}</div>
+ {% endif %}
+ {% if person.files.first %}
+ <a href="{{ person.files.first.file.url }}" class="button button--small">{% trans "resume" %}</a>
+ {% endif %}
+ {% for link in person.links.all %}
+ {% if link %}
+ <a href="{{ link }}" title="Site Web" class="button button--small" target="_blank"><i class="fa fa-{{ link.link_type.slug }}"></i>{% firstof link.title link.link_type.name %}</a>
+ {% endif %}
+ {% endfor %}
+
+ </div>
+
+ </div>
+</div>
--- /dev/null
+{% load organization_tags mezzanine_tags %}
+
+<div class="article-box article-box--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:200 }}</div>
+ {% elif person.bio %}
+ <div class="article-box__desc">{{ person.bio|richtext_filters|safe|truncatechars_html:200 }}</div>
+ {% endif %}
+
+ </div>
+</div>
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
+
+{% block meta_title %}{% trans "Network" %}{% endblock %}
+
+{% block meta_description %}
+ {% metablock %}
+ {{ organization.description }}
+ {% endmetablock %}
+{% endblock %}
+
+{% block page_class %}
+ organization
+{% endblock %}
+
+{% block breadcrumb_menu %}
+ {{ block.super }}
+ <li class="breadcrumb__item active">{% trans "Network" %}</li>
+{% endblock %}
+
+{% block page_slider %}
+
+ <div style="position: relative;">
+ <div class="map" id="network-map">
+ </div>
+ <div class="map-legend">
+ {% for type in organization_types %}
+ <div class="map-legend__item map-legend__item--{{ type.1 }}">{{ type.0 }}</div>
+ {% endfor %}
+ </div>
+ </div>
+ <div class="container hide">
+ <div class="row">
+ <div class="col-xs-12 col-md-10 col-md-push-1">
+ <div class="slider-network">
+ <ul class="slider-network__slider" data-slider-network>
+ {% for organization in organizations %}
+ <li class="slider-network__slide" data-marker-url="{{organization.url}}" data-marker-color="{{ organization.type.css_class }}" {% with organization.images.all|get_type:'logo' as images %}{% if images %}data-marker-image="{{ MEDIA_URL }}{{images.first.file}}"{% endif %}{% endwith %} data-marker-idx="{{forloop.counter0}}" data-marker-lat="{{ organization.lat }}" data-marker-lng="{{ organization.lon }}">
+ <div class="slider-network__slide-image"
+ {% with organization.images.all|get_type:'logo' as images %}
+ {% if images %}
+ style="background-image: url('{{ MEDIA_URL }}{{images.first.file}}');"
+ {% endif %}
+ {% endwith %}
+ >
+ </div>
+ <div class="slider-network__slide-title" data-marker-title>
+ {{ organization.name }}
+ </div>
+ <div class="slider-network__slide-subtitle" data-marker-subtitle>
+ {{ organization.city }}, {{ organization.country.name }}
+ </div>
+ <div class="">
+ {{ organization.type }}, {{ organization.type.css_class }}
+ </div>
+ <div class="slider-network__slide-description" data-marker-description>
+ {{ organization.description }}
+ </div>
+ </li>
+
+ {% comment %}
+ {{ organization.name }}<br>
+ {{ organization.lat }}<br>
+ {{ organization.lon }}<br>
+ {{ organization.city }}<br>
+ {{ organization.country.name }}<br>
+
+ <!-- optional -->
+ {% with organization.links|get_type_link:'link' as links %}
+ {% if links %}
+ {{ links.first }}
+ {% endif %}
+ {% endwith %}
+ <br>
+ <!-- optional -->
+ {% with organization.images.all|get_type:'logo' as images %}
+ {% if images %}
+ <img src="{{ MEDIA_URL }}{% thumbnail images.first.file 100 0 left=0 top=0 %}" alt="logo {{ organization.name }}" />
+ {% endif %}
+ {% endwith %}
+ <br><br>
+ {% endcomment %}
+
+ {% endfor %}
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+{% endblock %}
--- /dev/null
+{% extends "core/inc/generic_card.html" %}
+{% load i18n pages_tags mezzanine_tags media_tags organization_tags %}
+
+{% block metatitle %}
+ {{ object.title }}
+{% endblock %}
+
+{% block title %}
+ {{ object.title }}
+{% endblock %}
+
+{% block url %}
+ {% url 'organization-network-person-detail' object.slug %}
+{% endblock %}
+
+{% block image %}
+ {% with object.images.all|get_type:'card' as images %}
+ <div class="article-box__image-container">
+ {% if images %}
+ <figure class="article-box__image">
+ <img src="{{ MEDIA_URL }}{% thumbnail images.0.file 427 286 top=0.5 left=object.photo_alignment|get_photo_alignment %}" class="lazyload" />
+ </figure>
+ {% else %}
+ <figure class="article-box__image">
+ {% if object.department %}
+ <div class="article-box__placeholder {{object.department.name|slugify}}"></div>
+ {% else %}
+ <div class="article-box__placeholder"></div>
+ {% endif %}
+ </figure>
+ {% endif %}
+
+ </div>
+ {% endwith %}
+{% endblock %}
+
+{% block content %}
+ {{ object.description|richtext_filters|safe|truncatechars_html:200 }}
+{% endblock %}
--- /dev/null
+{% load organization_tags %}
+<table>
+ <tr>
+ <th>{{ timesheet.month|month_name }}</th>
+ </tr>
+ <tr>
+ <td>
+ {{ timesheet.percentage|format_percent }}
+ </td>
+ </tr>
+ <tr>
+ <td>
+ {% with timesheet.work_packages.all as work_packages %}
+ {% if work_packages %}
+ {{ timesheet.work_packages.all|format_wp }}
+ {% else %}
+ <span>-</span>
+ {% endif %}
+ {% endwith %}
+ </td>
+ </tr>
+</table>
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
+
+{% block meta_title %}{% trans "Timesheet" %}{% endblock %}
+
+{% block page_class %}
+ time_sheet
+{% endblock %}
+
+{% block page_title %}
+ <h1 class="dotted">{% trans "Timesheet" %}</h1>
+{% endblock %}
+
+{% block page_content %}
+
+ <a class="pull-right button button--black" href="{% url 'organization-network-timesheet-list-view' slug %}" title="">Back to dashboard</a>
+
+ <form class="form" action="" method="post">
+ {% csrf_token %}
+ {{ form.as_p }}
+ <input type="submit" value="Submit" />
+ </form>
+
+
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
+
+{% block meta_title %}{% trans "Timesheet" %}{% endblock %}
+
+{% block page_class %}
+ time_sheet
+{% endblock %}
+
+{% block page_title %}
+ <h1 class="dotted">{% trans "Timesheet" %}</h1>
+{% endblock %}
+
+{% block page_content %}
+
+ <a class="pull-right button button--black" href="{% url 'organization-network-timesheet-create-view' slug current_year current_month %}" title="">Declare this month</a>
+ {{ timesheets_by_project }}
+ {% if timesheets_by_year %}
+ {% for year_k, year_v in timesheets_by_year.items %}
+ <h2>{{ year_k }}</h2>
+ {% for project_k, project_v in year_v.items %}
+ <h3>{{ project_k }}</h3>
+ <table>
+ <tr>
+ {% for timesheet in project_v %}
+ <td>
+ {% include "network/person_activity_timesheet/includes/person_activity_timesheet_inline.html" %}
+ </td>
+ {% endfor %}
+ </tr>
+ </table>
+ {% endfor %}
+ {% endfor %}
+
+ {% else %}
+
+ <p>{% trans "No timesheet." %}</p>
+
+ {% endif %}
+
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load mezzanine_tags keyword_tags i18n organization_tags pages_tags %}
+
+{% block meta_title %}{{ person.meta_title }}{% endblock %}
+
+{% block meta_keywords %}{% metablock %}
+{% keywords_for person as keywords %}
+{% for keyword in keywords %}
+ {% if not forloop.first %}, {% endif %}
+ {{ keyword }}
+{% endfor %}
+{% endmetablock %}{% endblock %}
+
+{% block page_class %}
+ person
+{% endblock %}
+
+{% block breadcrumb_menu %}
+ {{ block.super }}
+ <li class="breadcrumb__item active">{{ person }}</li>
+{% endblock %}
+
+{% block page_title %}
+ {% editable person.title %}
+ <h1 class="section-title section-title--big section-title--uppercase section-title--main">{{ person.title }}</h1>
+ {% endeditable %}
+
+ {% with person.images.all|get_type:'page_featured' as card_images %}
+ {% if card_images %}
+ <div class="page__image-container">
+ <img style="width:100%;" class="lazyload" src="{{ MEDIA_URL }}{% thumbnail card_images.first 1030 400 top=0.5 %}" alt="person"/>
+ </div>
+ {% endif %}
+ {% endwith %}
+{% endblock %}
+
+{% block page_content %}
+ {% editable person.bio %}
+ {{ person.bio|richtext_filters|safe }}
+ {% endeditable %}
+
+ {% if not person.email and person.activities.all and person.activities.all.0.teams.all %}<p><strong>{% trans 'Email' %} :</strong> {{ person_email }}</p>{% elif person.email %}<p><strong>{% trans 'Email' %} :</strong> {{ person.email|unspam }}</p>{% endif %}
+
+ {% with person.activities.all as activities %}
+ {% if activities %}
+ {# <h2 class="dotted">{% trans 'Activities' %}</h2>#}
+ <ul class="unstyled-list">
+ {% with activities.0 as activity %}
+ <li class="mb1">
+ {% with activity.teams.all as teams %}
+ {% with activity.organizations.all|is_not_host as organizations %}
+ {% with activity.employers.all|is_not_host as employers %}
+ {% if teams %}
+ <strong>{% trans 'Team' %} : </strong>
+ {% for team in teams %}
+ <a href="{% url "page" team.pages.all.0 %}">{{ team.name }}</a>
+ {% if organizations %}({% for organization in organizations %}{{ organization.name }}{% if not forloop.last %}, {% endif %}{% endfor %})
+ {% elif employers %}({% for employer in employers %}{{ employer.name }}{% if not forloop.last %}, {% endif %}{% endfor %}){% endif %}
+ <br />
+ {% endfor %}
+ {% endif %}
+ {% endwith %}
+ {% endwith %}
+ {% endwith %}
+ </li>
+ {% endwith %}
+ </ul>
+ {% endif %}
+ {% endwith %}
+
+{% endblock %}
+
+{% block page_related_content %}
+
+{% if related.event %}
+ <div class="pb2">
+ <div class="container">
+ <div class="row tac">
+ <div class="col-xs-16">
+ <h2 class="section-title section-title--underline section-title--uppercase section-title--main">{% trans "Linked events" %}</h2>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-xxs-16">
+ <div data-slider-related>
+
+ {% for event in related.event %}
+ <div>
+
+ <div class="row">
+
+ <div class="col-md-12 col-md-push-2">
+ {% include 'agenda/includes/event_linecard.html' %}
+ </div>
+
+ </div>
+
+ </div>
+ {% endfor %}
+
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+{% endif %}
+
+{% if related.other %}
+ <div class="pb2">
+ <div class="container">
+ <div class="row tac">
+ <div class="col-xs-16">
+ <h2 class="section-title section-title--underline section-title--uppercase section-title--main">{% trans "Linked contents" %}</h2>
+ </div>
+ </div>
+ <div class="row">
+ <div class="col-xxs-16">
+ <div data-slider-related>
+
+ {% for concrete_object in related.other %}
+ {% if forloop.counter0 == 0 or forloop.counter|divisibleby:3 %}
+ <div class="container">
+ <div class="row">
+ {% endif %}
+
+ <div class="col-xs-6 col-xs-push-2">
+ {% with app_label=concrete_object|app_label_short classname=concrete_object|classname|lower object=concrete_object %}
+ {% with app_label|add:"/"|add:classname|add:"/includes/"|add:classname|add:"_card.html" as template %}
+ {% include template %}
+ {% endwith %}
+ {% endwith %}
+ </div>
+
+ {% if forloop.last or forloop.counter|divisibleby:2 %}
+ </div>
+ </div>
+ {% endif %}
+ {% endfor %}
+
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+{% endif %}
+
+{% endblock %}
+
+{% block page_sidebar %}
+ <div class="" data-sticky data-sticky-parent="row" data-sticky-offset="100" data-sticky-detach-at="1171">
+ {% include "includes/share_buttons.html" %}
+ </div>
+{% endblock %}
+
+{% block page_link %}
+ {% with person.links.all as links %}
+ {% if links %}
+ <h3>{% trans 'Links' %}</h3>
+ {% include 'core/inc/link.html' %}
+ {% endif %}
+ {% endwith %}
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load mezzanine_tags keyword_tags i18n organization_tags pages_tags %}
+
+{% block meta_title %}{{ person.meta_title }}{% endblock %}
+
+{% block meta_keywords %}{% metablock %}
+{% keywords_for person as keywords %}
+{% for keyword in keywords %}
+ {% if not forloop.first %}, {% endif %}
+ {{ keyword }}
+{% endfor %}
+{% endmetablock %}{% endblock %}
+
+{% block page_class %}
+ person
+{% endblock %}
+
+{% block breadcrumb_menu %}
+ {{ block.super }}
+ <li class="breadcrumb__item active">{{ person }}</li>
+{% endblock %}
+
+{% block page_title %}
+ {% editable person.title %}
+ <h1 class="dotted">{{ person.title }}</h1>
+ {% endeditable %}
+{% endblock %}
+
+{% block page_content %}
+ {% editable person.bio %}
+ {{ person.bio|richtext_filters|safe }}
+ {% endeditable %}
+
+ <p><strong>{% trans 'Email' %} :</strong> {{ person_email }}</p>
+
+ {% if person.activities.all|length > 0 %}
+ <h2 class="dotted">{% trans 'Activities' %}</h2>
+ <ul class="unstyled-list">
+ {% for activity in person.activities.all %}
+ <li class="mb1">
+ {% comment %}
+ {% if activity.function %}
+ <strong>{% trans 'Function'%} : </strong>{{ activity.function }}<br>
+ {% endif %}
+ {% if activity.status %}
+ <strong>{% trans 'Status'%} : </strong>{{ activity.status }}<br>
+ {% endif %}
+ {% endcomment %}
+ {% with activity.teams.all as teams %}
+ {% if teams %}
+ <strong>{% trans 'Team' %} : </strong>
+ {% for team in teams %}
+ <a href="{% url "page" team.pages.all.0 %}">{{ team.name }}</a>{% if not forloop.last %}, {% endif %}
+ {% endfor %}
+ <br />
+ {% endif %}
+ {% endwith %}
+ {% with activity.organizations.all as organizations %}
+ {% with activity.employers.all as employers %}
+ {% if organizations %}
+ <strong>{% trans 'Organization' %} : </strong>
+ {% for organization in organizations %}
+ {{ organization.name }}{% if not forloop.last %}, {% endif %}
+ {% endfor %}
+ <br />
+ {% elif employers %}
+ <strong>{% trans 'Organization' %} : </strong>
+ {% for employer in employers %}
+ {{ employer.name }}{% if not forloop.last %}, {% endif %}
+ {% endfor %}
+ <br />
+ {% endif %}
+ {% endwith %}
+ {% endwith %}
+ {% if activity.date_from or activity.date_to %}
+ {% if not activity.date_from and not activity.date_to|date_year_higher_than:10 %}
+ <strong>{% trans 'Period' %}</strong> : {% trans 'to' %} {{ activity.date_to }}<br>
+ {% elif not activity.date_to %}
+ <strong>{% trans 'Period'%}</strong> : {% trans 'from' %} {{ activity.date_from }}<br>
+ {% else %}
+ <strong>{% trans 'Period'%}</strong> : {% trans 'from' %} {{ activity.date_from }} {% if not activity.date_to|date_year_higher_than:10 %}{% trans 'to' %} {{ activity.date_to }}{% endif %}<br>
+ {% endif %}
+ {% endif %}
+ </li>
+ {% endfor %}
+ </ul>
+ {% endif %}
+{% endblock %}
+
+{% block page_sidebar %}
+ {% if person.images.all %}
+ {% with person.images.all|get_type:'page_featured' as images %}
+ {% if images.first %}
+ <figure class="person-list-box__image">
+ <img src="{{ MEDIA_URL }}{% thumbnail images.first 135 135 top=0.5 %}" alt="person"/>
+ </figure>
+ {% endif %}
+ {% endwith %}
+ {% endif%}
+{% endblock %}
+
+{% block page_link %}
+ {% with person.links.all as links %}
+ {% if links or person_email %}
+ <h2 class="dotted">{% trans 'Links' %}</h2>
+ {% include 'core/inc/link.html' %}
+ {% endif %}
+ {% endwith %}
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
+
+ {% with page.custompage as object %}
+ {% block page_class %}
+ custompage
+ {% endblock %}
+
+ {% block body_class %}
+ {% with page.get_ascendants|last as top_level_parent %}
+ {% if top_level_parent.get_content_model.weaving_css_class %}
+ pattern pattern-bg {{ top_level_parent.get_content_model.weaving_css_class }}
+ {% endif %}
+ {% endwith %}
+ {% endblock %}
+
+ {% block page_title %}
+ {% editable page.custompage.title %}
+ <h1 class="section-title section-title--uppercase section-title--main">{{ page.custompage.title }}</h1>
+ {% endeditable %}
+ {% endblock %}
+
+ {% block page_content %}
+
+ {% with page.get_ascendants|last as top_level_parent %}
+ {% if linked_organization_content and research_slug == top_level_parent.slug %}
+ {% include 'pages/page/includes/linked_organization_content.html' %}
+ {% endif %}
+ {% endwith %}
+
+ {% if page.custompage.sub_title %}
+ {% editable page.custompage.sub_title %}
+ <div class="chapo">
+ {{ page.custompage.sub_title }}
+ </div>
+ {% endeditable %}
+ {% endif %}
+
+ {% if page.custompage.content %}
+ {% editable page.custompage.content %}
+ {{ page.custompage.content|richtext_filters|safe }}
+ {% endeditable %}
+ {% endif %}
+
+ {% if page.get_ascendants|length == 1 %}
+ {% children_pages page.id as childrens %}
+ {% if childrens %}
+ <div class="page__childrens">
+ {% for child in childrens %}
+ {% if child.in_menus.0 %}
+ {% with child as object %}
+ {% include "pages/page/includes/page_box.html" %}
+ {% endwith %}
+ {% endif %}
+ {% endfor %}
+ </div>
+ {% endif %}
+ {% endif %}
+
+ {% endblock %}
+
+ {% block page_audio %}
+ {% with page.custompage as object %}
+ {{ block.super }}
+ {% endwith %}
+ {% endblock %}
+
+ {% block page_slider %}
+ {% with page.custompage as object %}
+ {{ block.super }}
+ {% endwith %}
+ {% endblock %}
+
+ {% block page_video %}
+ {% with page.custompage as object %}
+ {{ block.super }}
+ {% endwith %}
+ {% endblock %}
+
+ {% block page_person_list %}
+ {% for page_custom_person_list_block_inline in page.custompage.page_custom_person_list_block_inlines.all %}
+ {% with page_custom_person_list_block_inline.person_list_block as person_list_block %}
+ {% with "network/inc/person/list_"|add:person_list_block.style|add:"_style.html" as template %}
+ {% include template %}
+ {% endwith %}
+ {% endwith %}
+ {% endfor %}
+ {% endblock %}
+
+ {% block page_sub_content %}
+ {% with page.custompage.blocks.all as blocks %}
+ {% include "core/inc/block.html" %}
+ {% endwith %}
+ {% endblock %}
+
+ {% block page_related_content %}
+ {% with dynamic_content=page.dynamic_content_pages.all|filter_content object=page %}
+ {% include "core/inc/related_content.html" %}
+ {% endwith %}
+ {% endblock %}
+
+{% endwith %}
--- /dev/null
+{% extends "core/inc/generic_card.html" %}
+{% load i18n pages_tags mezzanine_tags media_tags organization_tags %}
+
+{% block metatitle %}
+ {{ object.title }}
+{% endblock %}
+
+{% block title %}
+ {{ object.title }}
+{% endblock %}
+
+{% block url %}
+ {{ object.get_absolute_url }}
+{% endblock %}
+{% block image %}
+ <div class="article-box__image-container">
+ {% with object.images.all|get_type:'card' as images %}
+ {% if images %}
+ <figure class="article-box__image">
+ <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-original="{{ MEDIA_URL }}{% thumbnail images.0.file 427 286 top=0.5 left=article.photo_alignment|get_photo_alignment %}" class="lazyload" />
+ </figure>
+ {% else %}
+ <figure class="article-box__image">
+ {% with object.get_ascendants|last as top_level_parent %}
+ {% if top_level_parent.get_content_model %}
+ <div class="article-box__placeholder {{top_level_parent.get_content_model|slugify}}"></div>
+ {% else %}
+ <div class="article-box__placeholder"></div>
+ {% endif %}
+ {% endwith %}
+ </figure>
+ {% endif %}
+ {% endwith %}
+ </div>
+{% endblock %}
+
+{% block content %}
+ {{ object.description|richtext_filters|safe|truncatechars_html:200 }}
+{% endblock %}
+
+{% block subtitle %}
+ {{ object.sub_title }}
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
+
+{% block page_class %}
+ department
+{% endblock %}
+
+{% block body_class %}
+ pattern pattern-bg {{ page.departmentpage.weaving_css_class }}
+{% endblock %}
+
+{% block page_title %}
+
+ {% editable page.departmentpage.sub_title %}
+ <h1 class="dashed">{{ page.departmentpage.sub_title }}</h1>
+ {% endeditable %}
+
+{% endblock %}
+
+{% block page_content %}
+ <!--{% if page.departmentpage.sub_title %}
+ {% editable page.departmentpage.sub_title %}
+ <div class="chapo">
+ {{ page.departmentpage.sub_title }}
+ </div>
+ {% endeditable %}
+ {% endif %}-->
+ {{ linked_organization_content.all }}
+ {% if linked_organization_content and research_slug == page.departmentpage.slug %}
+ {% include 'pages/page/includes/linked_organization_content.html' %}
+ {% endif %}
+
+ {% if page.departmentpage.content %}
+ {% editable page.departmentpage.content %}
+ {{ page.departmentpage.content|richtext_filters|safe }}
+ {% endeditable %}
+ {% endif %}
+
+{% endblock %}
+
+{% block page_audio %}
+ {% with page as object %}
+ {{ block.super }}
+ {% endwith %}
+{% endblock %}
+
+{% block page_slider %}
+ {% with page as object %}
+ {{ block.super }}
+ {% endwith %}
+{% endblock %}
+
+{% block page_video %}
+ {% with page as object %}
+ {{ block.super }}
+ {% endwith %}
+{% endblock %}
+
+{% block page_sub_content %}
+ {% with page.blocks.all as blocks %}
+ {% include "core/inc/block.html" %}
+ {% endwith %}
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
+
+{% with page as object %}
+
+ {% block page_class %}
+ custompage
+ {% endblock %}
+
+ {% block body_class %}
+ {% with page.get_ascendants|last as top_level_parent %}
+ {% if top_level_parent.get_content_model.weaving_css_class %}
+ pattern pattern-bg {{ top_level_parent.get_content_model.weaving_css_class }}
+ {% endif %}
+ {% endwith %}
+ {% endblock %}
+
+ {% block page_title %}
+ {% editable page.title %}
+ <h1 class="section-title section-title--uppercase section-title--main">{{ page.title }}</h1>
+ {% endeditable %}
+ {% endblock %}
+
+ {% block page_content %}
+
+ <div class="row">
+
+ {% if page.form.content %}
+ <div class="col-md-8">
+
+ {% if page.form.content %}
+ {% editable page.form.content %}
+ {{ page.form.content|richtext_filters|safe }}
+ {% endeditable %}
+ {% endif %}
+
+ </div>
+ {% endif %}
+ <div class="{% if page.form.content %}col-md-8{% else %}col-md-16{% endif %}">
+
+ {% if request.GET.sent %}
+
+ {% editable page.form.response %}
+ {{ page.form.response|richtext_filters|safe }}
+ {% endeditable %}
+
+ {% else %}
+
+ {% errors_for form %}
+
+ <form class="mezzanine-form form" method="post"{% if form.is_multipart %} enctype="multipart/form-data"{% endif %}>
+ {% fields_for form %}
+ <div class="form-actions">
+ <input class="button" type="submit"
+ value="{% if page.form.button_text %}{{ page.form.button_text }}{% else %}{% trans "Submit" %}{% endif %}">
+ </div>
+ </form>
+ {% endif %}
+
+ </div>
+
+ </div>
+
+ {% endblock %}
+
+{% endwith %}
+
+{% block extra_js %}
+ {{ block.super }}
+ <script>
+ $(function() {$('.mezzanine-form :input:visible:enabled:first').focus();});
+ </script>
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+
+{% load mezzanine_tags staticfiles %}
+
+{% block extra_css %}
+<link rel="stylesheet" href="{% static "mezzanine/css/magnific-popup.css" %}">
+{% endblock extra_css %}
+
+{% block main %}
+{{ block.super }}
+
+{% editable page.gallery.content %}
+{{ page.gallery.content|richtext_filters|safe }}
+{% endeditable %}
+
+<div class="gallery row">
+{% with page.gallery.images.all as images %}
+{% for image in images %}
+<div class="col-xs-4 col-sm-3">
+ <a class="thumbnail" rel="#image-{{ image.id }}" title="{{ image.description }}" href="{{ image.file.url }}">
+ <img class="img-responsive" src="{{ MEDIA_URL }}{% thumbnail image.file 131 75 %}">
+ </a>
+</div>
+{% endfor %}
+{% endwith %}
+</div>
+{% endblock %}
+
+{% block extra_js %}
+{{ block.super }}
+<script src="{% static "mezzanine/js/magnific-popup.js" %}"></script>
+<script>
+$(document).ready(function() {
+ $('.gallery').magnificPopup({
+ delegate: 'a',
+ type: 'image',
+ gallery: {
+ enabled: true,
+ }
+ });
+});
+</script>
+{% endblock %}
--- /dev/null
+{% extends "pages/richtextpage.html" %}
+
+{% block main %}
+<!--
+This template is provided as a custom template for the homepage, for
+when it is configured as an editable page in the navigation tree. Feel
+free to modify it.
+-->
+{{ block.super }}
+{% endblock %}
--- /dev/null
+{% load i18n pages_tags %}
+{% get_language_info_list for LANGUAGES as languages %}
+
+{% spaceless %}
+{% if page_branch_in_menu %}
+ {% for page in page_branch %}
+ {% if page.is_primary %}
+ {% if forloop.first %}
+ <ul class="nav-actions">
+ {% endif %}
+ {% endif %}
+ {% if page.in_menu %}
+ {% if forloop.first and not page.parent.in_menu and not page.is_primary %}
+ {% endif %}
+ <li class="nav-actions__item {% if page.is_current_or_ascendant %}active{% endif %}">
+ <a class="nav-actions__item-link" href="{{ page.get_absolute_url }}">{{ page.title }}</a>
+ </li>
+ {% endif %}
+ {% if page.is_primary %}
+ {% if forloop.last %}
+ <!--<li class="nav-actions__item">
+ {% page_menu "pages/menus/vous_etes.html" %}
+ </li>-->
+ </ul>
+ {% endif %}
+ {% endif %}
+ {% endfor %}
+{% endif %}
+{% endspaceless %}
--- /dev/null
+{% load pages_tags i18n staticfiles mezzanine_tags organization_tags %}
+
+<ol>
+ {% for page in page_branch %}
+ {% ifchanged page.in_menus %}
+ {% for menu in page.in_menus %}
+ {% if page.branch_level == 0 %}
+ <br>
+ <h2>{{ menu|get_mezzanine_menu_name }}</h2>
+ <br>
+ {% endif %}
+ {% endfor %}
+ {% endifchanged %}
+ <li id="ordering_{{ page.id }}">
+ <div class="{% cycle 'row1' 'row2' %}">
+ <a href="#" class="tree-toggle" id="page-{{ page.id }}"
+ {% if not page.has_children %}style="visibility:hidden;"{% endif %}>
+ <span class="icon open">+</span>
+ <span class="icon close">-</span>
+ </a>
+ {% set_page_permissions page %}
+ {% if page.perms.delete %}
+ <a href="{% url "admin:pages_page_delete" page.id %}?fromtree" class="delete"></a>
+ {% else %}
+ <span class="delete" style="background:none;"></span>
+ {% endif %}
+ {% if page.perms.change %}
+ <a href="{% url "admin:pages_page_change" page.id %}{% if not page.is_primary %}?parent={{ page.parent_id }}{% endif %}"
+ class="changelink">{{ page.title.strip|default:" " }}</a>
+ <span> | {{ page.content_model }}</span>
+ {% else %}
+ <span class="uneditable">{{ page.title }}</span>
+ <span> - {{ page.content_model }}</span>
+ {% endif %}
+ <span class="ordering"{% if not page.perms.change %}
+ style="visibility:hidden;"{% endif %}>
+ <img src="{% static settings.MEZZANINE_ADMIN_PREFIX|add:"img/admin/arrow-up.gif" %}">
+ <img src="{% static settings.MEZZANINE_ADMIN_PREFIX|add:"img/admin/arrow-down.gif" %}">
+ </span>
+ {% if page.perms.add %}
+ <select class="addlist" id="addlink-{{ page.id }}">
+ <option value="">{% trans "Add" %} ...</option>
+ {% for model in content_models %}
+ {% if model.perms.add %}
+ <option value="{{ model.add_url }}?parent={{ page.id }}"
+ >{{ model.meta_verbose_name|capfirst }}</option>
+ {% endif %}
+ {% endfor %}
+ </select>
+ {% endif %}
+
+ </div>
+ <br style="clear:both;">
+ {% if page.has_children %}{% page_menu page %}{% endif %}
+ </li>
+ {% endfor %}
+</ol>
--- /dev/null
+{% load i18n pages_tags %}
+
+{% if on_home %}
+ <li>{% trans "Home" %}</li>
+{% else %}
+ {% for page in page_branch %}
+
+ {% if not has_home and page.is_primary and forloop.first %}
+ <li class="breadcrumb__item" id="breadcrumb-menu-home">
+ <a class="breadcrumb__link" href="{% url "home" %}">{% trans "Home" %}</a>
+ </li>
+ {% endif %}
+
+ {% if page.is_current_or_ascendant %}
+ {% if page.is_current %}
+ <li class="breadcrumb__item" id="breadcrumb-menu-{{ page.html_id }}"
+ class="active">{{ page.title }}</li>
+ {% else %}
+ <li class="breadcrumb__item" id="breadcrumb-menu-{{ page.html_id }}">
+ <a class="breadcrumb__link" href="{{ page.get_absolute_url }}">{{ page.title }}</a>
+ </li>
+ {% endif %}
+ {% if page.has_children %}
+ {% page_menu page %}
+ {% else %}
+
+ {% endif %}
+ {% endif %}
+
+ {% endfor %}
+{% endif %}
--- /dev/null
+{% load i18n pages_tags %}
+
+{% spaceless %}
+{% if page_branch_in_menu %}
+ {% if branch_level == 0 %}
+ {% for page in page_branch %}
+ {% if page.in_menu and page.has_children_in_menu %}
+ {% if page.is_primary and page.is_current_or_ascendant %}
+ <ul class="nav-tree nav-tree--level-{{ branch_level }}">
+ <li class="nav-tree__item">
+ <a class="nav-tree__link{% if page.is_current %} active{% endif %}" href="{{ page.get_absolute_url }}">{{ page.title }}</a>
+ {% if page.is_current %}
+ <ul class="nav-tree" data-summary>
+ {% include "pages/menus/current_tree_summary.html" %}
+ </ul>
+ {% endif %}
+ </li>
+ {% endif %}
+ {% if page.is_current_or_ascendant %}
+ {% if page.has_children_in_menu %}
+ {% page_menu page %}
+ {% endif %}
+ {% endif %}
+ {% if page.is_primary and page.is_current_or_ascendant %}
+ </ul>
+ {% endif %}
+ {% endif %}
+ {% endfor %}
+ {% endif %}
+ {% if branch_level == 1 %}
+ {% for page in page_branch %}
+ {% if page.in_menu and page.in_menus|first %}
+ <li class="nav-tree__item">
+ <a class="nav-tree__link{% if page.is_current or page.is_current_or_ascendant %} active{% endif %}" href="{{ page.get_absolute_url }}">{{ page.title }}</a>
+ {% if page.is_current_or_ascendant and page.has_children_in_menu %}
+ <ul class="nav-tree nav-tree--level-{{ branch_level }}">
+ {% page_menu page %}
+ </ul>
+ <ul class="nav-tree" data-summary>
+ {% include "pages/menus/current_tree_summary.html" %}
+ </ul>
+ {% endif %}
+ {% if page.is_current_or_ascendant and not page.has_children_in_menu %}
+ <ul class="nav-tree" data-summary>
+ {% include "pages/menus/current_tree_summary.html" %}
+ </ul>
+ {% endif %}
+ </li>
+ {% endif %}
+ {% endfor %}
+ {% endif %}
+ {% if branch_level == 2 %}
+ {% for page in page_branch %}
+ {% comment %}
+ <li class="nav-tree__item nav-tree__item--sub">
+ <a class="nav-tree__link nav-tree__link--sub" href="{{ page.get_absolute_url }}">{{ page.title }}</a>
+ </li>
+ {% endcomment %}
+ {% endfor %}
+ {% endif %}
+{% endif %}
+{% endspaceless %}
--- /dev/null
+{% load i18n pages_tags %}
+
+{% spaceless %}
+{% if page_branch_in_menu %}
+ {% with page as current_page %}
+ {% if branch_level == 0 %}
+ {% for page in page_branch %}
+ {% if forloop.first %}
+ <ul class="nav-tree nav-tree--level-{{ branch_level }}" data-sticky data-sticky-parent="page" data-sticky-offset="100" data-sticky-detach-at="971">
+ {% endif %}
+ {% if page.in_menu and page.has_children_in_menu %}
+ {% if page.is_primary and page.is_current_or_ascendant %}
+ <li class="nav-tree__item">
+ <a class="nav-tree__link{% if page.is_current %} active{% endif %}" href="{{ page.get_absolute_url }}">{% trans 'Home' %}</a>
+ </li>
+ {% endif %}
+ {% if page.is_current_or_ascendant %}
+ {% if page.has_children_in_menu %}
+ {% page_menu page %}
+ {% endif %}
+ {% endif %}
+ {% if page.is_primary and page.is_current_or_ascendant %}
+ {% endif %}
+ {% elif page.in_menu and current_page.in_menus == page.in_menus %}
+ <li class="nav-tree__item">
+ <a class="nav-tree__link{% if page.is_current %} active{% endif %}" href="{{ page.get_absolute_url }}">{{page.title}}</a>
+ </li>
+ {% endif %}
+ {% if forloop.last %}
+ </ul>
+ {% endif %}
+ {% endfor %}
+ {% endif %}
+ {% if branch_level == 1 %}
+ {% for page in page_branch %}
+ <li class="nav-tree__item">
+ <a class="nav-tree__link{% if page.is_current or page.is_current_or_ascendant %} active{% endif %}" href="{{ page.get_absolute_url }}">{{ page.title }}</a>
+ {% if page.is_current_or_ascendant and page.has_children_in_menu %}
+ <ul class="nav-tree nav-tree--level-{{ branch_level }}">
+ {% page_menu page %}
+ </ul>
+ <ul class="nav-tree" data-summary>
+ {% include "pages/menus/current_tree_summary.html" %}
+ </ul>
+ {% endif %}
+ {% if page.is_current_or_ascendant and not page.has_children_in_menu %}
+ <ul class="nav-tree" data-summary>
+ {% include "pages/menus/current_tree_summary.html" %}
+ </ul>
+ {% endif %}
+ </li>
+ {% endfor %}
+ {% endif %}
+ {% if branch_level == 2 %}
+ {% for page in page_branch %}
+ {% comment %}
+ <li class="nav-tree__item nav-tree__item--sub">
+ <a class="nav-tree__link nav-tree__link--sub" href="{{ page.get_absolute_url }}">{{ page.title }}</a>
+ </li>
+ {% endcomment %}
+ {% endfor %}
+ {% endif %}
+ {% endwith %}
+{% endif %}
+{% endspaceless %}
--- /dev/null
+{% load i18n pages_tags %}
+
+{% spaceless %}
+{% if page_branch_in_menu %}
+ {% if branch_level == 0 %}
+ {% for page in page_branch %}
+ {% if page.in_menu and page.has_children_in_menu %}
+ {% if page.is_primary and page.is_current_or_ascendant %}
+ {% if page.has_children_in_menu %}
+ <ul class="nav-tree nav-tree--level-{{ branch_level }}" data-sticky data-sticky-parent="page" data-sticky-offset="100" data-sticky-detach-at="971">
+ {% endif %}
+ {% if page.is_current_or_ascendant %}
+ {% if page.has_children_in_menu %}
+ {% page_menu page %}
+ {% endif %}
+ {% endif %}
+ {% if page.is_primary and page.is_current_or_ascendant %}
+ </ul>
+ {% else %}
+ <ul class="nav-tree" data-summary>
+ {% include "pages/menus/current_tree_summary.html" %}
+ </ul>
+ {% endif %}
+ {% endif %}
+ {% endif %}
+ {% endfor %}
+ {% elif branch_level == 1 %}
+ {% for page in page_branch %}
+ {% if page.is_current_or_ascendant and page.has_children_in_menu %}
+ <li class="nav-tree__item">
+ <a class="nav-tree__link" href="{{ page.get_absolute_url }}">{% trans 'Home' %}</a>
+ </li>
+ {% page_menu page %}
+ {% endif %}
+ {% if page.is_current_or_ascendant and not page.has_children_in_menu %}
+ <ul class="nav-tree" data-summary>
+ {% include "pages/menus/current_tree_summary.html" %}
+ </ul>
+ {% endif %}
+ {% endfor %}
+ {% elif branch_level == 2 %}
+ {% for page in page_branch %}
+ <li class="nav-tree__item">
+ <a class="nav-tree__link{% if page.is_current or page.is_current_or_ascendant %} active{% endif %}" href="{{ page.get_absolute_url }}">{{ page.title }}</a>
+ {% if page.is_current_or_ascendant %}
+ <ul class="nav-tree" data-summary>
+ {% include "pages/menus/current_tree_summary.html" %}
+ </ul>
+ {% endif %}
+ </li>
+ {% endfor %}
+ {% endif %}
+{% endif %}
+{% endspaceless %}
--- /dev/null
+<li class="nav-tree__item nav-tree__item--sub hide">
+ <a class="nav-tree__link nav-tree__link--sub" href="#"></a>
+</li>
--- /dev/null
+{% load i18n pages_tags %}
+{% get_language_info_list for LANGUAGES as languages %}
+
+{% spaceless %}
+{% if page_branch_in_menu %}
+ {% if branch_level == 0 %}
+ <ul class="menu">
+ {% for page in page_branch %}
+ {% if not has_home and page.is_primary and forloop.first %}
+ <li class="menu__item{% if on_home %} active{% endif %}">
+ <a href="{% url "home" %}" class="menu__item__link">{% trans "Home" %}</a>
+ </li>
+ {% endif %}
+ {% if page.in_menu %}
+ <li class="menu__item{% if page.has_children_in_menu %}dropdown{% endif %}{% if page.is_current_or_ascendant %} active{% endif %}" id="{{ page.html_id }}">
+ <a href="{{ page.get_absolute_url }}" class="menu__item__link" {% if page.has_children_in_menu %} data-toggle="dropdown"{% endif %}>{{ page.title }}{% if page.has_children_in_menu %}<b class="caret"></b>{% endif %}</a>
+ {% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
+ </li>
+ {% endif %}
+ {% endfor %}
+ </ul>
+ {% else %}
+ <ul class="dropdown-menu">
+ {% for page in page_branch %}
+ {% if page.in_menu %}
+ <li class="{% if page.has_children_in_menu %}dropdown-submenu{% endif %}{% if page.is_current_or_ascendant %} active{% endif %}"id="{{ page.html_id }}">
+ <a href="{{ page.get_absolute_url }}">{{ page.title }}</a>
+ {% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
+ </li>
+ {% endif %}
+ {% endfor %}
+ </ul>
+ {% endif %}
+{% endif %}
+{% endspaceless %}
--- /dev/null
+{% load i18n pages_tags staticfiles organization_tags %}
+{% get_language_info_list for LANGUAGES as languages %}
+
+{% spaceless %}
+{% if page_branch_in_menu %}
+ {% for page in page_branch %}
+ {% if page.is_primary %}
+ {% if forloop.first %}
+ <ul class="nav-footer nav-footer--horizontal" role="navigation">
+ {% endif %}
+ {% endif %}
+ {% if page.in_menu %}
+ <li class="nav-footer__item {% if page.is_current_or_ascendant %}active{% endif %}">
+ <a class="nav-footer__item-link" href="{{ page.get_absolute_url }}" title="{{ page.title }}">{{ page.title }}</a>
+
+ {% endif %}
+ </li>
+ {% if page.is_primary %}
+ {% if forloop.last %}
+ </ul>
+ {% endif %}
+ {% endif %}
+ {% endfor %}
+{% endif %}
+{% endspaceless %}
--- /dev/null
+{% load i18n pages_tags %}
+
+{% spaceless %}
+{% if page_branch_in_menu %}
+<ul class="footer-tree-menu-level-{{ branch_level }}">
+ {% for page in page_branch %}
+
+ {% if not has_home and page.is_primary and forloop.first %}
+ <li class="first{% if on_home %} active{% endif %}"
+ id="footer-tree-menu-home">
+ <a href="{% url "home" %}">{% trans "Home" %}</a>
+ </li>
+ {% endif %}
+
+ {% if page.in_menu %}
+ <li class="{% if page.is_current_or_ascendant %}active{% endif %}
+ {% if not top_level and forloop.first %} first{% endif %}
+ {% if forloop.last %} last{% endif %}"
+ id="footer-tree-menu-{{ page.html_id }}">
+ <a href="{{ page.get_absolute_url }}">{{ page.title }}</a>
+ {# remove this if tag to always show all nav items #}
+ {% if page.is_current_or_ascendant and page.has_children_in_menu %}
+ {% page_menu page %}
+ {% endif %}
+ </li>
+ {% endif %}
+
+ {% endfor %}
+</ul>
+{% endif %}
+{% endspaceless %}
--- /dev/null
+{% load i18n pages_tags staticfiles %}
+{% get_language_info_list for LANGUAGES as languages %}
+
+{% spaceless %}
+{% if page_branch_in_menu %}
+ {% for page in page_branch %}
+ {% if page.is_primary %}
+ {% if forloop.first %}
+ <ul class="nav-footer" role="navigation">
+ {% endif %}
+ {% endif %}
+ {% if page.in_menu %}
+ <li class="nav-footer__item {% if page.is_current_or_ascendant %}active{% endif %}">
+ <a class="nav-footer__item-link" href="{{ page.get_absolute_url }}" title="{{ page.title }}">{{ page.title }}</a>
+
+ {% endif %}
+ </li>
+ {% if page.is_primary %}
+ {% if forloop.last %}
+ </ul>
+ {% endif %}
+ {% endif %}
+ {% endfor %}
+{% endif %}
+{% endspaceless %}
--- /dev/null
+{% load i18n pages_tags staticfiles mezzanine_tags organization_tags %}
+{% get_language_info_list for LANGUAGES as languages %}
+
+{% spaceless %}
+{% if page_branch_in_menu %}
+ {% for page in page_branch %}
+ {% if page.is_primary %}
+ {% if forloop.first %}
+ <ul class="nav-header" role="navigation">
+ <li class="nav-header__item menu-btn">
+ <span class="first"></span>
+ <span class="second"></span>
+ </li>
+ <li class="nav-header__item nav-header__item--image-big">
+ <a href="{% url "home" %}" title="{% trans 'Home' %}">
+ {% with host_organization.images|get_type:"logo_header" as images %}
+ {% if images %}
+ {% with images|first as img %}
+ <img src="{{ MEDIA_URL }}{{ img }}" title="{{ img.title }}" width="242" height="70" />
+ {% endwith %}
+ {% endif %}
+ {% endwith %}
+ </a>
+ </li>
+ {% endif %}
+ {% endif %}
+ {% if page.in_menu %}
+ {% if page.content_model == "link" %}
+ {% with page.link.link_images.all|first as link_image %}
+ {% if link_image %}
+ <li class="nav-header__item nav-header__item--image">
+ <a href="{{ page.get_absolute_url }}"{% if 'http' in page.link.slug %} target="_blank"{% endif %} title="{{ page.title }}"><img width="83" height="65" src="{{ MEDIA_URL }}{% thumbnail link_image.image 166 130 %}" /></a>
+ </li>
+ {% else %}
+ <li class="nav-header__item">
+ <a class="nav-header__item-link{% if page.is_current_or_ascendant %} active{% endif %}" href="{{ page.get_absolute_url }}"{% if 'http' in page.link.slug %} target="_blank"{% endif %} title="{{ page.title }}">{{ page.title }}</a>
+ </li>
+ {% endif %}
+ {% endwith %}
+ {% else %}
+ <li class="nav-header__item">
+ <a class="nav-header__item-link{% if page.is_current_or_ascendant %} active{% endif %}" href="{{ page.get_absolute_url }}" title="{{ page.title }}">{{ page.title }}</a>
+ {% if page.has_children_in_menu %}
+ {% page_menu page "pages/menus/header_tree_primary.html" %}
+ {% endif %}
+ </li>
+ {% endif %}
+ {% endif %}
+ {% if page.is_primary %}
+ {% if forloop.last %}
+
+ <li class="nav-header__item nav-header__item--right nav-header__item--separator">
+ {% include "includes/languages.html" %}
+ </li>
+ <li class="nav-header__item nav-header__item--centered nav-header__item--right nav-header__item--no-separator">
+ <a href="#" class="fsxl" data-open-button="search" data-search-button><i class="fa fa-search" aria-hidden="true"></i></a>
+ </li>
+
+ </ul>
+ {% endif %}
+ {% endif %}
+ {% endfor %}
+{% endif %}
+{% endspaceless %}
--- /dev/null
+{% load i18n pages_tags mezzanine_tags media_tags organization_tags staticfiles %}
+{% get_language_info_list for LANGUAGES as languages %}
+
+{% spaceless %}
+{% if page_branch_in_menu %}
+ <div class="nav-header__submenu">
+ <div class="row">
+ <div class="col-md-12">
+ <p>
+ {{ page.departmentpage.description|richtext_filters|safe|truncatechars:415 }}
+ </p>
+ </div>
+ </div>
+ <div class="row">
+ {% for page in page_branch %}
+ {% if page.in_menu %}
+ <ul class="unstyled-list col-sm-3 col-md-3">
+ <li class="nav-header__item-sub nav-header__item-sub--first{% if page.is_current_or_ascendant %} active{% endif %}">
+ <a class="" href="{{ page.get_absolute_url }}" title="{{ page.title }}">{{ page.title }}</a>
+
+ {% endif %}
+ {% if page.has_children_in_menu %}
+ {% page_menu page "pages/menus/header_tree_secondary.html" %}
+ {% endif %}
+ </li>
+ </ul>
+ {% endfor %}
+ </div>
+ </div>
+{% endif %}
+{% endspaceless %}
--- /dev/null
+{% load i18n pages_tags staticfiles %}
+{% get_language_info_list for LANGUAGES as languages %}
+
+{% spaceless %}
+{% if page_branch_in_menu %}
+ {% for page in page_branch %}
+ {% if page.in_menu and page.in_menus|first %}
+ <li class="nav-header__item-sub{% if page.is_current_or_ascendant %} active{% endif %}">
+ <a class="" href="{{ page.get_absolute_url }}" title="{{ page.title }}">{{ page.title }}</a>
+ </li>
+ {% endif %}
+ {% endfor %}
+{% endif %}
+{% endspaceless %}
--- /dev/null
+{% load i18n pages_tags staticfiles %}
+{% get_language_info_list for LANGUAGES as languages %}
+
+{% spaceless %}
+{% if page_branch_in_menu %}
+ {% for page in page_branch %}
+ {% if page.in_menu %}
+ {% include "home/inc/shutter_card.html" with title=page.title description=page.description url_pattern=page.content_model|add:"-detail" slug=page.slug %}
+ {% endif %}
+ {% endfor %}
+{% endif %}
+{% endspaceless %}
--- /dev/null
+{% load i18n pages_tags %}
+
+{% spaceless %}
+{% if page_branch %}
+{% for page in page_branch %}
+
+ {% if not has_home and page.is_primary and forloop.first %}
+ <ul class="mobile-menu">
+ <li><a class="home" href="{% url "home" %}"
+ id="tree-menu-home">{% trans "Home" %}</a></li>
+ {% endif %}
+
+ {% if page.is_current_or_ascendant and not page.is_current_child %}
+ {% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
+ {% endif %}
+
+ {% if page.is_current_child %}
+ <li class="
+ {% if forloop.first %} first{% endif %}
+ {% if forloop.last %} last{% endif %}"
+ id="mobile-menu-{{ page.html_id }}">
+ <a href="{{ page.get_absolute_url }}">{{ page.title }}</a>
+ </li>
+ {% endif %}
+
+ {% if page.is_primary and forloop.last %}
+ </ul>
+ {% endif %}
+
+{% endfor %}
+{% endif %}
+{% endspaceless %}
--- /dev/null
+{% load pages_tags i18n %}
+
+{% spaceless %}
+<ul id="primary-menu" class="nav pull-right">
+ {% for page in page_branch %}
+ {% if not has_home and page.is_primary and forloop.first %}
+ <li id="primary-menu-home" class="first{% if on_home %} active{% endif %}">
+ <a href="{% url "home" %}">{% trans "Home" %}</a>
+ </li>
+ {% endif %}
+ {% if page.in_menu %}
+ <li id="primary-menu-{{ page.html_id }}"
+ class="{% if page.is_current_or_ascendant %}active{% endif %}{% if forloop.last %} last{% endif %}">
+ <a href="{{ page.get_absolute_url }}">{{ page.title }}</a>
+ </li>
+ {% endif %}
+ {% endfor %}
+ <li class="divider-vertical"></li>
+</ul>
+{% endspaceless %}
--- /dev/null
+{% load i18n pages_tags %}
+
+{% spaceless %}
+{% if page_branch_in_menu %}
+<ul class="nav nav-list navlist-menu-level-{{ branch_level }}">
+ {% for page in page_branch %}
+ {% if not has_home and page.is_primary and forloop.first %}
+ <li{% if on_home %} class="active"{% endif %} id="tree-menu-home">
+ <a href="{% url "home" %}">{% trans "Home" %}</a>
+ </li>
+ {% endif %}
+ {% if page.in_menu %}
+ <li class="
+ {% if page.is_current %} active{% endif %}
+ {% if page.is_current_or_ascendant %} active-branch{% endif %}
+ " id="tree-menu-{{ page.html_id }}">
+ <a href="{{ page.get_absolute_url }}">{{ page.title }}</a>
+ {# wrap the next line with 'if page.is_current_or_ascendant' #}
+ {# to only show child pages in the menu for the current page #}
+ {% if page.has_children_in_menu %}{% page_menu page %}{% endif %}
+ </li>
+ {% endif %}
+ {% endfor %}
+</ul>
+{% endif %}
+{% endspaceless %}
--- /dev/null
+{% load pages_tags mezzanine_tags i18n %}
+
+{% if page_branch_in_menu %}
+ {% nevercache %}
+ <select style="display:none;">
+ <option value="">{% trans "You are" %}</option>
+ {% for page in page_branch %}
+ {% if page.in_menu %}
+ <option value="{{ page.get_absolute_url }}">{{ page.title }}</option>
+ {% endif %}
+ {% endfor %}
+ </select>
+ <ul class="role-switcher">
+ <li class="role-switcher__item active">
+ <a href="#">{% trans "You are" %}</a>
+ </li>
+ {% for page in page_branch %}
+ {% if page.in_menu %}
+ <li class="role-switcher__item">
+ <a href="#" data-url="{{ page.get_absolute_url }}">{{ page.title }}</a>
+ </li>
+ {% endif %}
+ {% endfor %}
+ </ul>
+ {% endnevercache %}
+{% endif %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
+
+ {% with page.custompage as object %}
+ {% block page_class %}
+ custompage
+ {% endblock %}
+
+ {% block body_class %}
+ {% with page.get_ascendants|last as top_level_parent %}
+ {% if top_level_parent.get_content_model.weaving_css_class %}
+ pattern pattern-bg {{ top_level_parent.get_content_model.weaving_css_class }}
+ {% endif %}
+ {% endwith %}
+ {% endblock %}
+
+ {% block hero %}
+ {% include "home/inc/hero-small.html" %}
+ {% endblock %}
+
+ {% block page_title %}
+ {% editable page.custompage.title %}
+ <h1 class="hide">{{ page.custompage.title }}</h1>
+ {% endeditable %}
+ {% endblock %}
+
+ {% block page_content %}
+
+ {% with page.get_ascendants|last as top_level_parent %}
+ {% if linked_organization_content and research_slug == top_level_parent.slug %}
+ {% include 'pages/page/includes/linked_organization_content.html' %}
+ {% endif %}
+ {% endwith %}
+
+ {% if page.custompage.sub_title %}
+ {% editable page.custompage.sub_title %}
+ <div class="chapo">
+ {{ page.custompage.sub_title }}
+ </div>
+ {% endeditable %}
+ {% endif %}
+
+ {% if page.custompage.content %}
+ {% editable page.custompage.content %}
+ {{ page.custompage.content|richtext_filters|safe }}
+ {% endeditable %}
+ {% endif %}
+
+ {% if page.get_ascendants|length == 1 %}
+ {% children_pages page.id as childrens %}
+ {% if childrens %}
+ <div class="page__childrens">
+ {% for child in childrens %}
+ {% if child.in_menus.0 %}
+ {% with child as object %}
+ {% include "pages/page/includes/page_box.html" %}
+ {% endwith %}
+ {% endif %}
+ {% endfor %}
+ </div>
+ {% endif %}
+ {% endif %}
+
+ {% endblock %}
+
+ {% block page_audio %}
+ {% with page.custompage as object %}
+ {{ block.super }}
+ {% endwith %}
+ {% endblock %}
+
+ {% block page_slider %}
+ {% with page.custompage as object %}
+ {{ block.super }}
+ {% endwith %}
+ {% endblock %}
+
+ {% block page_video %}
+ {% with page.custompage as object %}
+ {{ block.super }}
+ {% endwith %}
+ {% endblock %}
+
+ {% block page_person_list %}
+ {% for page_custom_person_list_block_inline in page.custompage.page_custom_person_list_block_inlines.all %}
+ {% with page_custom_person_list_block_inline.person_list_block as person_list_block %}
+ {% with "network/inc/person/list_"|add:person_list_block.style|add:"_style.html" as template %}
+ {% include template %}
+ {% endwith %}
+ {% endwith %}
+ {% endfor %}
+ {% endblock %}
+
+ {% block page_sub_content %}
+ {% with page.custompage.blocks.all as blocks %}
+ {% include "core/inc/block.html" %}
+ {% endwith %}
+ {% endblock %}
+
+ {% block page_related_content %}
+ {% with dynamic_content=page.dynamic_content_pages.all|filter_content object=page %}
+ {% include "core/inc/related_content.html" %}
+ {% endwith %}
+ {% endblock %}
+
+{% endwith %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
+
+{% block meta_title %}{% trans "Newsletter" %}{% endblock %}
+
+{% block meta_description %}{% metablock %}
+{{ newsletter.description }}
+{% endmetablock %}{% endblock %}
+
+{% block page_class %}
+ newsletter
+{% endblock %}
+
+{% block page_title %}
+ <h1 class="dotted">{% trans "Newsletter" %}</h1>
+{% endblock %}
+
+{% block page_content %}
+
+ <p>{% trans "Sign up for our monthly newsletter to keep up to date with the institute's activities every month and be eligible to take advantage of special offers from our partners." %}</p>
+ <iframe id="mb_content" width="300" height="150" frameborder="0" name="mb_content" src="http://public.message-business.com/form/46711/84/form.aspx" border="0" style="width: 100%; height: 950px;"></iframe>
+
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/base.html" %}
+{% load i18n mezzanine_tags keyword_tags organization_tags pages_tags %}
+
+{% block meta_title %}{{ page.meta_title }}{% endblock %}
+
+{% block meta_keywords %}{% metablock %}
+{% keywords_for page as keywords %}
+{% for keyword in keywords %}
+ {% if not forloop.first %}, {% endif %}
+ {{ keyword }}
+{% endfor %}
+{% endmetablock %}{% endblock %}
+
+{% block meta_description %}{% metablock %}
+{{ page.description }}
+{% endmetablock %}{% endblock %}
+
+{% block main %}
+
+ {% block hero %}
+ {% endblock %}
+
+ <div class="page page--{% spaceless %}{% block page_class %}{% endblock %}{% endspaceless %}">
+ <div class="container">
+
+ <div class="row">
+
+ <div class="col-sm-16 col-md-12 col-md-push-2 tac">
+ {% block page_title %}
+ {{ page.title }}
+ {% endblock %}
+ </div>
+
+ </div>
+
+ <div class="row">
+
+ <div class="col-md-2 page__sidebar">
+
+ <div style="position: relative;">
+ {% block page_sidebar %}
+ {% endblock %}
+ </div>
+
+ </div>
+
+ <div class="mb2 col-sm-16 col-md-12 page__content" data-summary-content>
+ {% block page_content %}
+ {{ page.content }}
+ {% endblock %}
+ {% block page_link %}
+ {% with object.links.all as links %}
+ {% if links %}
+ {% include 'core/inc/link.html' %}
+ {% endif %}
+ {% endwith %}
+ {% endblock %}
+ {% block page_file %}
+ {% with object.files.all as files %}
+ {% if files %}
+ {% include 'core/inc/files.html' %}
+ {% endif %}
+ {% endwith %}
+ {% endblock %}
+ {% block page_audio %}
+ {% for related in object.playlists.all %}
+ {% with related.playlist as playlist %}
+ {% if playlist.type == 'audio' %}
+ {% include 'media/inc/playlist_audio_detail.html' %}
+ {% endif %}
+ {% endwith %}
+ {% endfor %}
+ {% endblock %}
+ </div>
+
+ </div>
+
+ </div>
+
+ {% block page_slider %}
+ {% with object.images.all|get_type:'page_slider' as slider_images %}
+ {% if slider_images %}
+ {% include 'core/inc/slider.html' %}
+ {% endif %}
+ {% endwith %}
+ {% endblock %}
+
+ {% block page_video %}
+ {% for related in object.playlists.all %}
+ {% with related.playlist as playlist %}
+ {% if playlist.type == 'video' %}
+ {% include 'media/inc/playlist_video_slider.html' %}
+ {% endif %}
+ {% endwith %}
+ {% endfor %}
+ {% endblock %}
+
+ <div class="">
+
+ {% block page_person_list %}
+ {% endblock %}
+
+ {% block page_demo %}
+ {% endblock %}
+
+ {% block page_blog %}
+ {% endblock %}
+
+ {% block page_sub_content %}
+ {% with object.blocks.all as blocks %}
+ {% include "core/inc/block.html" %}
+ {% endwith %}
+ {% endblock %}
+
+ {% block related_project %}
+ {% endblock %}
+
+ {% block products %}
+ {% if page.product_lists.all|length > 0 %}
+ {% for page_product_list in page.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 page_sub_content_2 %}
+ {% endblock %}
+
+ {% block page_person_list_team %}
+ {% endblock %}
+
+ {% block page_sub_content_3 %}
+ {% endblock %}
+
+ {% block logo %}
+ {% with page.images.all|get_type:'logo' as images %}
+ {% if images %}
+ <div class="page__block{% if block.background_color %} page__block--{{ block.background_color }}{% endif %}">
+ <div class="white-bg pb2">
+ <div class="container">
+ <div class="row" data-summary-content>
+ <div class="col-sm-16">
+ <ul class="partners-list">
+ {% include 'core/inc/logo.html' %}
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ {% endif %}
+ {% endwith %}
+ {% endblock %}
+
+ </div>
+
+ </div>
+
+ <div>
+
+ {% block page_related_content %}
+ {% with dynamic_content=page.dynamic_content_pages.all|filter_content object=page %}
+ {% include "core/inc/related_content.html" %}
+ {% endwith %}
+ {% endblock %}
+
+ </div>
+
+
+{% endblock %}
--- /dev/null
+{% load organization_tags %}
+<div class="row">
+ <div class="pull-right">
+ <ul class="linked-organizations">
+ {% for loc in linked_organization_content %}
+ {% if loc.images.all %}
+ {% with loc.images|get_type:"logo_black"|first as img %}
+ <li class="linked-organizations__item">
+ <a href="{{ loc.url }}" title="{{ loc.title }}" target="_blank">
+ <img src="{{ MEDIA_URL }}{{ img }}" title="{{ img.title }}" />
+ </a>
+ </li>
+ {% endwith %}
+ {% endif %}
+ {% endfor %}
+ </ul>
+ </div>
+</div>
--- /dev/null
+{% load organization_tags %}
+{% for lof in linked_organization_footer %}
+ {% if lof.images.all|length > 0 %}
+ <a href="{{ lof.url }}" target="_blank" title="{{ lof.name }}">
+ {% with lof.images|get_type:"logo_white" as img %}
+ {% if img %}
+ {% with img|first as img %}
+ <img class="footer__partner" src="{{ MEDIA_URL }}{{ img }}" title="{{ img.title }}" width="120" height="66" />
+ {% endwith %}
+ {% if not forloop.last %}
+ <span class="footer__partner-separator">&</span>
+ {% endif %}
+ {% endif %}
+ {% endwith %}
+ </a>
+ {% endif %}
+{% endfor %}
--- /dev/null
+{% load organization_tags %}
+<ul class="unstyled-list">
+ {% for lof in linked_organization_footer_2 %}
+ <li>
+ <a class="footer__link" href="{{ lof.url }}" target="_blank" title="{{ lof.name }}">{{ lof.name}} </a>
+ </li>
+ {% endfor %}
+</ul>
--- /dev/null
+{% load mezzanine_tags organization_tags %}
+<a href="{{ object.get_absolute_url }}" title="{{ object.title }}" class="page-box">
+ <div class="page-box__image">
+ {% with object.get_content_model.images.all|get_type:'card' as images %}
+ {% if images %}
+ <img src="{{ MEDIA_URL }}{% thumbnail images.0.file 900 400 %}" />
+ {% else %}
+ {% with page.get_ascendants|last as top_level_parent %}
+ {% if top_level_parent.get_content_model.weaving_css_class %}
+ <div class="page-box__placeholder {{top_level_parent.get_content_model.weaving_css_class}}"></div>
+ {% endif %}
+ {% endwith %}
+ {% endif %}
+ {% endwith %}
+ </div>
+ <div class="page-box__content">
+ <div>
+ <h2 class="page-box__title">{{ object.title }}</h2>
+ <div class="page-box__subtitle">
+ {{ object.get_content_model.sub_title }}
+ </div>
+ </div>
+ </div>
+</a>
--- /dev/null
+{% extends "core/inc/generic_card.html" %}
+{% load i18n pages_tags mezzanine_tags media_tags organization_tags %}
+
+{% block metatitle %}
+ {{ object.title }}
+{% endblock %}
+
+{% block title %}
+ {{ object.title }}
+{% endblock %}
+
+{% block url %}
+ {{ object.get_absolute_url }}
+{% endblock %}
+{% block image %}
+ {% with object.images.all|get_type:'card' as images %}
+ {% if images %}
+ <figure class="article-box__image">
+ <img src="{{ MEDIA_URL }}{% thumbnail images.0.file 427 286 top=0.5 left=article.photo_alignment|get_photo_alignment %}" class="lazyload" />
+ </figure>
+ {% else %}
+ <figure class="article-box__image">
+ {% with object.get_ascendants|last as top_level_parent %}
+ {% if top_level_parent.get_content_model %}
+ <div class="article-box__placeholder {{top_level_parent.get_content_model|slugify}}"></div>
+ {% else %}
+ <div class="article-box__placeholder"></div>
+ {% endif %}
+ {% endwith %}
+ </figure>
+ {% endif %}
+ {% endwith %}
+{% endblock %}
+
+{% block content %}
+ {{ object.description|richtext_filters|safe|truncatechars_html:200 }}
+{% endblock %}
+
+{% block subtitle %}
+ {{ object.sub_title }}
+{% endblock %}
--- /dev/null
+{% extends "core/inc/search_card.html" %}
+{% load i18n mezzanine_tags organization_tags %}
+
+{% block title %}
+ {{ result.title }}
+{% endblock %}
+
+{% block icon %}files-o{% endblock %}
+
+{% block tags %}
+ {% with page.get_ascendants|last as top_level_parent %}
+ {% if top_level_parent.get_content_model.title %}
+ <div class="search-box__tags">
+ {{ top_level_parent.get_content_model.title }}
+ </div>
+ {% elif page.departmentpage %}
+ <div class="search-box__tags">
+ {{ page.departmentpage.title }}
+ </div>
+ {% elif page|classname == "Project" %}
+ <div class="search-box__tags">
+ {% trans 'Project' %}
+ </div>
+ {% else %}
+ <div class="search-box__tags">
+ {% trans 'Page' %}
+ </div>
+ {% endif %}
+ {% endwith %}
+{% endblock %}
+
+{% block url %}
+ {{ page.get_absolute_url }}
+{% endblock %}
+
+{% block content %}
+ {% if result.description != result|stringformat:"s" %}
+ {{ result.description|truncatewords_html:200|safe }}
+ {% endif %}
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
+
+{% block meta_title %}{{ page.meta_title }}{% endblock %}
+
+{% block meta_keywords %}{% metablock %}
+{% keywords_for page as keywords %}
+{% for keyword in keywords %}
+ {% if not forloop.first %}, {% endif %}
+ {{ keyword }}
+{% endfor %}
+{% endmetablock %}{% endblock %}
+
+{% block meta_description %}{% metablock %}
+{{ page.description }}
+{% endmetablock %}{% endblock %}
+
+{% block page_class %}
+ department
+{% endblock %}
+
+{% block body_class %}
+ {% with page.get_ascendants|last as top_level_parent %}
+ {% if top_level_parent.get_content_model.weaving_css_class %}
+ pattern pattern-bg {{ top_level_parent.get_content_model.weaving_css_class }}
+ {% endif %}
+ {% endwith %}
+{% endblock %}
+
+{% block page_title %}
+ {% editable page.projecttopicpage.title %}
+ <h1 class="dotted">{{ page.projecttopicpage.title }}</h1>
+ {% endeditable %}
+{% endblock %}
+
+{% block page_content %}
+ {% with page.get_ascendants|last as top_level_parent %}
+ {% if linked_organization_content and research_slug == top_level_parent.slug %}
+ {% include 'pages/page/includes/linked_organization_content.html' %}
+ {% endif %}
+ {% endwith %}
+
+ {% if page.projecttopicpage.sub_title %}
+ {% editable page.projecttopicpage.sub_title %}
+ <div class="chapo">
+ {{ page.projecttopicpage.sub_title }}
+ </div>
+ {% endeditable %}
+ {% endif %}
+
+ {% with page.projecttopicpage.project_topic as topic %}
+ {% for sub_topic in topic|sub_topics %}
+ <h2 class="dotted">{{ sub_topic.name }}</h2>
+ {% if sub_topic.description %}
+ <p>
+ {{ sub_topic.description }}
+ </p>
+ {% endif %}
+ {% if sub_topic.projects.all %}
+ <div class="row">
+ {% for project in sub_topic.projects.all %}
+ <div class="col-sm-6">
+ <h3 class="mt0 mb0">
+ <a href="{% url 'organization-project-detail' project.slug %}">
+ {{ project }}
+ </a>
+ </h3>
+ <p>
+ {{ project.description }}
+ </p>
+
+ </div>
+ {% endfor %}
+ </div>
+ {% endif %}
+ {% endfor %}
+ {% endwith %}
+
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+
+{% load i18n mezzanine_tags %}
+
+{% block main %}{{ block.super }}
+
+{% editable page.richtextpage.content %}
+{{ page.richtextpage.content|richtext_filters|safe }}
+{% endeditable %}
+
+
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
+
+{% block page_class %}
+ department
+{% endblock %}
+
+{% block body_class %}
+ {% with page.get_ascendants|last as top_level_parent %}
+ {% if top_level_parent.get_content_model.weaving_css_class %}
+ pattern pattern-bg {{ top_level_parent.get_content_model.weaving_css_class }}
+ {% endif %}
+ {% endwith %}
+{% endblock %}
+
+{% block page_title %}
+ {% editable page.title %}
+ <h1 class="dotted">{{ page.title }}</h1>
+ {% endeditable %}
+{% endblock %}
+
+{% block page_content %}
+ {% with page.get_ascendants|last as top_level_parent %}
+ {% if linked_organization_content and research_slug == top_level_parent.slug %}
+ {% include 'pages/page/includes/linked_organization_content.html' %}
+ {% endif %}
+ {% endwith %}
+ {% if page.teampage.sub_title %}
+ {% editable page.teampage.sub_title %}
+ <div class="chapo">
+ {{ page.teampage.sub_title }}
+ </div>
+ {% endeditable %}
+ {% endif %}
+
+ {% if page.teampage.content %}
+ {% editable page.teampage.content %}
+ {{ page.teampage.content|richtext_filters|safe }}
+ {% endeditable %}
+ {% endif %}
+
+ {% if page.get_ascendants|length == 1 %}
+ {% children_pages page.id as childrens %}
+ {% if childrens %}
+ <div class="page__childrens">
+ {% for children in childrens %}
+ {% with children as object %}
+ {% include "pages/page/includes/page_box.html" %}
+ {% endwith %}
+ {% endfor %}
+ </div>
+ {% endif %}
+ {% endif %}
+
+{% endblock %}
+
+{% block page_audio %}
+ {% with page as object %}
+ {{ block.super }}
+ {% endwith %}
+{% endblock %}
+
+{% block page_slider %}
+ {% with page as object %}
+ {{ block.super }}
+ {% endwith %}
+{% endblock %}
+
+{% block page_video %}
+ {% with page as object %}
+ {{ block.super }}
+ {% endwith %}
+{% endblock %}
+
+{% block page_sub_content %}
+ {% with page.blocks.all|slice:'1' as blocks %}
+ {% include "core/inc/block.html" %}
+ {% endwith %}
+{% endblock %}
+
+{% block related_project %}
+ {% if page.teampage.team.leader_projects.published or page.teampage.team.partner_projects.published %}
+ <div class="white-bg pb2">
+ <hr class="mt0" />
+ <div class="container">
+ {% with page.teampage.team.partner_projects.published|get_type:"internal" as projects %}
+ {% if projects %}
+ <div class="row">
+ <div class="col-sm-9 col-sm-push-3 col-lg-8 col-lg-push-2 white-bg" data-summary-content>
+ <h2 class="dotted">{% trans "Research topics and related projects" %}</h2>
+ {% include 'projects/inc/project_list.html' %}
+ </div>
+ </div>
+ {% endif %}
+ {% endwith %}
+ {% with page.teampage.team.leader_projects.published|get_type:"external" as leader_projects %}
+ {% with page.teampage.team.partner_projects.published|get_type:"external" as partner_projects %}
+ {% if leader_projects or partner_projects %}
+ <div class="row">
+ <div class="col-sm-9 col-sm-push-3 col-lg-8 col-lg-push-2 white-bg" data-summary-content>
+ <h2 class="dotted">{% trans "European and national projects" %}</h2>
+ {% with leader_projects as projects %}
+ {% include 'projects/inc/project_list.html' %}
+ {% endwith %}
+ {% with partner_projects as projects %}
+ {% include 'projects/inc/project_list.html' %}
+ {% endwith %}
+ </div>
+ </div>
+ {% endif %}
+ {% endwith %}
+ {% endwith %}
+ </div>
+ <hr class="mt0" />
+ </div>
+ {% endif %}
+{% endblock %}
+
+
+{% block page_sub_content_2 %}
+ {% with page.blocks.all|slice_ng:'1:-2' as blocks %}
+ {% include "core/inc/block.html" %}
+ {% endwith %}
+{% endblock %}
+
+{% block page_person_list_team %}
+ {% activity_statuses as statuses %}
+ {% if statuses|length > 0 %}
+ <div class="page__block page__block--yellow">
+ <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">{% trans 'Team' %}</h2><br>
+ {% for status in statuses %}
+ {% with page.teampage.team|get_team_persons:status as persons %}
+ {% if persons %}
+ <strong>{% if persons|length == 1 %}{{ status.name }}{% else %}{{ status.description }}{% endif %} : </strong>
+ {% for person in persons %}
+ <a href="{% url 'organization-network-person-detail' person.slug %}">{{ person.title }}</a>{% if not forloop.last %}, {% endif %}
+ {% endfor %}
+ <br/>
+ {% endif %}
+ {% endwith %}
+ {% endfor %}
+ </div>
+ </div>
+ </div>
+ </div>
+ {% endif %}
+{% endblock %}
+
+{% block page_sub_content_3 %}
+ {% with page.blocks.all|slice_ng:'-1' as blocks %}
+ {% include "core/inc/block.html" %}
+ {% endwith %}
+{% endblock %}
--- /dev/null
+{% extends "core/inc/generic_card.html" %}
+{% load i18n pages_tags mezzanine_tags media_tags organization_tags %}
+
+{% block metatitle %}
+ {{ object.title }}
+{% endblock %}
+
+{% block title %}
+ {{ object.title }}
+{% endblock %}
+
+{% block url %}
+ {{ object.get_absolute_url }}
+{% endblock %}
+{% block image %}
+ {% with object.images.all|get_type:'card' as images %}
+ {% if images %}
+ <figure class="article-box__image">
+ <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-original="{{ MEDIA_URL }}{% thumbnail images.0.file 427 286 top=0.5 left=article.photo_alignment|get_photo_alignment %}" class="lazyload" />
+ </figure>
+ {% else %}
+ <figure class="article-box__image">
+ {% with object.get_ascendants|last as top_level_parent %}
+ {% if top_level_parent.get_content_model %}
+ <div class="article-box__placeholder {{top_level_parent.get_content_model|slugify}}"></div>
+ {% else %}
+ <div class="article-box__placeholder"></div>
+ {% endif %}
+ {% endwith %}
+ </figure>
+ {% endif %}
+ {% endwith %}
+{% endblock %}
+
+{% block content %}
+ {{ object.description|richtext_filters|safe|truncatechars_html:200 }}
+{% endblock %}
+
+{% block subtitle %}
+ {{ object.sub_title }}
+{% endblock %}
--- /dev/null
+{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
+{% if blocks %}
+ <div class="white-bg pb2">
+ {% for block in blocks %}
+ {% if block.content %}
+ {% if not forloop.first and block.with_separator %}
+ <hr />
+ {% endif %}
+ <div class="page__block{% if block.background_color %} page__block--{{ block.background_color }}{% endif %}">
+ <div class="container">
+ <div class="row" data-summary-content>
+ <div class="col-sm-9 col-sm-push-3 col-lg-8 col-lg-push-2">
+ {% editable block.title %}
+ <h2 class="dotted">{{ block.title }}</h2>
+ {% endeditable %}
+ {% if block.description %}
+ <div class="chapo">
+ {% editable block.description %}
+ {{ block.description }}
+ {% endeditable %}
+ </div>
+ {% endif %}
+ {% if block.login_required and not user.is_authenticated %}
+ <div class="chapo">
+ {% trans "Please login to get links to the data" %}<br><br>
+ <a class="button" href="{% url 'login' %}?next={{ request.path }}" title="Login">{% trans "Login" %}</a>
+ </div>
+ {% else %}
+ {% if block.content %}
+ {% editable block.content %}
+ {{ block.content|richtext_filters|safe }}
+ {% endeditable %}
+ {% endif %}
+ {% endif %}
+ </div>
+ </div>
+ </div>
+ </div>
+ {% endif %}
+ {% endfor %}
+ {% if blocks.last %}
+ <hr class="mt0" />
+ {% endif %}
+ </div>
+{% endif %}
--- /dev/null
+<div class="row">
+ {% for project in projects %}
+ <div class="col-sm-6">
+ <h3 class="mt0 mb0">
+ <a href="{% url 'organization-project-detail' project.slug %}">
+ {{ project }}
+ </a>
+ </h3>
+ <p>
+ {{ project.description }}
+ </p>
+ </div>
+ {% endfor %}
+</div>
--- /dev/null
+{% extends "core/inc/generic_card.html" %}
+{% load i18n pages_tags mezzanine_tags media_tags organization_tags %}
+
+{% block metatitle %}
+ {{ object.title }}
+{% endblock %}
+
+{% block title %}
+ {{ object.title }}
+{% endblock %}
+
+{% block url %}
+ {{ object.get_absolute_url }}
+{% endblock %}
+{% block image %}
+ {% with object.images.all|get_type:'card' as images %}
+ {% if images %}
+ <figure class="article-box__image">
+ <img src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-original="{{ MEDIA_URL }}{% thumbnail images.0.file 427 286 top=0.5 left=article.photo_alignment|get_photo_alignment %}" class="lazyload" />
+ </figure>
+ {% endif %}
+ {% endwith %}
+{% endblock %}
+
+{% block content %}
+ {{ object.description|richtext_filters|safe|truncatechars_html:200 }}
+{% endblock %}
+
+{% block subtitle %}
+ {{ object.sub_title }}
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
+
+{% block meta_title %}{% trans "Demo" %}{% endblock %}
+
+{% block meta_description %}
+ {% metablock %}
+ {{ object.description }}
+ {% endmetablock %}
+{% endblock %}
+
+{% block page_class %}
+ projectblogpage
+{% endblock %}
+
+{% block breadcrumb_menu %}
+ {{ block.super }}
+ <li class="breadcrumb__item"><a class="breadcrumb__link" href="{% url 'organization-project-detail' object.project.slug %}">{{ object.project.title }}</a></li>
+ <li class="breadcrumb__item active">{{ object.title }}</li>
+{% endblock %}
+
+{% block page_title %}
+ {% editable project.title %}
+ <h1 class="dotted">{{ object.title }}</h1>
+ {% endeditable %}
+
+ {% if object.description %}
+ {% editable object.description %}
+ <div class="chapo">
+ {{ object.description }}
+ </div>
+ {% endeditable %}
+ {% endif %}
+{% endblock %}
+
+{% block page_sidebar %}
+{% endblock %}
+
+{% block page_slider %}
+{% endblock %}
+
+{% block page_content %}
+ {% if object.content %}
+ {% editable object.content %}
+ {{ object.content|richtext_filters|safe }}
+ {% endeditable %}
+ {% endif %}
+ {% if object.login_required_content and not user.is_authenticated %}
+ <div class="chapo" id="login_required_content">
+ {% trans "Please login to get more data." %}<br><br>
+ <a class="button" href="{% url 'login' %}?next={{ request.path }}#login_required_content" title="Login">{% trans "Login" %}</a>
+ </div>
+ {% else %}
+ {% editable block.content %}
+ {{ object.login_required_content|richtext_filters|safe }}
+ {% endeditable %}
+ {% endif %}
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load i18n mezzanine_tags keyword_tags pages_tags organization_tags %}
+
+{% block meta_title %}{% trans "Demo" %}{% endblock %}
+
+{% block meta_description %}
+ {% metablock %}
+ {{ demo.description }}
+ {% endmetablock %}
+{% endblock %}
+
+{% block page_class %}
+ demo
+{% endblock %}
+
+{% block breadcrumb_menu %}
+ {{ block.super }}
+ <li class="breadcrumb__item active">{% trans "Demos" %}</li>
+ <li class="breadcrumb__item active">{{ demo.title }}</li>
+{% endblock %}
+
+{% block page_title %}
+ {% editable project.title %}
+ <h1 class="dotted">{{ demo.title }}</h1>
+ {% endeditable %}
+
+ {% if demo.description %}
+ {% editable demo.description %}
+ <div class="chapo">
+ {{ demo.description }}
+ </div>
+ {% endeditable %}
+ {% endif %}
+ <br>
+ <b>{% trans "Project" %}</b> : <a href="{% url 'organization-project-detail' demo.project.slug %}">{{ demo.project.title }}</a><br>
+ <b>{% trans "Authors" %}</b> : {% for author in demo.authors.all %}<a href="{% url 'organization-project-detail' demo.project.slug %}">{{ author }}</a>{% endfor %}
+
+{% endblock %}
+
+{% block page_sidebar %}
+{% endblock %}
+
+{% block page_slider %}
+<div style="position: relative;">
+ <iframe width="100%" height="1080px" scrolling="auto" src="{% if demo.url %}{{ demo.url }}{% else %}{{ demo.relative_url }}{% endif %}" frameborder="0" allowfullscreen=""></iframe>
+</div>
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/pages/page.html" %}
+{% load mezzanine_tags keyword_tags i18n organization_tags pages_tags %}
+
+{% block meta_title %}{{ object.meta_title }}{% endblock %}
+
+{% block meta_keywords %}{% metablock %}
+{% keywords_for object as keywords %}
+{% for keyword in keywords %}
+ {% if not forloop.first %}, {% endif %}
+ {{ keyword }}
+{% endfor %}
+{% endmetablock %}{% endblock %}
+
+{% block page_class %}
+ object
+{% endblock %}
+
+{% block body_class %}
+ pattern pattern-bg {{ department.pages.all.0.weaving_css_class }}
+{% endblock %}
+
+{% block breadcrumb_menu %}
+ {{ block.super }}
+ <li class="breadcrumb__item active">{{ object.title }}</li>
+{% endblock %}
+
+{% block page_tags %}
+
+ {% comment %}
+ {% if department %}
+ <div class="tag dashed dashed--yellow">
+ {{ department.pages.all.0.title }}
+ </div>
+ {% endif %}
+ <div class="tag tag--category">
+ {% trans 'Project' %}
+ </div>
+ {% endcomment %}
+
+{% endblock %}
+
+{% block page_title %}
+
+ {% editable object.title %}
+ <h1 class="dotted">{{ object.title }}</h1>
+ {% endeditable %}
+
+ {% with page.get_ascendants|last as top_level_parent %}
+ {% if linked_organization_content and research_slug == top_level_parent.slug %}
+ {% include 'pages/page/includes/linked_organization_content.html' %}
+ {% endif %}
+ {% endwith %}
+
+ {% if object.description %}
+ {% editable object.description %}
+ <div class="chapo">
+ {{ object.description }}
+ </div>
+ {% endeditable %}
+ {% endif %}
+
+{% endblock %}
+
+{% block page_content %}
+ {% if object.content %}
+ {% editable object.content %}
+ {{ object.content|richtext_filters|safe }}
+ {% endeditable %}
+ {% endif %}
+{% endblock %}
+
+{% block page_sidebar %}
+ <ul class="nav-tree nav-tree--level-{{ branch_level }}" data-sticky data-sticky-parent="row" data-sticky-offset="100" data-sticky-detach-at="971">
+ <li class="nav-tree__item">
+ <a class="nav-tree__link" href="{{ page.get_ascendants.0.get_absolute_url }}">{% trans "Home" %}</a>
+ </li>
+ <li class="nav-tree__item">
+ <a class="nav-tree__link" href="{{ page.get_absolute_url }}">{{ page.title }}</a>
+ </li>
+ <li class="nav-tree__item">
+ <a class="nav-tree__link active" href="{{ page.get_absolute_url }}">{{ object.title }}</a>
+ <ul class="nav-tree" data-summary>
+ <li class="nav-tree__item nav-tree__item--sub hide">
+ <a class="nav-tree__link nav-tree__link--sub" href="#"></a>
+ </li>
+ </ul>
+ </li>
+ </ul>
+{% endblock %}
+
+{% block page_link %}
+ {% with object.links.all as links %}
+ {% if links %}
+ {% include 'core/inc/link.html' %}
+ {% endif %}
+ {% endwith %}
+{% endblock %}
+
+{% block page_audio %}
+ {% with object as object %}
+ {{ block.super }}
+ {% endwith %}
+{% endblock %}
+
+{% block page_slider %}
+ {% with object as object %}
+ {{ block.super }}
+ {% endwith %}
+{% endblock %}
+
+{% block page_video %}
+ {% with object as object %}
+ {{ block.super }}
+ {% endwith %}
+{% endblock %}
+
+{% block page_sub_content %}
+
+ {% if object.type == 'external' %}
+ <div class="white-bg pb2">
+ <hr class="mt0 invisible" />
+ <div class="page__block page__block--yellow">
+ <div class="container">
+ <div class="row">
+ <div class="col-sm-12 col-lg-10 col-lg-push-1">
+ <div class="row">
+ <div class="col-sm-6">
+ <div class="project-details">
+ <h3 class="dotted project-details__title">{% trans "Project details" %}</h3>
+
+ <div>
+ {% if object.program %}
+ <div class="project-details__item">
+ <div class="project-details__item-title">
+ {% trans "Program" %}
+ </div>
+ <div class="project-details__item-desc">
+ {{ object.program }}
+ </div>
+ </div>
+ {% endif %}
+
+ {% if object.program_type %}
+ <div class="project-details__item">
+ <div class="project-details__item-title">
+ {% trans "Program type" %}
+ </div>
+ <div class="project-details__item-desc">
+ {{ object.program_type }}
+ </div>
+ </div>
+ {% endif %}
+
+ <div class="project-details__item">
+ <div class="project-details__item-title">
+ {% trans "Beginning" %}
+ </div>
+ <div class="project-details__item-desc">
+ {{ object.date_from }}
+ </div>
+ </div>
+
+ <div class="project-details__item">
+ <div class="project-details__item-title">
+ {% trans "End" %}
+ </div>
+ <div class="project-details__item-desc">
+ {{ object.date_to }}
+ </div>
+ </div>
+
+ <div class="project-details__item">
+ <div class="project-details__item-title">
+ {% trans "Status" %}
+ </div>
+ <div class="project-details__item-desc">
+ {{ object.object_status }}
+ </div>
+ </div>
+
+ {% if object.website %}
+ <div class="project-details__item">
+ <div class="project-details__item-title">
+ {% trans "Website" %}
+ </div>
+ <div class="project-details__item-desc">
+ <a href="{{ object.website }}" target="_blank" title="{{ object.title }}">{{ object.website }}</a>
+ </div>
+ </div>
+ {% endif %}
+
+ <div class="project-details__logo">
+ {% with object.images.all|get_type:'logo' as images %}
+ {% include 'core/inc/logo.html' %}
+ {% endwith %}
+ </div>
+
+ </div>
+ </div>
+ </div>
+ <div class="col-sm-6">
+ <div class="project-details">
+ <h3 class="dotted project-details__title">{% trans "Participants" %}</h3>
+
+ <div>
+
+ {% if object.lead_team or object.lead_organization %}
+ <div class="project-details__item">
+ {% if object.lead_team %}
+ <div class="project-details__item-title">
+ {% trans "Project lead team" %}
+ </div>
+ <div class="project-details__item-desc">
+ <a href="{% url "page" object.lead_team.pages.all.0 %}">{{ object.lead_team.short }}</a>
+ </div>
+ {% elif object.lead_organization %}
+ <div class="project-details__item-title">
+ {% trans "Project lead organization" %}
+ </div>
+ <div class="project-details__item-desc">
+ {% if object.lead_organization.url %}
+ <a href="{{ object.lead_organization.url }}" target="_blank" title="{{ object.lead_organization }}">
+ {% endif %}
+ {{ object.lead_organization }}
+ {% if object.lead_organization.url %}
+ </a>
+ {% endif %}
+ </div>
+ {% endif %}
+ </div>
+ {% endif %}
+
+ <div class="project-details__item">
+ <div class="project-details__item-title">
+ {% trans "Partners" %}
+ </div>
+ <div class="project-details__item-desc">
+ {% for organization in object.organizations.all %}
+ {% if organization.url %}
+ <a href="{{ organization.url }}" target="_blank" title="{{ organization }}">
+ {% endif %}
+ {{ organization }}<br>
+ {% if organization.url %}
+ </a>
+ {% endif %}
+ {% endfor %}
+ </div>
+
+ <div class="project-details__item-title">
+ {% trans "teams" %} ({{ host_organization }})
+ </div>
+ <div class="project-details__item-desc">
+ {% for team in object.teams.all %}
+ {% if team.pages.all %}
+ <a href="{% url "page" team.pages.all.0.slug %}">{{ team.short }}</a><br>
+ {% endif %}
+ {% endfor %}
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ {% endif %}
+
+ {% with object.blocks.all as blocks %}
+ {% include "projects/inc/project_block.html" %}
+ {% endwith %}
+{% endblock %}
+
+{% block page_demo %}
+{% if object.demos.all %}
+<div class="page__block{% if block.background_color %} page__block--{{ block.background_color }}{% endif %}">
+ <hr class="mt0">
+ <div class="white-bg mb2">
+ <div class="container">
+ <div class="row" data-summary-content>
+ <div class="col-sm-9 col-sm-push-3 col-lg-8 col-lg-push-2">
+ <ul>
+ <h2>{% trans "Demos" %}</h2>
+ {% for demo in object.demos.all %}
+ <li><a href="{% url 'organization-project-demo-detail' demo.slug %}">{{ demo.title }}</a></li>
+ {% endfor %}
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
+{% endif %}
+{% endblock %}
+
+{% block page_blog %}
+{% if object.blog_pages.all %}
+<div class="page__block{% if block.background_color %} page__block--{{ block.background_color }}{% endif %}">
+ <hr class="mt0">
+ <div class="white-bg mb2">
+ <div class="container">
+ <div class="row" data-summary-content>
+ <div class="col-sm-9 col-sm-push-3 col-lg-8 col-lg-push-2">
+ <ul>
+ <h2>{% trans "Blog Pages" %}</h2>
+ {% for blog_page in object.blog_pages.all %}
+ <li><a href="{% url 'organization-project-blogpage-detail' blog_page.slug %}">{{ blog_page.title }}</a></li>
+ {% endfor %}
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+</div>
+{% endif %}
+{% endblock %}
+
+{% block logo %}
+ {% if object.organizations.all|length > 0 %}
+ <div class="page__block{% if block.background_color %} page__block--{{ block.background_color }}{% endif %}">
+ <div class="white-bg pb2">
+ <div class="container">
+ <div class="row" data-summary-content>
+ <div class="col-sm-9 col-sm-push-3 col-lg-8 col-lg-push-2">
+ <ul class="partners-list">
+ {% if object.lead_organization %}
+ {% with object.lead_organization.images.all|get_type:'logo' as images %}
+ {% include 'core/inc/logo.html' %}
+ {% endwith %}
+ {% endif %}
+ {% for organization in object.organizations.all %}
+ {% with organization.images.all|get_type:'logo' as images %}
+ {% include 'core/inc/logo.html' %}
+ {% endwith %}
+ {% endfor %}
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ {% endif %}
+{% endblock %}
+
+{% block page_related_content %}
+ {% with dynamic_content=object.dynamic_content_object.all|filter_content object=object %}
+ {% include "core/inc/related_content.html" %}
+ {% endwith %}
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/base.html" %}
+
+{% load i18n mezzanine_tags organization_tags %}
+
+{% block meta_title %}{% trans "Search Results" %}{% endblock %}
+{% block title %}{% trans "Search Results" %}{% endblock %}
+{% block extra_head %}
+<meta name="robots" content="noindex">
+{% endblock %}
+
+{% block main %}
+ <div class="page page--search">
+ <div class="container">
+ <div class="row">
+ <div class="col-sm-16 col-md-10 col-md-push-3 tac">
+ <form action="{% url "search" %}" role="search" class="search-form mb4">
+ <input class="form-control" placeholder="{% trans "Type something" %}" type="text" name="q" value="{{ request.GET.q }}">
+ <button type="submit">
+ <i class="fa fa-search" aria-hidden="true"></i>
+ </button>
+ </form>
+ </div>
+ </div>
+
+ <div class="row">
+
+ <div class="col-md-3 page__sidebar" style="display: none;">
+
+ <div style="position: relative;">
+ <ul class="nav-tree nav-tree--level-0" data-sticky data-sticky-parent="row" data-sticky-offset="100" data-sticky-detach-at="971">
+ {% for key,value in filter_dict.items %}
+ <li class="nav-tree__item">
+ <a class="nav-tree__link nav-tree__link--filter{% if search_model == key %} active{% endif %}" href="{% if search_model == key %}{{ cancel_filter_url }}{% else %}{{ value.url }}{% endif %}">
+ {{ value.verbose_name }} ({{ value.count }}){% if search_model == key %}<i class="fa fa-times"></i>{% endif %}
+ </a>
+ </li>
+ {% endfor %}
+ </ul>
+ </div>
+
+ </div>
+
+ <div class="col-md-10 col-md-push-3 page__content" data-summary-content>
+ <div class="page__content">
+ {% for result in results.object_list %}
+ {# result|classname #}
+ {% if result|classname == 'Event' %}
+ {% with result as event %}
+ {% include 'agenda/includes/event_search.html' %}
+ {% endwith %}
+ {% elif result|classname == 'Playlist' %}
+ {% with result as playlist %}
+ {% include 'media/inc/playlist_search.html' %}
+ {% endwith %}
+ {% elif result|classname == 'Product' %}
+ {% with result as product %}
+ {% include 'shop/product/includes/product_search.html' %}
+ {% endwith %}
+ {% else %}
+ {% with result as page %}
+ {% include 'pages/page/includes/page_search.html' %}
+ {% endwith %}
+ {% endif %}
+ {% endfor %}
+ <p>
+ {% if results.paginator.count == 0 %}
+ {% blocktrans %}No results were found matching your query: {{ query }}{% endblocktrans %}
+ {% endif %}
+ </p>
+
+ </div>
+ </div>
+
+ </div>
+
+
+ </div>
+
+ {% pagination_for results %}
+
+ </div>
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/base.html" %}
--- /dev/null
+{% extends "shop/checkout.html" %}
+{% load staticfiles i18n mezzanine_tags %}
+
+{% block extra_head %}
+{{ block.super }}
+<script src="{% static "cartridge/js/shipping_fields.js" %}"></script>
+{% endblock %}
+
+{% block fields %}
+{% if request.cart.has_items %}
+{% if not request.user.is_authenticated %}
+{% ifinstalled mezzanine.accounts %}
+<p>
+{% url "login" as login_url %}
+{% url "signup" as signup_url %}
+{% with request.path as next %}
+{% blocktrans %}
+If you have an existing account or would like to create one, please
+<a href="{{ login_url }}?next={{ next }}">log in</a> or
+<a href="{{ signup_url }}?next={{ next }}">sign up</a>.
+{% endblocktrans %}
+{% endwith %}
+</p>
+{% endifinstalled %}
+{% endif %}
+
+{% errors_for form %}
+
+<fieldset>
+ <legend>{% trans "Billing Details" %}</legend>
+ {% fields_for form.billing_detail_fields %}
+</fieldset>
+
+<fieldset>
+ <legend>{% trans "Delivery Details" %}</legend>
+ {% fields_for form.same_billing_shipping_field %}
+ <div id="shipping_fields">{% fields_for form.shipping_detail_fields %}</div>
+ {% fields_for form.additional_instructions_field %}
+ {% fields_for form.remember_field %}
+</fieldset>
+
+{% if not settings.SHOP_CHECKOUT_STEPS_SPLIT and settings.SHOP_PAYMENT_STEP_ENABLED %}
+{% include "shop/includes/payment_fields.html" %}
+{% endif %}
+
+{% fields_for form.other_fields %}
+
+{% endif %}
+{% endblock %}
--- /dev/null
+{% extends "shop/starts_eu/base.html" %}
+{% load mezzanine_tags shop_tags i18n %}
+
+{% block meta_title %}{% trans "Your Cart" %}{% endblock %}
+{% block title %}{% trans "Your Cart" %}{% endblock %}
+{% block body_id %}cart{% endblock %}
+
+{% block breadcrumb_menu %}
+{{ block.super }}
+<li>{% trans "Your Cart" %}</li>
+{% endblock %}
+
+{% block main %}
+{% if cart_formset.forms %}
+<form method="post" class="cart-form">
+{% csrf_token %}
+{% if cart_formset.errors %}
+{% for error in cart_formset.errors %}
+{% if error.values.0 %}{{ error.values.0 }}{% endif %}
+{% endfor %}
+{% endif %}
+{{ cart_formset.management_form }}
+<table class="table table-striped">
+ <thead>
+ <tr>
+ <th colspan="2" class="left">{% trans "Item" %}</th>
+ <th>{% trans "Unit Price" %}</th>
+ <th class="center">{% trans "Qty" %}</th>
+ <th>{% trans "Price" %}</th>
+ <th class="center">{% trans "Remove?" %}</th>
+ </tr>
+ </thead>
+ <tbody>
+ {% for form in cart_formset.forms %}
+ {% with form.instance as item %}
+ <tr>
+ <td width="30">
+ {{ form.id }}
+ {% if item.image %}
+ <a href="{{ item.get_absolute_url }}">
+ <img alt="{{ item.description }}" src="{{ MEDIA_URL }}{% thumbnail item.image 30 30 %}">
+ </a>
+ {% endif %}
+ </td>
+ <td class="left">
+ <a href="{{ item.get_absolute_url }}">{{ item.description }}</a>
+ </td>
+ <td>{{ item.unit_price|currency }}</td>
+ <td class="quantity">{{ form.quantity }}</td>
+ <td>{{ item.total_price|currency }}</td>
+ <td class="center">{{ form.DELETE }}</td>
+ </tr>
+ {% endwith %}
+ {% endfor %}
+ <tr>
+ <td colspan="5">{% order_totals %}</td>
+ <td> </td>
+ </tr>
+ </tbody>
+</table>
+
+<div class="form-actions">
+ <a href="{% url "shop_checkout" %}" class="btn btn-primary btn-lg pull-right">
+ {% if request.session.order.step %}{% trans "Return to Checkout" %}{% else %}{% trans "Go to Checkout" %}{% endif %}
+ </a>
+ <input type="submit" name="update_cart" class="btn btn-default btn-lg pull-left" value="{% trans "Update Cart" %}">
+</div>
+</form>
+
+{% if discount_form %}
+<form method="post" class="discount-form col-md-12 text-right">
+ {% fields_for discount_form %}
+ <input type="submit" class="btn btn-default" value="{% trans "Apply" %}">
+</form>
+{% endif %}
+
+{% if settings.SHOP_USE_UPSELL_PRODUCTS %}
+{% with request.cart.upsell_products as upsell_products %}
+{% if upsell_products %}
+<h2>{% trans "You may also like:" %}</h2>
+<div class="row">
+ {% for product in upsell_products %}
+ <div class="col-xs-6 col-sm-4 col-md-3 product-thumb">
+ <a class="thumbnail" href="{{ product.get_absolute_url }}">
+ {% if product.image %}
+ <img src="{{ MEDIA_URL }}{% thumbnail product.image 90 90 %}">
+ {% endif %}
+ <div class="caption">
+ <h6>{{ product }}</h6>
+ <div class="price-info">
+ {% if product.has_price %}
+ {% if product.on_sale %}
+ <span class="old-price">{{ product.unit_price|currency }}</span>
+ {% trans "On sale:" %}
+ {% endif %}
+ <span class="price">{{ product.price|currency }}</span>
+ {% else %}
+ <span class="coming-soon">{% trans "Coming soon" %}</span>
+ {% endif %}
+ </div>
+ </div>
+ </a>
+ </div>
+ {% endfor %}
+</div>
+{% endif %}
+{% endwith %}
+{% endif %}
+
+{% else %}
+<p>{% trans "Your Cart is empty." %}</p>
+{% endif %}
+{% endblock %}
--- /dev/null
+{% extends "shop/starts_eu/base.html" %}
+{% load shop_tags mezzanine_tags i18n %}
+
+{% block meta_title %}{% trans "Checkout" %} - {{ step_title }}{% endblock %}
+{% block title %}{% trans "Checkout" %} - {% trans "Step" %} {{ step }} {% trans "of" %} {{ steps|length }}{% endblock %}
+{% block body_id %}checkout{% endblock %}
+
+{% block extra_head %}
+<script>
+var _gaq = [['_trackPageview', '{{ request.path }}{{ step_url }}/']];
+$(function() {$('.middle :input:visible:enabled:first').focus();});
+</script>
+{% endblock %}
+
+{% block breadcrumb_menu %}
+{% for step in steps %}
+<li>
+ {% if step.title == step_title %}
+ <strong>{{ step.title }}</strong>
+ {% else %}
+ {{ step.title }}
+ {% endif %}
+</li>
+{% endfor %}
+<li>{% trans "Complete" %}</li>
+{% endblock %}
+
+{% block main %}
+
+{% block before-form %}{% endblock %}
+<div class="row">
+<form method="post" class="col-md-8 checkout-form">
+ {% csrf_token %}
+
+ {% block fields %}{% endblock %}
+
+ {% block nav-buttons %}
+ {% if request.cart.has_items %}
+ <div class="form-actions">
+ <input type="submit" class="btn btn-lg btn-primary pull-right" value="{% trans "Next" %}">
+ {% if not CHECKOUT_STEP_FIRST %}
+ <input type="submit" class="btn btn-lg btn-default pull-left" name="back" value="{% trans "Back" %}">
+ {% endif %}
+ </div>
+ {% else %}
+ <p>{% trans "Your cart is empty." %}</p>
+ <p>{% trans "This may be due to your session timing out after a period of inactivity." %}</p>
+ <p>{% trans "We apologize for the inconvenience." %}</p>
+ <br>
+ <p><a class="btn btn-lg btn-primary" href="{% url "page" "shop" %}">{% trans "Continue Shopping" %}</a></p>
+ {% endif %}
+ {% endblock %}
+
+</form>
+
+{% if request.cart.has_items %}
+<div class="col-md-4">
+ <div class="panel panel-default checkout-panel">
+ <div class="panel-body">
+ <ul class="media-list">
+ {% for item in request.cart %}
+ <li class="media">
+ {% if item.image %}
+ <img class="pull-left" alt="{{ item.description }}" src="{{ MEDIA_URL }}{% thumbnail item.image 30 30 %}">
+ {% endif %}
+ <div class="media-body">
+ {{ item.quantity }} x {{ item.description }}
+ <span class="price">{{ item.total_price|currency }}</span>
+ </div>
+ </li>
+ {% endfor %}
+ </ul>
+ {% order_totals %}
+ <br style="clear:both;">
+ <a class="btn btn-default" href="{% url "shop_cart" %}">{% trans "Edit Cart" %}</a>
+ </div>
+ </div>
+</div>
+{% endif %}
+
+{% block after-form %}{% endblock %}
+</div>
+{% endblock %}
--- /dev/null
+{% extends "shop/starts_eu/base.html" %}
+{% load i18n %}
+
+{% block body_id %}complete{% endblock %}
+
+{% block meta_title %}{% trans "Order Complete" %}{% endblock %}
+
+{% block footer_js %}
+{{ block.super }}
+{% if settings.GOOGLE_ANALYTICS_ID and not request.user.is_staff %}
+<script>
+
+var decimal = function(amount) {
+ if (amount.toString().indexOf('.') == -1) {
+ amount += '.00';
+ }
+ return String(amount);
+};
+
+ga('require', 'ecommerce'); // Load the ecommerce plug-in.
+
+// Add transaction data.
+ga('ecommerce:addTransaction', {
+ 'id': '{{ order.id }}',
+ 'affiliation': '',
+ 'revenue': decimal({{ order.item_total }}{% if order.discount_total %} - {{ order.discount_total }}{% endif %}),
+ 'shipping': decimal({{ order.shipping_total }}),
+ 'tax': decimal({% if order.tax_total %}{{ order.tax_total }}{% else %}0{% endif %})
+});
+
+// Add item data for each item.
+{% for item in items %}
+ga('ecommerce:addItem', {
+ // order ID (not item)
+ 'id': '{{ order.id }}',
+ 'name': '{{ item.name|escapejs }}',
+ 'sku': '{{ item.sku }}',
+ 'category': '{{ item.description|escapejs }}',
+ // unit price (not total)
+ 'price': decimal({{ item.unit_price }}),
+ 'quantity': '{{ item.quantity }}'
+});
+{% endfor %}
+
+// submits transaction to the Analytics servers
+ga('ecommerce:send');
+
+</script>
+{% endif %}
+{% endblock %}
+
+{% block title %}{% trans "Order Complete" %}{% endblock %}
+
+{% block breadcrumb_menu %}
+{% for step in steps %}
+<li>{{ step.title }}</li>
+{% endfor %}
+<li><strong>{% trans "Complete" %}</strong></li>
+{% endblock %}
+
+
+{% block main %}
+<p>{% trans "Thank you for shopping with us, your order is complete." %}</p>
+<p>{% trans "We've sent you a receipt via email." %}</p>
+<p>{% trans "You can also view your invoice using one of the links below." %}</p>
+<br>
+<form class="order-complete-form" method="post" action="{% url "shop_invoice_resend" order.id %}?next={{ request.path }}">
+ {% csrf_token %}
+ {% if has_pdf %}
+ <a class="btn btn-primary" href="{% url "shop_invoice" order.id %}?format=pdf">{% trans "Download PDF invoice" %}</a>
+ {% endif %}
+ <a class="btn btn-default" target="_blank" href="{% url "shop_invoice" order.id %}">{% trans "View invoice in your browser" %}</a>
+ <input type="submit" class="btn btn-default" value="{% trans "Re-send order email" %}">
+</form>
+{% endblock %}
--- /dev/null
+{% extends "shop/checkout.html" %}
+{% load i18n shop_tags %}
+
+{% block fields %}
+{% if request.cart.has_items %}
+
+<div class="confirmation col-md-6">
+ <div class="panel panel-default">
+ <div class="panel-body">
+ <h3>{% trans "Billing Details" %}</h3>
+ <ul class="list-unstyled">
+
+ {% for field, value in form.billing_detail_fields.values %}
+ <li><label>{{ field }}:</label> {{ value }}</li>
+ {% endfor %}
+
+ </ul>
+ </div>
+ </div>
+</div>
+
+<div class="confirmation col-md-6">
+ <div class="panel panel-default">
+ <div class="panel-body">
+ <h3>{% trans "Shipping Details" %}</h3>
+ <ul class="list-unstyled">
+
+ {% for field, value in form.shipping_detail_fields.values %}
+ <li><label>{{ field }}:</label> {{ value }}</li>
+ {% endfor %}
+
+ {% for field, value in form.additional_instructions_field.values %}
+ <li><label>{{ field }}:</label> {{ value }}</li>
+ {% endfor %}
+
+ </ul>
+ </div>
+ </div>
+</div>
+{% if settings.SHOP_PAYMENT_STEP_ENABLED %}
+{% comment %}
+<br style="clear:both;">
+<div class="confirmation col-md-6">
+ <div class="panel panel-default">
+ <div class="panel-body">
+ <h3>{% trans "Payment Details" %}</h3>
+ <ul class="list-unstyled">
+
+ {% for field, value in form.card_name_field.values %}
+ <li><label>{{ field }}:</label> {{ value }}</li>
+ {% endfor %}
+
+ {% for field, value in form.card_type_field.values %}
+ <li><label>{{ field }}:</label> {{ value }}</li>
+ {% endfor %}
+
+ <li>
+ {% with form.card_expiry_fields.values as expiry_fields %}
+ {% with expiry_fields.next as month_field %}
+ <label>{{ month_field.0 }}:</label> {{ month_field.1 }}/{{ expiry_fields.next.1 }}
+ {% endwith %}
+ {% endwith %}
+ </li>
+
+ {% for field, value in form.card_fields.values %}
+ <li><label>{{ field }}:</label> {{ value }}</li>
+ {% endfor %}
+
+ </ul>
+ </div>
+ </div>
+</div>
+{% endcomment %}
+{% endif %}
+<br style="clear:both;">
+
+{% for field in form %}{{ field }}{% endfor %}
+
+{% endif %}
+{% endblock %}
--- /dev/null
+{% load shop_tags i18n %}
+
+<h1>{{ settings.SITE_TITLE }}</h1>
+
+<table width="100%" border="0">
+ <tr>
+ <td>{% trans "Order ID:" %} {{ order.id }}</td>
+ <td align="right">{{ order.time }}</td>
+ </tr>
+</table>
+
+<h2>{% trans "Your Details" %}</h2>
+<table width="100%" border="1" cellspacing="0" cellpadding="10">
+<tr>
+ <th align="left" width="50%">{% trans "Billing Details" %}</th>
+ <th align="left" width="50%">{% trans "Shipping Details" %}</th>
+</tr>
+<tr>
+ <td valign="top">
+ <table border="0">
+ {% for field, value in order_billing_detail_fields %}
+ <tr><td>{{ field }}: </td><td>{{ value }}</td></tr>
+ {% endfor %}
+ </table>
+ </td>
+ <td valign="top">
+ <table border="0">
+ {% for field, value in order_shipping_detail_fields %}
+ <tr><td>{{ field }}: </td><td>{{ value }}</td></tr>
+ {% endfor %}
+ </table>
+ </td>
+</tr>
+</table>
+
+<h2>{% trans "Items Ordered" %}</h2>
+<table width="100%" border="1" cellspacing="0" cellpadding="10">
+ <tr>
+ <th align="left">{% trans "Item" %}</th>
+ <th align="right">{% trans "Unit Price" %}</th>
+ <th align="right">{% trans "Qty" %}</th>
+ <th align="right">{% trans "Price" %}</th>
+ </tr>
+ {% for item in order.items.all %}
+ <tr>
+ <td>{{ item.description }}</td>
+ <td align="right" valign="top">{{ item.unit_price|currency }}</td>
+ <td align="right" valign="top">{{ item.quantity }}</td>
+ <td align="right" valign="top">{{ item.total_price|currency }}</td>
+ </tr>
+ {% endfor %}
+ <tr>
+ <td colspan="4" align="right">{% order_totals %}</td>
+ </tr>
+</table>
--- /dev/null
+{% load shop_tags i18n %}
+
+<h1 align="right">{{ settings.SITE_TITLE }}</h1>
+
+<table width="100%" border="0">
+ <tr>
+ <td align="left">{{ order.time }}</td>
+ <td align="right">{% trans "Order ID:" %} {{ order.id }}</td>
+ </tr>
+</table>
+
+<h2 align="right">{% trans "Your Details" %}</h2>
+<table width="100%" border="1" cellspacing="0" cellpadding="10">
+<tr>
+ <th align="right" width="50%">{% trans "Billing Details" %}</th>
+ <th align="right" width="50%">{% trans "Shipping Details" %}</th>
+</tr>
+<tr>
+ <td valign="top" align="right">
+ <table border="0">
+ {% for field, value in order_billing_detail_fields %}
+ <tr><td>{{ value }}</td><td> : {{ field }}</td></tr>
+ {% endfor %}
+ </table>
+ </td>
+ <td valign="top" align="right">
+ <table border="0" align="right">
+ {% for field, value in order_shipping_detail_fields %}
+ <tr><td>{{ value }}</td><td> : {{ field }}</td></tr>
+ {% endfor %}
+ </table>
+ </td>
+</tr>
+</table>
+
+<h2 align="right">{% trans "Items Ordered" %}</h2>
+<table width="100%" border="1" cellspacing="0" cellpadding="10">
+ <tr>
+
+
+
+ <th align="left">{% trans "Price" %}</th>
+ <th align="left">{% trans "Qty" %}</th>
+ <th align="left">{% trans "Unit Price" %}</th>
+ <th align="right">{% trans "Item" %}</th>
+ </tr>
+ {% for item in order.items.all %}
+ <tr>
+ <td align="left" valign="top">{{ item.total_price|currency }}</td>
+ <td align="left" valign="top">{{ item.quantity }}</td>
+ <td align="left" valign="top">{{ item.unit_price|currency }}</td>
+ <td align="right">{{ item.description }}</td>
+
+
+
+ </tr>
+ {% endfor %}
+ <tr>
+ <td colspan="4" align="left">{% order_totals %}</td>
+ </tr>
+</table>
--- /dev/null
+{% load shop_tags i18n %}
+<div class="order-totals">
+ {% if discount_total or shipping_total %}
+ <div><label>{% trans "Sub total" %}:</label> <span>{{ item_total|currency }}</span></div>
+ {% endif %}
+ {% if discount_total %}
+ <div>
+ <label>
+ {% if discount_type %}
+ {{ discount_type }}:
+ {% else %}
+ {% trans "Discount" %}:
+ {% endif %}
+ </label> <span>{{ discount_total|currency }}</span>
+ </div>
+ {% endif %}
+ {% if shipping_type or shipping_total %}
+ <div>
+ <label>
+ {% if shipping_type %}
+ {{ shipping_type }}:
+ {% else %}
+ {% trans "Shipping" %}:
+ {% endif %}
+ </label> <span>{{ shipping_total|currency }}</span>
+ </div>
+ {% endif %}
+ {% if tax_total %}
+ <div>
+ <label>
+ {% if tax_type %}
+ {{ tax_type }}:
+ {% else %}
+ {% trans "Tax" %}:
+ {% endif %}
+ </label> <span>{{ tax_total|currency }}</span>
+ </div>
+ {% endif %}
+ <div class="total"><label>{% trans "Total" %}:</label> <span>{{ order_total|currency }}</span></div>
+</div>
--- /dev/null
+{% load shop_tags i18n %}{% if discount_total or shipping_total %}
+{% trans "Sub total" %}: {{ item_total|currency }}
+{% endif %}{% if discount_total %}
+{% if discount_type %}{{ discount_type }}{% else %}{% trans "Discount" %}{% endif %}: {{ discount_total|currency }}
+{% endif %}{% if shipping_type or shipping_total %}
+{% if shipping_type %}{{ shipping_type }}{% else %}{% trans "Shipping" %}{% endif %}: {{ shipping_total|currency }}
+{% endif %} {% if tax_total %}
+{% if tax_type %}{{ tax_type }}{% else %}{% trans "Tax" %}{% endif %}: {{ tax_total|currency }}
+{% endif %}{% trans "Total" %}: {{ order_total|currency }}
+
+
--- /dev/null
+{% load i18n mezzanine_tags %}
+<fieldset>
+ <legend>{% trans "Payment Details" %}</legend>
+ {% fields_for form.card_name_field %}
+ {% fields_for form.card_type_field %}
+ {% with form.card_expiry_fields as card_expiry_fields %}
+ <div class="form-group card-expiry-fields{% if card_expiry_fields.errors.card_expiry_year %} error{% endif %}">
+ <label class="control-label">{% trans "Card Expiry" %}</label>
+ {% fields_for card_expiry_fields %}
+ </div>
+ <div class="clearfix"></div>
+ {% endwith %}
+ {% fields_for form.card_fields %}
+</fieldset>
--- /dev/null
+{% load organization_tags mezzanine_tags %}
+{% if list %}
+ <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">{{ list.title }}</h2>
+ {% if list.description %}
+ <p>{{ list.description }}</p>
+ {% endif %}
+ </div>
+ </div>
+ </div>
+
+ <div class="container-fluid">
+ <div class="row tac">
+ {% for product_inline in list.products.all %}
+ {% with product_inline.product as product %}
+ {% with product.links.all|get_type_link:"link" as links %}
+ <div class="col-lg-2 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">
+ <a href="{{ links.0 }}" target="_blank" title="{{ product.title }}">
+ <figure class="article-box__image">
+ <img class="lazyload" src="{{ MEDIA_URL }}{% thumbnail product.images.all.0 427 500 top=0.5 %}" alt="product"/>
+ </figure>
+ </a>
+ </div>
+ {% endif %}
+ <div class="article-box__content tal">
+ <a href="{{ links.0 }}" target="_blank" title="{{ product.title }}"><h3 class="article-box__title">{{ product.title }}</h3></a>
+ {% if product.description %}
+ <div class="article-box__desc">{{ product.description|richtext_filters|safe|truncatechars_html:255 }}</div>
+ {% elif product.content %}
+ <div class="article-box__desc">{{ product.content|richtext_filters|safe|truncatechars_html:255 }}</div>
+ {% endif %}
+ </div>
+ </div>
+ </div>
+ {% endwith %}
+ {% endwith %}
+ {% endfor %}
+ </div>
+ </div>
+ <hr class="mt0" />
+ </div>
+{% endif %}
--- /dev/null
+{% load organization_tags mezzanine_tags %}
+{% if list %}
+ <div class="white-bg pb2">
+ <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">{{ list.title }}</h2>
+ {% if list.description %}
+ <p>{{ list.description }}</p>
+ {% endif %}
+ </div>
+ </div>
+ </div>
+ <div class="container">
+ <div class="row">
+ <div class="col-sm-9 col-sm-push-3 col-lg-10 col-lg-push-2">
+ <div class="row">
+ {% for product_inline in list.products.all %}
+ {% with product_inline.product as product %}
+ {% with product.links.all|get_type_link:"link" as links %}
+ {% with product.prestashop_products.all as prestashop_products %}
+ <div class="col-lg-4 col-md-6 col-sm-6 col-xs-6">
+ <div class="product-box" >
+ {% if product.images.all %}
+ <a href="{{ links.0 }}" target="_blank" title="{{ product.title }}">
+ <figure class="product-box__image">
+ <img class="lazyload" src="data:image/gif;base64,R0lGODlhAQABAAAAACH5BAEKAAEALAAAAAABAAEAAAICTAEAOw==" data-original="{{ MEDIA_URL }}{% thumbnail product.images.all.0 640 200 top=0.5 %}" alt="product"/>
+ </figure>
+ </a>
+ {% endif %}
+ <div class="product-box__content tal">
+ <a href="{{ links.0 }}" target="_blank" title="{{ product.title }}"><h3 class="product-box__title">{{ product.title }}</h3></a>
+ {% if product.description %}
+ <div class="product-box__desc">{{ product.description|richtext_filters|safe|truncatechars_html:100 }}</div>
+ {% elif product.content %}
+ <div class="product-box__desc">{{ product.content|richtext_filters|safe|truncatechars_html:100 }}</div>
+ {% endif %}
+ </div>
+ </div>
+ </div>
+ {% endwith %}
+ {% endwith %}
+ {% endwith %}
+ {% endfor %}
+ </div>
+ </div>
+ </div>
+ </div>
+ <hr class="mt0" />
+ </div>
+{% endif %}
--- /dev/null
+{% load i18n shop_tags mezzanine_tags %}
+{% spaceless %}
+<a href="{% url "shop_cart" %}">
+<span class="glyphicon glyphicon-shopping-cart"></span>
+{% blocktrans count request.cart.total_quantity as cart_quantity %}1 item{% plural %}{{ cart_quantity }} items{% endblocktrans %}
+{% trans "in cart" %}:
+{{ request.cart.total_price|currency }}</a><br>
+{% if request.cart.total_quantity != 0 %}
+<a href="{% url "shop_checkout" %}" class="btn btn-primary">
+ {% if request.session.order.step %}{% trans "Return to Checkout" %}{% else %}{% trans "Go to Checkout" %}{% endif %}
+</a><br>
+{% endif %}
+{% if settings.SHOP_USE_WISHLIST %}
+<a href="{% url "shop_wishlist" %}" class="btn-wishlist">
+<span class="glyphicon glyphicon-star"></span>
+{% blocktrans count request.wishlist|length as wishlist_count %}Wishlist contains 1 item{% plural %} Wishlist contains {{ wishlist_count }} items{% endblocktrans %}</a>
+{% endif %}
+{% endspaceless %}
--- /dev/null
+{% extends "shop/starts_eu/base.html" %}
+{% load mezzanine_tags shop_tags i18n %}
+
+{% block meta_title %}{% trans "Order History" %}{% endblock %}
+{% block title %}{% trans "Order History" %}{% endblock %}
+
+{% block breadcrumb_menu %}
+{{ block.super }}
+<li>{% trans "Order History" %}</li>
+{% endblock %}
+
+{% block main %}
+
+{% if orders %}
+
+<table class="table table-striped order-history">
+ <thead>
+ <th class="left">ID</th>
+ <th class="left">{% trans "Date" %}</th>
+ <th class="right">{% trans "Qty" %}</th>
+ <th class="right">{% trans "Paid" %}</th>
+ <th> </th>
+ </thead>
+ <tbody>
+ {% for order in orders.object_list %}
+ <tr>
+ <td class="left">{{ order.id }}</td>
+ <td class="left">{{ order.time|date:"SHORT_DATE_FORMAT" }}</td>
+ <td class="right">{{ order.quantity_total }}</td>
+ <td class="right">{{ order.total|currency }}</td>
+ <td class="right">
+ <form class="order-history-form" method="post" action="{% url "shop_invoice_resend" order.id %}?next={{ request.path }}">
+ {% csrf_token %}
+ {% if has_pdf %}
+ <a class="btn btn-sm btn-primary" href="{% url "shop_invoice" order.id %}?format=pdf">{% trans "Download PDF" %}</a>
+ {% endif %}
+ <a class="btn btn-sm btn-default" target="_blank" href="{% url "shop_invoice" order.id %}">{% trans "View invoice" %}</a>
+ <input type="submit" class="btn btn-sm btn-default" value="{% trans "Re-send order email" %}">
+ </form>
+ </td>
+ </tr>
+ {% endfor %}
+ </tbody>
+</table>
+{% pagination_for orders %}
+
+{% else %}
+<p>{% trans "You have not ordered anything from us yet." %}</p>
+{% endif %}
+
+{% endblock %}
--- /dev/null
+{% if not LANGUAGE_BIDI %}
+ {% include "shop/includes/order_details.html" %}
+{% else %}
+ {% include "shop/includes/order_details_rtl.html" %}
+{% endif %}
--- /dev/null
+{% extends "shop/order_invoice.html" %}
--- /dev/null
+{% extends "shop/checkout.html" %}
+{% load i18n mezzanine_tags %}
+
+{% block fields %}
+{% if request.cart.has_items %}
+{% errors_for form %}
+{% include "shop/includes/payment_fields.html" %}
+{% fields_for form.other_fields %}
+{% endif %}
+{% endblock %}
--- /dev/null
+{% extends "shop/starts_eu/base.html" %}
+{% load staticfiles mezzanine_tags shop_tags rating_tags i18n %}
+
+{% block meta_title %}{{ product.meta_title }}{% endblock %}
+{% block body_id %}category{% endblock %}
+
+{% block meta_keywords %}{% metablock %}
+{% for keyword in product.keywords.all %}
+ {% if not forloop.first %}, {% endif %}
+ {{ keyword }}
+{% endfor %}
+{% endmetablock %}{% endblock %}
+
+{% block meta_description %}{% metablock %}
+{{ product.description }}
+{% endmetablock %}{% endblock %}
+
+{% block extra_css %}
+{{ block.super }}
+<link rel="stylesheet" href="{% static "mezzanine/css/magnific-popup.css" %}">
+{% endblock %}
+
+{% block extra_js %}
+{{ block.super }}
+<script src="{% static "mezzanine/js/magnific-popup.js" %}"></script>
+<script>
+$(document).ready(function() {
+ $('#product-images-large').magnificPopup({
+ delegate: 'a',
+ type: 'image',
+ gallery: {
+ enabled: true,
+ }
+ });
+});
+</script>
+{% endblock %}
+
+{% block extra_head %}
+{{ block.super }}
+<script>var variations = {{ variations_json|safe }};</script>
+<script src="{% static "cartridge/js/product_variations.js" %}"></script>
+{% endblock %}
+
+{% block breadcrumb_menu %}
+{{ block.super }}
+<li>{{ product.title }}</li>
+{% endblock %}
+
+{% block title %}
+{% editable product.title %}{{ product.title }}{% endeditable %}
+{% endblock %}
+
+{% block main %}
+
+{% if images %}
+{% spaceless %}
+<ul id="product-images-large" class="list-unstyled list-inline">
+ {% for image in images %}
+ <li id="image-{{ image.id }}-large"{% if not forloop.first %}style="display:none;"{% endif %}>
+ <a class="product-image-large" href="{{ MEDIA_URL }}{{ image.file }}">
+ <img alt="{{ image.description }}" src="{{ MEDIA_URL }}{% thumbnail image.file 0 300 %}" class="img-thumbnail img-responsive col-xs-12">
+ </a>
+ </li>
+ {% endfor %}
+</ul>
+
+{% if images|length != 1 %}
+<ul id="product-images-thumb" class="list-unstyled list-inline">
+ {% for image in images %}
+ <li>
+ <a class="thumbnail" id="image-{{ image.id }}" href="{{ MEDIA_URL }}{{ image.file }}">
+ <img alt="{{ image.description }}" src="{{ MEDIA_URL }}{% thumbnail image.file 75 75 %}">
+ </a>
+ </li>
+ {% endfor %}
+</ul>
+{% endif %}
+
+{% endspaceless %}
+{% endif %}
+
+{% editable product.content %}
+{{ product.content|richtext_filters|safe }}
+{% endeditable %}
+
+{% if product.available and has_available_variations %}
+<ul id="variations" class="list-unstyled">
+ {% for variation in variations %}
+ <li id="variation-{{ variation.sku }}"
+ {% if not variation.default %}style="display:none;"{% endif %}>
+ {% if variation.has_price %}
+ {% if variation.on_sale %}
+ <span class="old-price">{{ variation.unit_price|currency }}</span>
+ {% trans "On sale:" %}
+ {% endif %}
+ <span class="price">{{ variation.price|currency }}</span>
+ {% else %}
+ {% if has_available_variations %}
+ <span class="error-msg">
+ {% trans "The selected options are currently unavailable." %}
+ </span>
+ {% endif %}
+ {% endif %}
+ </li>
+ {% endfor %}
+</ul>
+
+{% errors_for add_product_form %}
+
+<form method="post" id="add-cart" class="shop-form">
+ {% fields_for add_product_form %}
+ <div class="form-actions">
+ <input type="submit" class="btn btn-primary btn-lg pull-right" name="add_cart" value="{% trans "Buy" %}">
+ {% if settings.SHOP_USE_WISHLIST %}
+ <input type="submit" class="btn btn-default btn-lg pull-left" name="add_wishlist" value="{% trans "Save for later" %}">
+ {% endif %}
+ </div>
+</form>
+{% else %}
+<p class="error-msg">{% trans "This product is currently unavailable." %}</p>
+{% endif %}
+
+{% if settings.SHOP_USE_RATINGS %}
+<div class="panel panel-default rating">
+ <div class="panel-body">{% rating_for product %}</div>
+</div>
+{% endif %}
+
+{% if settings.SHOP_USE_RELATED_PRODUCTS and related_products %}
+<h2>{% trans "Related Products" %}</h2>
+<div class="row related-products">
+ {% for product in related_products %}
+ <div class="col-xs-6 col-sm-4 col-md-3 product-thumb">
+ <a class="thumbnail" href="{{ product.get_absolute_url }}">
+ {% if product.image %}
+ <img src="{{ MEDIA_URL }}{% thumbnail product.image 90 90 %}">
+ {% endif %}
+ <div class="caption">
+ <h6>{{ product }}</h6>
+ <div class="price-info">
+ {% if product.has_price %}
+ {% if product.on_sale %}
+ <span class="old-price">{{ product.unit_price|currency }}</span>
+ {% trans "On sale:" %}
+ {% endif %}
+ <span class="price">{{ product.price|currency }}</span>
+ {% else %}
+ <span class="coming-soon">{% trans "Coming soon" %}</span>
+ {% endif %}
+ </div>
+ </div>
+ </a>
+ </div>
+ {% endfor %}
+</div>
+{% endif %}
+
+{% endblock %}
--- /dev/null
+{% extends "core/inc/search_card.html" %}
+{% load i18n mezzanine_tags organization_tags %}
+
+{% block title %}
+ {{ result.title }}
+{% endblock %}
+
+{% block icon %}files-o{% endblock %}
+
+{% block tags %}
+ <div class="event-line-box__tags">
+ <div class="tag tag--small dashed">
+ {% trans 'Software' %}
+ </div>
+ </div>
+{% endblock %}
+
+{% block url %}
+ {% with product.links.all as products %}
+ {% if products %}
+ {{ products|get_type_link:'link'|first }}
+ {% endif %}
+ {% endwith %}
+{% endblock %}
+
+{% block content %}
+ {% if result.description != result|stringformat:"s" %}
+ {{ result.description|truncatewords_html:200|safe }}
+ {% endif %}
+{% endblock %}
--- /dev/null
+{% extends "shop/starts_eu/base.html" %}
+{% load mezzanine_tags shop_tags i18n %}
+
+{% block meta_title %}{% trans "Your Wishlist" %}{% endblock %}
+{% block title %}{% trans "Your Wishlist" %}{% endblock %}
+
+{% block breadcrumb_menu %}
+{{ block.super }}
+<li>{% trans "Your Wishlist" %}</li>
+{% endblock %}
+
+{% block main %}
+{% if error %}{{ error }}{% endif %}
+{% if request.wishlist %}
+<table class="table table-striped wishlist">
+ {% for item in wishlist_items %}
+ <tr>
+ <td width="30">
+ {% if item.image %}
+ <a href="{{ item.get_absolute_url }}"><img alt="{{ item }}" src="{{ MEDIA_URL }}{% thumbnail item.image.file 30 30 %}"></a>
+ {% else %}
+
+ {% endif %}
+ </td>
+ <td>
+ <a href="{{ item.get_absolute_url }}">{{ item }}</a>
+ </td>
+ <td class="wishlist-actions">
+ <form method="post">
+ {{ item.unit_price|currency }}
+ {% csrf_token %}
+ <input type="hidden" name="sku" value="{{ item.sku }}">
+ <input type="hidden" name="quantity" value="1">
+ <input type="submit" class="btn btn-sm btn-primary" name="add_cart" value="{% trans "Buy" %}">
+ <input type="submit" class="btn btn-sm btn-default" name="remove_wishlist" value="{% trans "Remove" %}">
+ </form>
+ </td>
+ </tr>
+ {% endfor %}
+</table>
+{% else %}
+<p>{% trans "Your wishlist is empty." %}</p>
+<br>
+<p><a class="btn btn-large btn-primary" href="{% url "page" "shop" %}">{% trans "Continue Shopping" %}</a></p>
+{% endif %}
+{% endblock %}
+++ /dev/null
-<!doctype html>
-<html lang="{{ LANGUAGE_CODE }}"{% if LANGUAGE_BIDI %} dir="rtl"{% endif %}>
-{% load i18n pages_tags mezzanine_tags staticfiles keyword_tags event_tags organization_tags %}
-{% get_language_info_list for LANGUAGES as languages %}
-<head>
- <meta http-equiv="Content-type" content="text/html; charset=utf-8">
- <meta http-equiv="X-UA-Compatible" content="IE=edge">
- <meta name="viewport" content="width=device-width, initial-scale=1.0">
- <meta name="keywords" content="{% block meta_keywords %}{% endblock %}">
- <meta name="description" content="{% block meta_description %}{% endblock %}">
- <title>{% spaceless %}{% block meta_title %}{% endblock %}{% endspaceless %}{% if settings.SITE_TITLE %} | {{ settings.SITE_TITLE }}{% endif %}</title>
-
- <link rel="apple-touch-icon-precomposed" sizes="152x152" href="{% static "img/favicons/apple-touch-icon-152x152-precomposed.png" %}">
- <link rel="apple-touch-icon-precomposed" sizes="120x120" href="{% static "img/favicons/apple-touch-icon-120x120-precomposed.png" %}">
- <link rel="apple-touch-icon-precomposed" sizes="76x76" href="{% static "img/favicons/apple-touch-icon-76x76-precomposed.png" %}">
- <link rel="apple-touch-icon-precomposed" sizes="60x60" href="{% static "img/favicons/apple-touch-icon-60x60-precomposed.png" %}">
- <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{% static "img/favicons/apple-touch-icon-144x144-precomposed.png" %}">
- <link rel="apple-touch-icon-precomposed" sizes="114x114" href="{% static "img/favicons/apple-touch-icon-114x114-precomposed.png" %}">
- <link rel="apple-touch-icon-precomposed" sizes="72x72" href="{% static "img/favicons/apple-touch-icon-72x72-precomposed.png" %}">
- <link rel="apple-touch-icon" sizes="57x57" href="{% static "img/favicons/apple-touch-icon.png" %}">
- <link rel="shortcut icon" href="{% static "img/favicons/favicon.ico" %}">
- <link rel="icon" type="image/png" sizes="96x96" href="{% static "img/favicons/favicon-96x96.png" %}">
-
- <link href='https://fonts.googleapis.com/css?family=Merriweather:400,300,700,900,300italic|Oswald:400,300,700' rel='stylesheet' type='text/css'>
- <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDqF2kIHtUASr67QP-1bXRd6FPELDS4FSs&libraries=geometry"></script>
-
- {% compress css %}
- <link rel="stylesheet" href="{% static "vendors/font-awesome/css/font-awesome.css" %}">
- <link rel="stylesheet" href="{% static "vendors/lightslider/dist/css/lightslider.css" %}">
- <link rel="stylesheet" href="{% static "vendors/lightgallery/dist/css/lightgallery.css" %}">
- <link rel="stylesheet" href="{% static "vendors/pushy/css/pushy.css" %}">
- <link rel="stylesheet" href="{% static "vendors/video.js/dist/video-js.css" %}">
- <link rel="stylesheet" href="{% static "css/index.min.css" %}">
- {% endcompress %}
-
- {% block extra_head %}{% endblock %}
-</head>
-
-<body id="{% block body_id %}body{% endblock %}" class="{% block body_class %}{% endblock %}">
- {% spaceless %}
-
- {% block sidebar %}
- <div class="pushy pushy-left">
- {% include "includes/sidebar.html" %}
- </div>
- {% endblock %}
-
- {% block site_overlay %}
- <div class="site-overlay">
- </div>
- {% endblock %}
-
- {% block header %}
- <div class="header push">
- <div class="container">
- <div class="row header__nav">
- <div class="col-md-16 tal">
- <div id="navHeader">
- {% page_menu "pages/menus/header.html" %}
- </div>
- </div>
- </div>
- </div>
- </div>
- {% endblock %}
-
- {% block container %}
- <div id="container">
- <main class="main" role="main">
- {% block content_header %}{% endblock %}
- {% block main %}{% endblock %}
- {% block content_footer %}{% endblock %}
- </main>
-
- {% block social %}
- {% include "includes/social.html" %}
- {% endblock %}
-
- {% block footer %}
- <footer class="footer" role="footer">
- {% include "includes/footer.html" %}
- </footer>
- {% endblock %}
- </div>
- {% endblock %}
-
- {% block overlay_container %}
- <div class="overlay" id="overlay">
- <a href="#" id="overlayClose" class="overlay__close">
- </a>
- <div class="overlay__container">
- <div class="overlay__content">
- <div id="overlayContent">
- </div>
- <div class="overlay__loader" id="overlayLoader">
- <i class="loading"></i>
- </div>
- </div>
- </div>
- </div>
- {% endblock %}
-
- {% search_form %}
-
- {% block footer_scripts %}
- {% include "includes/footer_scripts.html" %}
- {% endblock %}
-
- {% endspaceless %}
-
-</body>
-</html>
--- /dev/null
+<!doctype html>
+<html lang="{{ LANGUAGE_CODE }}"{% if LANGUAGE_BIDI %} dir="rtl"{% endif %}>
+{% load i18n pages_tags mezzanine_tags staticfiles keyword_tags event_tags organization_tags %}
+{% get_language_info_list for LANGUAGES as languages %}
+<head>
+ <meta http-equiv="Content-type" content="text/html; charset=utf-8">
+ <meta http-equiv="X-UA-Compatible" content="IE=edge">
+ <meta name="viewport" content="width=device-width, initial-scale=1.0">
+ <meta name="keywords" content="{% block meta_keywords %}{% endblock %}">
+ <meta name="description" content="{% block meta_description %}{% endblock %}">
+ <title>{% spaceless %}{% block meta_title %}{% endblock %}{% endspaceless %}{% if settings.SITE_TITLE %} | {{ settings.SITE_TITLE }}{% endif %}</title>
+
+ <link rel="apple-touch-icon-precomposed" sizes="152x152" href="{% static "img/favicons/apple-touch-icon-152x152-precomposed.png" %}">
+ <link rel="apple-touch-icon-precomposed" sizes="120x120" href="{% static "img/favicons/apple-touch-icon-120x120-precomposed.png" %}">
+ <link rel="apple-touch-icon-precomposed" sizes="76x76" href="{% static "img/favicons/apple-touch-icon-76x76-precomposed.png" %}">
+ <link rel="apple-touch-icon-precomposed" sizes="60x60" href="{% static "img/favicons/apple-touch-icon-60x60-precomposed.png" %}">
+ <link rel="apple-touch-icon-precomposed" sizes="144x144" href="{% static "img/favicons/apple-touch-icon-144x144-precomposed.png" %}">
+ <link rel="apple-touch-icon-precomposed" sizes="114x114" href="{% static "img/favicons/apple-touch-icon-114x114-precomposed.png" %}">
+ <link rel="apple-touch-icon-precomposed" sizes="72x72" href="{% static "img/favicons/apple-touch-icon-72x72-precomposed.png" %}">
+ <link rel="apple-touch-icon" sizes="57x57" href="{% static "img/favicons/apple-touch-icon.png" %}">
+ <link rel="shortcut icon" href="{% static "img/favicons/favicon.ico" %}">
+ <link rel="icon" type="image/png" sizes="96x96" href="{% static "img/favicons/favicon-96x96.png" %}">
+
+ <link href='https://fonts.googleapis.com/css?family=Merriweather:400,300,700,900,300italic|Oswald:400,300,700' rel='stylesheet' type='text/css'>
+ <script src="https://maps.googleapis.com/maps/api/js?key=AIzaSyDqF2kIHtUASr67QP-1bXRd6FPELDS4FSs&libraries=geometry"></script>
+
+ {% compress css %}
+ <link rel="stylesheet" href="{% static "vendors/font-awesome/css/font-awesome.css" %}">
+ <link rel="stylesheet" href="{% static "vendors/lightslider/dist/css/lightslider.css" %}">
+ <link rel="stylesheet" href="{% static "vendors/lightgallery/dist/css/lightgallery.css" %}">
+ <link rel="stylesheet" href="{% static "vendors/pushy/css/pushy.css" %}">
+ <link rel="stylesheet" href="{% static "vendors/video.js/dist/video-js.css" %}">
+ <link rel="stylesheet" href="{% static "css/index.min.css" %}">
+ {% endcompress %}
+
+ {% block extra_head %}{% endblock %}
+</head>
+
+<body id="{% block body_id %}body{% endblock %}" class="{% block body_class %}{% endblock %}">
+ {% spaceless %}
+
+ {% block sidebar %}
+ <div class="pushy pushy-left">
+ {% include "includes/sidebar.html" %}
+ </div>
+ {% endblock %}
+
+ {% block site_overlay %}
+ <div class="site-overlay">
+ </div>
+ {% endblock %}
+
+ {% block header %}
+ <div class="header push">
+ <div class="container">
+ <div class="row header__nav">
+ <div class="col-md-16 tal">
+ <div id="navHeader">
+ {% page_menu "starts_eu/pages/menus/header.html" %}
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ {% endblock %}
+
+ {% block container %}
+ <div id="container">
+ <main class="main" role="main">
+ {% block content_header %}{% endblock %}
+ {% block main %}{% endblock %}
+ {% block content_footer %}{% endblock %}
+ </main>
+
+ {% block social %}
+ {# {% include "includes/social.html" %}#}
+ {% endblock %}
+
+ {% block footer %}
+ <footer class="footer" role="footer">
+ {% include "starts_eu/includes/footer.html" %}
+ </footer>
+ {% endblock %}
+ </div>
+ {% endblock %}
+
+ {% block overlay_container %}
+ <div class="overlay" id="overlay">
+ <a href="#" id="overlayClose" class="overlay__close">
+ </a>
+ <div class="overlay__container">
+ <div class="overlay__content">
+ <div id="overlayContent">
+ </div>
+ <div class="overlay__loader" id="overlayLoader">
+ <i class="loading"></i>
+ </div>
+ </div>
+ </div>
+ </div>
+ {% endblock %}
+
+ {% search_form %}
+
+ {% block footer_scripts %}
+ {% include "includes/footer_scripts.html" %}
+ {% endblock %}
+
+ {% endspaceless %}
+
+</body>
+</html>
--- /dev/null
+{% load i18n pages_tags mezzanine_tags staticfiles keyword_tags event_tags organization_tags %}
+
+<div class="footer__content">
+ <div class="container">
+
+ <div class="row">
+ {% comment %}
+ <div class="col-xxs-16 col-sm-push-1 col-sm-4 tac">
+ <a href="{% url "home" %}" title="{% trans 'Home' %}">
+ {% with host_organization.images|get_type:"logo_footer" as images %}
+ {% if images %}
+ {% with images|first as img %}
+ <img src="{{ MEDIA_URL }}{{ img }}" title="{{ img.title }}" width="243" />
+ {% endwith %}
+ {% endif %}
+ {% endwith %}
+ </a>
+
+ {% if linked_organization_footer %}
+ <div class="tac">
+ <div class="section-title section-title--dark">
+ {% trans "Porté par" %}
+ </div>
+ </div>
+ {% include 'pages/page/includes/linked_organization_footer.html' %}
+ {% endif %}
+
+ </div>
+ {% endcomment %}
+
+ <div class="col-xxs-16 col-sm-push-1 col-sm-10">
+
+ <div class="row">
+
+ <div class="col-xxs-16">
+
+ <div class="newsletter">
+
+ <div class="row">
+
+ </div>
+
+ </div>
+
+ </div>
+
+ </div>
+
+ <div class="row">
+
+ <div class="col-xxs-8 col-xs-7 col-xs-push-1">
+
+ {% page_menu "pages/menus/footer_vertical.html" %}
+
+ </div>
+
+ <div class="col-xxs-8 col-xs-7 col-xs-push-1 col-lg-6 col-lg-push-2">
+
+ <ul class="nav-footer" role="navigation">
+ {% for link in host_organization.links.all %}
+ <li class="nav-footer__item">
+ <a class="nav-footer__item-link" href="{{ link.url }}" target="_blank" title="{% trans 'Follow us on' %} {{ link.title }}">{{ link.title }}</a>
+ </li>
+ {% endfor %}
+ </ul>
+
+ </div>
+
+ </div>
+
+ </div>
+
+ </div>
+
+ {% comment %}
+ Additional menu
+ {% endcomment %}
+ <div class="row">
+ <div class="col-xxs-16 col-sm-12 col-sm-push-1 tac">
+ {% page_menu "pages/menus/footer_horizontal.html" %}
+ </div>
+ </div>
+
+ {% comment %}
+ Copyright
+ {% endcomment %}
+ <div class="row">
+ <div class="col-xxs-16 col-sm-14 col-sm-push-1 tac fcb mt2">
+ Copyright © {% current_year %} {{ host_organization.name }}. {% trans "All rights reserved" %}.
+ </div>
+ </div>
+
+ </div>
+</div>
--- /dev/null
+{% load i18n pages_tags staticfiles mezzanine_tags organization_tags %}
+{% get_language_info_list for LANGUAGES as languages %}
+
+{% spaceless %}
+{% if page_branch_in_menu %}
+ {% for page in page_branch %}
+ {% if page.is_primary %}
+ {% if forloop.first %}
+ <ul class="nav-header" role="navigation">
+ <li class="nav-header__item menu-btn">
+ <span class="first"></span>
+ <span class="second"></span>
+ </li>
+ <li class="nav-header__item nav-header__item--image-big">
+ <a href="{% url "home" %}" title="{% trans 'Home' %}">
+ {% with host_organization.images|get_type:"logo_header" as images %}
+ {% if images %}
+ {% with images|first as img %}
+ <img src="{{ MEDIA_URL }}{{ img }}" title="{{ img.title }}" width="242" height="70" />
+ {% endwith %}
+ {% endif %}
+ {% endwith %}
+ </a>
+ </li>
+ {% endif %}
+ {% endif %}
+ {% if page.in_menu %}
+ {% if page.content_model == "link" %}
+ {% with page.link.link_images.all|first as link_image %}
+ {% if link_image %}
+ <li class="nav-header__item nav-header__item--image">
+ <a href="{{ page.get_absolute_url }}"{% if 'http' in page.link.slug %} target="_blank"{% endif %} title="{{ page.title }}"><img width="83" height="65" src="{{ MEDIA_URL }}{% thumbnail link_image.image 166 130 %}" /></a>
+ </li>
+ {% else %}
+ <li class="nav-header__item">
+ <a class="nav-header__item-link{% if page.is_current_or_ascendant %} active{% endif %}" href="{{ page.get_absolute_url }}"{% if 'http' in page.link.slug %} target="_blank"{% endif %} title="{{ page.title }}">{{ page.title }}</a>
+ </li>
+ {% endif %}
+ {% endwith %}
+ {% else %}
+ <li class="nav-header__item">
+ <a class="nav-header__item-link{% if page.is_current_or_ascendant %} active{% endif %}" href="{{ page.get_absolute_url }}" title="{{ page.title }}">{{ page.title }}</a>
+ {% if page.has_children_in_menu %}
+ {% page_menu page "pages/menus/header_tree_primary.html" %}
+ {% endif %}
+ </li>
+ {% endif %}
+ {% endif %}
+ {% if page.is_primary %}
+ {% if forloop.last %}
+
+ {# <li class="nav-header__item nav-header__item--right nav-header__item--separator">#}
+ {# {% include "includes/languages.html" %}#}
+ {# </li>#}
+ <li class="nav-header__item nav-header__item--centered nav-header__item--right nav-header__item--no-separator">
+ <a href="#" class="fsxl" data-open-button="search" data-search-button><i class="fa fa-search" aria-hidden="true"></i></a>
+ </li>
+
+ </ul>
+ {% endif %}
+ {% endif %}
+ {% endfor %}
+{% endif %}
+{% endspaceless %}
--- /dev/null
+{% extends "starts_eu/base.html" %}
+{% load i18n mezzanine_tags keyword_tags organization_tags pages_tags %}
+
+{% block meta_title %}{{ page.meta_title }}{% endblock %}
+
+{% block meta_keywords %}{% metablock %}
+{% keywords_for page as keywords %}
+{% for keyword in keywords %}
+ {% if not forloop.first %}, {% endif %}
+ {{ keyword }}
+{% endfor %}
+{% endmetablock %}{% endblock %}
+
+{% block meta_description %}{% metablock %}
+{{ page.description }}
+{% endmetablock %}{% endblock %}
+
+{% block main %}
+
+ {% block hero %}
+ {% endblock %}
+
+ <div class="page page--{% spaceless %}{% block page_class %}{% endblock %}{% endspaceless %}">
+ <div class="container">
+
+ <div class="row">
+
+ <div class="col-sm-16 col-md-12 col-md-push-2 tac">
+ {% block page_title %}
+ {{ page.title }}
+ {% endblock %}
+ </div>
+
+ </div>
+
+ <div class="row">
+
+ <div class="col-md-2 page__sidebar">
+
+ <div style="position: relative;">
+ {% block page_sidebar %}
+ {% endblock %}
+ </div>
+
+ </div>
+
+ <div class="mb2 col-sm-16 col-md-12 page__content" data-summary-content>
+ {% block page_content %}
+ {{ page.content }}
+ {% endblock %}
+ {% block page_link %}
+ {% with object.links.all as links %}
+ {% if links %}
+ {% include 'core/inc/link.html' %}
+ {% endif %}
+ {% endwith %}
+ {% endblock %}
+ {% block page_file %}
+ {% with object.files.all as files %}
+ {% if files %}
+ {% include 'core/inc/files.html' %}
+ {% endif %}
+ {% endwith %}
+ {% endblock %}
+ {% block page_audio %}
+ {% for related in object.playlists.all %}
+ {% with related.playlist as playlist %}
+ {% if playlist.type == 'audio' %}
+ {% include 'media/inc/playlist_audio_detail.html' %}
+ {% endif %}
+ {% endwith %}
+ {% endfor %}
+ {% endblock %}
+ </div>
+
+ </div>
+
+ </div>
+
+ {% block page_slider %}
+ {% with object.images.all|get_type:'page_slider' as slider_images %}
+ {% if slider_images %}
+ {% include 'core/inc/slider.html' %}
+ {% endif %}
+ {% endwith %}
+ {% endblock %}
+
+ {% block page_video %}
+ {% for related in object.playlists.all %}
+ {% with related.playlist as playlist %}
+ {% if playlist.type == 'video' %}
+ {% include 'media/inc/playlist_video_slider.html' %}
+ {% endif %}
+ {% endwith %}
+ {% endfor %}
+ {% endblock %}
+
+ <div class="">
+
+ {% block page_person_list %}
+ {% endblock %}
+
+ {% block page_demo %}
+ {% endblock %}
+
+ {% block page_blog %}
+ {% endblock %}
+
+ {% block page_sub_content %}
+ {% with object.blocks.all as blocks %}
+ {% include "core/inc/block.html" %}
+ {% endwith %}
+ {% endblock %}
+
+ {% block related_project %}
+ {% endblock %}
+
+ {% block products %}
+ {% if page.product_lists.all|length > 0 %}
+ {% for page_product_list in page.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 page_sub_content_2 %}
+ {% endblock %}
+
+ {% block page_person_list_team %}
+ {% endblock %}
+
+ {% block page_sub_content_3 %}
+ {% endblock %}
+
+ {% block logo %}
+ {% with page.images.all|get_type:'logo' as images %}
+ {% if images %}
+ <div class="page__block{% if block.background_color %} page__block--{{ block.background_color }}{% endif %}">
+ <div class="white-bg pb2">
+ <div class="container">
+ <div class="row" data-summary-content>
+ <div class="col-sm-16">
+ <ul class="partners-list">
+ {% include 'core/inc/logo.html' %}
+ </ul>
+ </div>
+ </div>
+ </div>
+ </div>
+ </div>
+ {% endif %}
+ {% endwith %}
+ {% endblock %}
+
+ </div>
+
+ </div>
+
+ <div>
+
+ {% block page_related_content %}
+ {% with dynamic_content=page.dynamic_content_pages.all object=page %}
+ {% include "core/inc/related_content.html" %}
+ {% endwith %}
+ {% endblock %}
+
+ </div>
+
+
+{% endblock %}
--- /dev/null
+{% extends "starts_eu/base.html" %}
+{% load i18n %}
+
+{% block meta_title %}{% trans "Styles" %}{% endblock %}
+
+{% block title %}{% trans "Styles" %}{% endblock %}
+
+{% block main %}
+
+<div class="row">
+ <div class="col-lg-8 col-md-push-2">
+ <h1 class="dotted">{% trans "Styles" %}</h1>
+ </div>
+</div>
+<div class="row">
+ <div class="col-lg-8 col-md-push-2">
+ {% include "includes/html_styleguide.html" %}
+ </div>
+</div>
+
+{% endblock %}
--- /dev/null
+{% load i18n %}
+
+<a class="twitter-timeline" href="https://twitter.com/hashtag/ircam" data-widget-id="717023136743616512">#ircam Tweets</a>
+<script>!function(d,s,id){var js,fjs=d.getElementsByTagName(s)[0],p=/^http:/.test(d.location)?'http':'https';if(!d.getElementById(id)){js=d.createElement(s);js.id=id;js.src=p+"://platform.twitter.com/widgets.js";fjs.parentNode.insertBefore(js,fjs);}}(document,"script","twitter-wjs");</script>
--- /dev/null
+
+{% load twitter_tags i18n %}
+
+{% tweets_default as tweets %}
+
+{% if tweets %}
+<ul class="tweets">
+ {% for tweet in tweets %}
+ <li class="tweets__tweet">
+ <div class="col-xxs-3">
+ {% if tweet.retweeter_full_name %}
+ <a href="http://twitter.com/{{ tweet.retweeter_user_name }}" title="{{ tweet.retweeter_full_name }}"><img class="tweets__tweet-image" src="{{ tweet.retweeter_profile_image_url|cut:"http:" }}" alt="{{ tweet.retweeter_full_name }}"></a>
+ {% else %}
+ <a href="http://twitter.com/{{ tweet.user_name }}" title="{{ tweet.full_name }}"><img class="tweets__tweet-image" src="{{ tweet.profile_image_url|cut:"http:" }}" alt="{{ tweet.full_name }}"></a>
+ {% endif %}
+ </div>
+ <div class="col-xxs-13 tweets__tweet-content">
+ <h4 class="tweets__tweet-author">
+ {% if tweet.retweeter_full_name %}
+ <a href="http://twitter.com/{{ tweet.retweeter_user_name }}" title="{{ tweet.retweeter_full_name }}">{{ tweet.retweeter_full_name }} @{{ tweet.retweeter_user_name }}</a>
+ {% else %}
+ <a href="http://twitter.com/{{ tweet.user_name }}" title="{{ tweet.full_name }}">{{ tweet.full_name }} @{{ tweet.user_name }}</a>
+ {% endif %}
+ <span>{% blocktrans with sometime=tweet.created_at|timesince %}{{ sometime }} ago{% endblocktrans %}</span>
+ </h4>
+ <p class="tweets__tweet-body">
+ {{ tweet.text|safe }}<br>
+ {% comment %}
+ <a href="http://twitter.com/{{ tweet.user_name }}/status/{{ tweet.remote_id }}"></a>
+ {% endcomment %}
+ </p>
+ </div>
+ </li>
+ {% endfor %}
+</ul>
+{% endif %}
volumes:
- ./app:/srv/app
- ./gulpfile.js:/srv/gulpfile.js
+ - ./.bowerrc:/srv/.bowerrc
- ./lib/mezzanine-agenda:/srv/lib/mezzanine-agenda
# - ./lib/grappelli-safe:/srv/lib/grappelli-safe
# - ./lib/mezzanine/:/srv/lib/mezzanine