{%- set content_actions = actions.for_category('wiki:page') %}
{%- set global_actions = actions.for_category('wiki:global') %}
{%- for action in content_actions %}
{{ action.render() }}
{%- endfor %}
{% if content_actions and global_actions %}
{% endif %}
{%- for action in global_actions %}
{{ action.render() }}
{%- endfor %}
{% endcall %}
{% endblock %}
{% block modals %}
{%- if page %}
{# FIXME: copy-pasted from Documents. #}
{# FIXME: copy-pasted from crm/view_with_attachments.html #}