{% extends "catalogue/base.html" %} {% load i18n %} {% load thumbnail %} {% load catalogue_files %} {% block content %}

MIL/PEER

{% blocktrans %}

Media & Information Literacy
Platform for Exchanging
Educational Resources

{% endblocktrans %} {% trans "Create and share your resources
Start tutorial" %}
{#{% trans "Competition" %}#}

{% trans "Joint project by:" %}

{{ block.super }} {% endblock %} {% block inner_content %}

{% trans "See active organizations and join" %}

{% for org in organizations %}
{% if org.logo %} {% thumbnail org.logo "160x100" format="PNG" padding=True as th %} {% endthumbnail %} {% endif %}
{{ org.name }}
{% endfor %} {% if more_organizations %}

{% trans "More organizations" %}

{% endif %}

{% trans "Finished resources" %}

{% for doc in finished %}
{% if doc.meta.cover_url %} {% thumbnail doc.meta.cover_url|as_media_for:doc "180x120" crop="center" format="PNG" as th %} {% endthumbnail %} {% elif doc.owner_organization.logo %} {% thumbnail doc.owner_organization.logo "160x100" format="PNG" padding=True as th %} {% endthumbnail %} {% endif %}
{{ doc.meta.title }}
{% if doc.meta.audience %} {% trans "Audience" %}: {{ doc.meta.audience }}
{% endif %} {% trans "Owner" %}: {{ doc.owner_organization|default:"" }} {{ doc.owner_user.first_name }} {{ doc.owner_user.last_name }}
{% endfor %} {% if more_finished %}

{% trans "More finished resources" %}

{% endif %}

{% trans "Upcoming resources" %}

{% for doc in upcoming %}
{% if doc.meta.cover_url %} {% thumbnail doc.meta.cover_url|as_media_for:doc "180x120" crop="center" format="PNG" as th %} {% endthumbnail %} {% elif doc.owner_organization.logo %} {% thumbnail doc.owner_organization.logo "160x100" format="PNG" padding=True as th %} {% endthumbnail %} {% endif %}
{{ doc.meta.title }}
{% if doc.meta.audience %} {% trans "Audience" %}: {{ doc.meta.audience }}
{% endif %} {% trans "Owner" %}: {{ doc.owner_organization|default:"" }} {{ doc.owner_user.first_name }} {{ doc.owner_user.last_name }}
{% endfor %} {% if more_upcoming %}

{% trans "More upcoming resources" %}

{% endif %}
{% endblock %}