![]() Server : Apache System : Linux server2.corals.io 4.18.0-348.2.1.el8_5.x86_64 #1 SMP Mon Nov 15 09:17:08 EST 2021 x86_64 User : corals ( 1002) PHP Version : 7.4.33 Disable Function : exec,passthru,shell_exec,system Directory : /home/corals/mautic.corals.io/plugins/MauticSocialBundle/Resources/views/Tweet/ |
{% if items|length > 0 %} <div class="table-responsive"> <table class="table table-hover tweet-list" id="tweetTable"> <thead> <tr> {{ include('@MauticCore/Helper/tableheader.html.twig', { 'checkall': 'true', 'target': '#tweetTable', 'langVar': 'mautic.social.tweets', 'routeBase': 'mautic_tweet', 'templateButtons': { 'delete': securityIsGranted('mauticSocial:tweet:delete'), }, }) }} {{ include('@MauticCore/Helper/tableheader.html.twig', { 'sessionVar': 'social.tweet', 'orderBy': 'e.name', 'text': 'mautic.core.name', 'class': 'col-tweet-name', 'default': true, }) }} {{ include('@MauticCore/Helper/tableheader.html.twig', { 'sessionVar': 'social.tweet', 'orderBy': 'e.id', 'text': 'mautic.core.id', 'class': 'visible-md visible-lg col-asset-id', }) }} </tr> </thead> <tbody> {% for item in items %} <tr> <td> {{ include('@MauticCore/Helper/list_actions.html.twig', { 'item': item, 'templateButtons': { 'edit': securityIsGranted('mauticSocial:tweet:edit'), 'delete': securityIsGranted('mauticSocial:tweet:delete'), }, 'routeBase': 'mautic_tweet', 'langVar': 'mautic.integration.Twitter', 'nameGetter': 'getName', }) }} </td> <td> <div> {{ include('@MauticCore/Helper/publishstatus_icon.html.twig', { 'item': item, 'model': 'social.tweet', }) }} <a href="{{ path('mautic_tweet_action', {'objectAction': 'edit', 'objectId': item.id}) }}" data-toggle="ajax"> {{ item.name }} </a> </div> {% if item.description %} <div class="text-muted mt-4"> <small>{{ item.description|purify }}</small> </div> {% endif %} </td> <td class="visible-md visible-lg">{{ item.id }}</td> </tr> {% endfor %} </tbody> </table> </div> <div class="panel-footer"> {{ include('@MauticCore/Helper/pagination.html.twig', { 'totalItems': items|length, 'page': page, 'limit': limit, 'menuLinkId': 'mautic_tweet_index', 'baseUrl': path('mautic_tweet_index'), 'sessionVar': 'social.tweet', 'routeBase': 'tweet', }) }} </div> {% else %} {{ include('@MauticCore/Helper/noresults.html.twig', {'tip': 'mautic.mautic.social.tweet.noresults.tip'}) }} {% endif %}