{% if config.isFeatureAvailable('favorite') %}
{% endif %}
{% if config.isFeatureAvailable('stamp') %}
{% for stamp in allowedStamps %}
{% endfor %}
{% endif %}
{% if not isMapMode %}
{% endif %}
{% if config.isFeatureAvailable('share') %}
{% endif %}
{% if config.isFeatureAvailable('subscribe') %}
{% set subscribed = false %}
{% if element.subscriberEmails|length > 0 and config.security.userEmail in element.subscriberEmails %}
{% set subscribed = true %}
{% endif %}
{% import 'components/spinner-loader.html.njk' as spinnerLoader%}
{% endif %}
{% set readonlySources = config.features.edit.options.readonlySources %}
{% if config.isFeatureAvailable('edit')
and (not element.isPending or config.isFeatureAvailable('directModeration'))
and (not readonlySources or not (element.sourceKey in readonlySources)) %}
{% endif %}
{% if config.isFeatureAvailable('report') and not element.isPending %}
{% endif %}
{% if config.isFeatureAvailable('delete') and element.status != ElementStatus.PendingAdd %}
{% endif %}