{% load i18n %} {% load template_filters %} {% comment %} {% if user.is_authenticated %} {% if event|in_calendar:user %} {% trans 'из расписания' %} {% else %} {% trans 'в расписание' %} {% endif %} {% else %} {% trans 'в расписание' %} {% endif %} {% endcomment %} {% if obj|in_calendar:request.user %}{% trans 'Из расписания' %}{% else %}{% trans 'В расписание' %}{% endif %}