{% extends "base_generic.html" %} {% load static %} {% block css %} {% endblock %} {% block head %} {% endblock %} {% block news %} news {% endblock %} {% block content %} {% block small %} {%if news_detail.news_url%}
{{ news_detail.title|safe }}
{% else %}
{{ news_detail.title|safe }}
{% endif %} {% if news_detail.pub_date %}
{{ news_detail.pub_date }}
{% endif %} {% if news_detail.newsfile_set.all %}
{% if news_detail.image %}
©{{news_detail.copyright}}
{% endif %} {% for file in news_detail.newsfile_set.all %} {% if file.get_extension == ".jpg" or file.get_extension == ".jpeg" or file.get_extension == ".png"%}
©{{file.copyright}}
{% endif %} {% endfor %}
{% else %} {% if news_detail.image %}
Cover {% if news_detail.copyright is not None %}
©{{news_detail.copyright}}
{% endif %}
{% else %}

{% endif %} {% endif %} {% if news_detail.image_caption is not None %}
{{news_detail.image_caption|safe|linebreaksbr}}
{% endif %} {% for file in news_detail.newsfile_set.all %} {% if file.get_extension == ".pdf" %}
PDF {% if file.title %}
{{file.title}}
{% else %}
More info
{% endif %}
{% if file.copyright %}
©{{file.copyright}} {% endif %}
{% elif file.get_extension == ".mp3" %}

©{{file.copyright}}
{% elif file.get_extension == ".ogg" %}
{% elif file.get_extension == ".wav" %}
{% elif file.get_extension == ".mp4" %}
{% endif %} {% endfor %}

{{news_detail.abstract|safe|linebreaksbr}}

{% if news_detail.publication.all or news_detail.member.all %}
{% if news_detail.member.all %}

Involved people
{% include "member_list.html" with l=3 m=4 s=6 height=150 member_list=news_detail.member.all|dictsort:"status.order_index" %} {% endif %} {% if news_detail.publication.all %}

Related Publications
{% with publication_list=news_detail.publication.all %} {% load el_pagination_tags %} {% paginate publication_list %} {% include 'publication_list.html' %} {% get_pages %} {% if pages.paginated %}
pages: {% show_pages %}
{% endif %} {% endwith %}
{% endif %} {% endif %} {% load social_share %} {% if news_detail.relatedNews.all %}

{% if news_detail.relatedNews.all %}

Related news

{% include "news_list.html" with news_list=news_detail.relatedNews.all %} {% endif %} {% endif %} {% if news_detail.outreach.all %}

{% if news_detail.outreach.all %}

Related outreach

{% include "outreach_list.html" with outreach_list=news_detail.outreach.all %} {% endif %} {% endif %}

{% endblock %} {% endblock %} {% block javascripts %} {% endblock %}