{% extends "base.html" %} {% comment %} Oh yeah, I know, this template code is horrible, and actually there are two templates into one. For the future we have to take a different approach for this. {% endcomment %} {% load url from future %} {% load i18n baseurl cleanhtml assets %} {% get_current_language as LANGUAGE_CODE %} {% block title %} {% trans "News" %} | {% if directory.is_language %} {{ directory.language.name }} {% else %} {% if directory.is_project %} {{ directory.project.fullname }} | {% trans "Projects" %} {% else %} {{ directory.translation_project.project.fullname }} | {{ directory.translation_project.language.fullname }} {% endif %} {% endif %} | {{ block.super }} {% endblock %} {% block breadcrumbs %} {{ block.super }} {% if directory.is_language %}
{{ success }}
{% if notices_published %}{{ np }}
{% endfor %}{% trans "No news yet." %}
{% endif %}