{% if showMore is defined %}
    <a href="{{ url('mautic_campaign_index', {'search': searchString}) }}" data-toggle="ajax">
        <span>{{ 'mautic.core.search.more'|trans({'%count%': remaining}) }}</span>
    </a>
</div>
{% else %}
<a href="{{ url('mautic_campaign_action', {'objectAction': 'view', 'objectId': campaign.id}) }}" data-toggle="ajax">
    <span class="fw-sb">{{ campaign.name }}</span>
    <span class="ml-4 mr-sm">#{{ campaign.getId() }}</span>
    {{- include('@MauticCore/Helper/publishstatus_badge.html.twig', {
        'entity': campaign,
        'status': 'active',
        'simplified': 'true'
    }) -}}
</a>
{% endif %}
