{% else %}
{% if come_from_admin %} {{ data.document|title}}s list {% else %} My {{data.document}}s {% endif %}
{% endif %}
{% endblock %}
{% block box_tools %}
{% if data.create_workspace %}
Create workspace
{% endif %}
{% if data.title %}
Previous page
{% endif %}
{% endblock %}
{% block box_body %}
{% if data.menu and not data.title %}
{% for value, text in data.action_form.fields.actions.choices %}
{{text}}
{% endfor %}
{% endif %}
{% if data.user_data %}
{% include data.template with objects=data.user_data group='user' %}
{% else %}
{% if data.other_users_data %}
{% include data.template with objects=data.other_users_data group='other' %}
{%else%}
No {{data.document}}s found.
{% endif %}
{% endif %}