<div id="Transitions_Container">
    <div id="Transitions_CenterBox" class="Transitions_Text">
        <h2></h2>

        <div class="Transitions_CenterBoxMetrics">
            <p class="Transitions_Pageviews Transitions_Margin">{{ translations.pageviewsInline|translate }}</p>

            <div class="Transitions_IncomingTraffic">
                <h3>{{ 'Transitions_IncomingTraffic'|translate }}</h3>

                <p class="Transitions_PreviousPages">{{ translations.fromPreviousPagesInline|translate }}</p>

                <p class="Transitions_PreviousSiteSearches">{{ translations.fromPreviousSiteSearchesInline|translate }}</p>

                <p class="Transitions_SearchEngines">{{ translations.fromSearchEnginesInline|translate }}</p>

                <p class="Transitions_SocialNetworks">{{ translations.fromSocialNetworksInline|translate }}</p>

                <p class="Transitions_Websites">{{ translations.fromWebsitesInline|translate }}</p>

                <p class="Transitions_Campaigns">{{ translations.fromCampaignsInline|translate }}</p>

                <p class="Transitions_DirectEntries">{{ translations.directEntriesInline|translate }}</p>
            </div>

            <div class="Transitions_OutgoingTraffic">
                <h3>{{ 'Transitions_OutgoingTraffic'|translate }}</h3>

                <p class="Transitions_FollowingPages">{{ translations.toFollowingPagesInline|translate }}</p>

                <p class="Transitions_FollowingSiteSearches">{{ translations.toFollowingSiteSearchesInline|translate }}</p>

                <p class="Transitions_Downloads">{{ translations.downloadsInline|translate }}</p>

                <p class="Transitions_Outlinks">{{ translations.outlinksInline|translate }}</p>

                <p class="Transitions_Exits">{{ translations.exitsInline|translate }}</p>
            </div>
        </div>
    </div>
    <div id="Transitions_Loops" class="Transitions_Text">
        {{ translations.loopsInline|translate }}
    </div>
    <div id="Transitions_Canvas_Background_Left" class="Transitions_Canvas_Container"></div>
    <div id="Transitions_Canvas_Background_Right" class="Transitions_Canvas_Container"></div>
    <div id="Transitions_Canvas_Left" class="Transitions_Canvas_Container"></div>
    <div id="Transitions_Canvas_Right" class="Transitions_Canvas_Container"></div>
    <div id="Transitions_Canvas_Loops" class="Transitions_Canvas_Container"></div>
</div>

<div class="dataTableWrapper" id="transition-export-actions" style="display:none">
    <div class="dataTableFeatures">
        <div class="dataTableFooterNavigation">
            <div class="dataTableControls">
                <div class="row">
                    <a class="dataTableAction" href="javascript:;" transition-exporter>
                        <span class="icon-export"></span>
                    </a>
                </div>
            </div>
        </div>
    </div>
</div>

<script type="text/javascript">
    var Piwik_Transitions_Translations = {
        {% for internalKey, translation in translations %}
            "{{ internalKey }}": "{{ translation }}",
        {% endfor %}
        "": ""
    };
    var tea = $('#transition-export-actions');
    if (!tea.parent().hasClass('popoverContainer'))
        tea.show();
</script>