{% load redsolutioncms_tags %}{% raw %}{% extends "easy_news/base.html" %} {% load i18n %} {% if 'redsolutioncms.django-generic-ratings' in cms_settings.installed_packages %} {% block js %} {{ block.super }} {% endblock%} {% block css %} {{ block.super }} {% endblock %} {% endif %} {% block content_title %}{{ object.title }}{% endblock %} {% block content %}
{{ object.date|date:"d" }} {{ object.month }} {{ object.date|date:"Y" }}
{{ object.text|safe }}
{% trans 'All news' %}
{% endraw %} {% if 'redsolutioncms.django-generic-ratings' in cms_settings.installed_packages %}{% raw %} {% load ratings_tags %} {% get_rating_form for object as rating_form %}
{% csrf_token %} {{ rating_form }}

{% get_rating_score for object as score %} {% if score %} Average score: {{ score.average|floatformat }} Number of votes: {{ score.num_votes }} {% else %} How sad: nobody voted {{ object }} {% endif %} {% endraw %}{% endif %} {% raw %}{% endblock %} {% endraw %}{% if easy_news_settings.seo_was_installed %}{% raw %} {% load seo_tags %} {% block keywords %}{% seo keywords for object %}{% endblock %} {% block description %}{% seo description for object %}{% endblock %}" {% block title %}{% seo title for object as title %}{% if title %}{{ title }}{% else %}{{ object.title }}{% endif %}{% endblock %} {% endraw %}{% else %}{% raw %} {% block title %}{{ object.title }}{% endblock %} {% endraw %}{% endif %}{% if easy_news_settings.menu_proxy_was_installed %}{% raw %} {% load menuproxy_tags %} {% block main_menu %}{% show_main_menu 'news_detail' object %}{% endblock %} {% block auto_menu %}{% show_auto_menu 'news_detail' object %}{% endblock %} {% block full_menu %}{% show_full_menu 'news_detail' object %}{% endblock %} {% block breadcrumbs %}{% show_breadcrumbs 'news_detail' object %}{% endblock %} {% endraw %}{% endif %}