
<span class="pull-right">
    @if(!blank($row->permissions))
        <span class="text-success text-underline cursor-pointer fs-13 fa fa-warning btn btn-rounded btn-sm"
              role="tooltip"
              data-html="true"
              data-toggle="popover"
              title ="{{ __("(:count) Permission(s)",['count' => format_amount(count($row->permissions)),"name" => $row->name]) }}"
              data-content ="{{ html_ul_lists($row->permissions->pluck("description")->toArray(),'text-black') }}">
            {{format_amount(count($row->permissions))}}
        </span>
    @else
        <span><strong>---</strong></span>
    @endif
</span>
