{% set channelFromDomain = cursus.channelUserData.channel ?? channel ?? training.ownerChannel ?? get_channel_from_domain() %}{% if app.userand channelFromDomain is not nulland app.request.attributes.get('_route') starts with 'front_'and nellapp_url_exist('core', 'account_channel_user_data_dashboard') %}<div class="{{ wrapper_class|default('container flex-grow-0 pt-3 d-flex justify-content-end') }}"><a class="{{ button_class|default('nellapp-btn') }}" href="{{ nellapp_url('core', 'account_channel_user_data_dashboard', {'channelId': channelFromDomain.id}) }}"><i class="fas fa-arrow-left"></i>{{- 'front.scholar.back_to_dashboard.label'|trans -}}</a></div>{% endif %}