{% extends "Froxlor/userarea.html.twig" %}
{% block heading %}
{% if listing.title is not empty %}
{% if listing.icon is not empty %}
{% endif %}
{{ listing.title }}
{% if listing.total_entries > 0 %}
{{ listing.total_entries }}
{% endif %}
{% if listing.description is not empty %}
{{ listing.description }}
{% endif %}
{% endif %}
{% endblock %}
{% block actions %}
{% if listing.is_search and listing.self_overview is defined and listing.self_overview is iterable %}
{% set actions_tmp = actions_links|default([]) %}
{% set actions_links = {'href': linker(listing.self_overview), 'icon': 'fa-solid fa-reply','label': lng('panel.backtooverview')} %}
{% set actions_links = {actions_links}|merge(actions_tmp) %}
{% endif %}
{% if actions_links is iterable or (entity_info is defined and entity_info is not empty) %}
{% if actions_links is iterable %}
{% for link in actions_links %}
{{ link.label }}
{% endfor %}
{% endif %}
{# TODO: eventually not used anymore because of using a documentation link
{% if entity_info is defined and entity_info is not empty %}