{% macro document_watch(document, user) -%} {% if user.is_authenticated() and document %}
  • {% if document.is_watched_by(user) %}
    {{ csrf() }}
    {% else %}
    {{ csrf() }}
    {% endif %}
  • {% endif %} {%- endmacro %} {% macro build_document_crumbs(document) %} {%- endmacro %} {% macro get_document_buttons(document) %} {% if document.parent %} {# If there is a parent doc, use it for translating. #} {% set translate_url = url('wiki.select_locale', document_path=document.parent.full_path) %} {% else %} {% set translate_url = url('wiki.select_locale', document_path=document.full_path, locale=document.locale) %} {% endif %} {%- endmacro %} {% macro get_document_subnav(html) %}
      {%- endmacro %} {% macro get_document_quick_links(html) %} {%- endmacro %} {% macro get_approvals_html(document, user) %} {% if user.is_authenticated() and document.current_revision and document.allows_revision_by(user) %} {% if document.current_revision.needs_technical_review() or document.current_revision.needs_editorial_review() %}

    {{ _('The following reviews have been requested:') }}

    {{ csrf() }}
    {% endif %} {% endif %} {%- endmacro %}