<span>{{ 'Dashboard_WidgetsAndDashboard'|translate }}</span>
<ul class="submenu">
    <li>
        <div class="addWidget">{{ 'Dashboard_AddAWidget'|translate }} &darr;</div>
        <ul class="widgetpreview-categorylist"></ul>
    </li>
    {% if dashboardActions|length > 0 %}
    <li>
        <div class="manageDashboard">{{ 'Dashboard_ManageDashboard'|translate }} &darr;</div>
        <ul>
            {% for action, title in dashboardActions %}
            <li data-action="{{ action }}">{{ title|translate }}</li>
            {% endfor %}
        </ul>
    </li>
    {% endif %}
    {% for action, title in generalActions %}
    <li data-action="{{ action }}">{{ title|translate }}</li>
    {% endfor %}
</ul>
<ul class="widgetpreview-widgetlist"></ul>
<div class="widgetpreview-preview"></div>