{% if entry.url %}
{% else %}{% else %}{% endif %}
{% if entry.has_children %}
{% endif %}
{% if entry.actions or entry.export_urls %}
{% for action in entry.actions %}{% include "core/sidebar_object_action.html" %}{% endfor %}
{% if entry.actions and entry.export_urls %}{% endif %}
{% if entry.export_urls %}{% include "core/snapshot_export_links.html" with export_urls=entry.export_urls export_menu=True %}{% endif %}
{% if not folder_readonly and entry.url %}
{% if entry.delete_url or perms.core.delete_snapshot %}{% endif %}
{% if entry.delete_url %}{{ entry.delete_label }}{% endif %}
{% if perms.core.delete_snapshot %}Delete Snapshots{% endif %}
{% endif %}
{% endif %}
{% empty %}
{% if not sidebar_query and not sidebar_rows_only %}