{% extends '@KunstmaanAdmin/Default/layout.html.twig' %}

{% block header %}
    <header class="page-header">
        <h1>{{ 'dashboard.ga.setup.title' | trans }}</h1>
    </header>
{% endblock %}

{% block extracss %}
    <link rel="stylesheet" href="{{ asset('bundles/kunstmaandashboard/css/dashboard.css') }}">
{% endblock %}

{% block content %}
    {% include '@KunstmaanDashboard/GoogleAnalytics/setup.html.twig'
        with {
            'accountId' : accountId,
            'propertyId' : propertyId,
            'properties' : properties,
            'profileId' : profileId,
            'profiles' : profiles,
            'accounts' : accounts,
            'segments' : segments,
            'disableGoals' : disableGoals
        }
    %}
{% endblock %}

{% block extrajavascript %}
    <script src="{{ asset('bundles/kunstmaandashboard/js/dashboard-bundle-setup.min.js') }}"></script>
{% endblock %}

{% extends '@KunstmaanAdmin/Default/layout.html.twig' %}

{% block header %}
    <header class="page-header">
        <h1>{{ 'dashboard.ga.setup.title' | trans }}</h1>
    </header>
{% endblock %}

{% block extracss %}
    <link rel="stylesheet" href="{{ asset('bundles/kunstmaandashboard/css/dashboard.css') }}">
{% endblock %}

{% block content %}
    {% include '@KunstmaanDashboard/GoogleAnalytics/setup.html.twig'
        with {
            'accountId' : accountId,
            'propertyId' : propertyId,
            'properties' : properties,
            'profileId' : profileId,
            'profiles' : profiles,
            'accounts' : accounts,
            'segments' : segments,
            'disableGoals' : disableGoals
        }
    %}
{% endblock %}

{% block js_footer %}
    <!-- JS -->
    {% embed "KunstmaanAdminBundle:Default:_js_footer.html.twig" %}
        {% block extra_async_javascripts %}
            {{ parent() }}
            '{{ asset('bundles/kunstmaandashboard/js/dashboard-bundle-setup.min.js') }}',
        {% endblock %}
    {% endembed %}
{% endblock %}

Fix a problem with the script loading of the bundles
Fix a problem with the script loading of the bundles

A previous commit changed the way bundle scripts are loaded, but only did this for the admin bundle.

This fixes the script loading for the:
	- DashboardBundle
	- MediaBudle
	- TranslatorBundle
