{% if object.id and object.operacion and object.operacion.deletedAt is null%} <li id="action-switch-operacion" class="action"> <a class="sonata-action-element" href="{{ url('admin_app_operacion_edit', admin.getEntitySubClass is defined ? {'id': object.id, 'subclass': admin.getEntitySubClass} : {'id': object.operacion.id}) }}" title="{{ 'link_action_switch_operacion'|trans({}, 'SonataAdminBundle') }}"> <i class="fas fa-toggle-off fa-2x"></i> </a> </li>{% endif %}