{% macro buttons(is_popup=False) %}
{% if not is_popup %} {% for action in actions %} {%- set action_url = stream.url_for(env, action.action, item=item.id) -%} {{- action.title -}} {% endfor -%} {% endif %}
{% endmacro %} {% block content %}
Идет загрузка

{{ stream_title }}

{#% block after_title %}{% endblock -%#} {{ buttons(is_popup) }}
{%- if item_lock -%} {% from 'macros/item_lock.html' import main as item_lock with context %} {{ item_lock(item, stream_url.qs_set(filter_form.get_data()), lock_timeout, lock_message, edit_session) }} {%- endif -%}
{% endblock %}