{% extends '@ui/dashboards/default.html.twig' %}
{% block sidebar %}
{% embed '@ui/common/dashboard/sidebar/content.html.twig' %}
{% block content %}
{% embed '@ui/common/dashboard/sidebar/menu.html.twig' %}
{% block items %}
{% embed '@ui/common/dashboard/sidebar/menuitem.html.twig' with {
text: 'Tenants',
path: [
'platform.control_panel.dashboard.tenant.index',
'platform.control_panel.dashboard.tenant.list',
],
icon: 'users',
submenu: true
} %}
{% block items %}
{% include '@ui/common/dashboard/sidebar/submenuitem.html.twig' with {
text: 'All',
link: path('platform.control_panel.dashboard.tenant.list'),
active: (app.request.attributes.get('primary') is empty)
} %}
{% for primary in constant('Cms\\TenantBundle\\Entity\\TenantTypeEmbeddable::PRIMARY') %}
{% include '@ui/common/dashboard/sidebar/submenuitem.html.twig' with {
text: 'campussuite.cms.tenant.types.primary.%s'|format(primary)|trans,
link: path('platform.control_panel.dashboard.tenant.list', {
primary: primary
}),
active: (app.request.attributes.get('primary') is same as(primary))
} %}
{% endfor %}
{% include '@ui/common/dashboard/sidebar/submenuitem.html.twig' with {
text: 'Pending Removal',
link: path('platform.control_panel.dashboard.tenant.list', {
primary: 'pending-removal',
}),
active: (app.request.attributes.get('primary') is same as('pending-removal'))
} %}
{% endblock %}
{% endembed %}
{% include '@ui/common/dashboard/sidebar/menuitem.html.twig' with {
text: 'Announcements',
path: 'platform.control_panel.dashboard.announcement.index',
icon: 'bell'
} %}
{% embed '@ui/common/dashboard/sidebar/menuitem.html.twig' with {
text: 'Reports',
path: [
'platform.control_panel.dashboard.reports.remediation',
'platform.control_panel.dashboard.reports.oneroster',
'platform.control_panel.dashboard.reports.pdfs',
],
icon: 'files-o',
submenu: true
} %}
{% block items %}
{% include '@ui/common/dashboard/sidebar/submenuitem.html.twig' with {
text: 'ADA Document Remediation Summary',
path: 'platform.control_panel.dashboard.reports.remediation'
} %}
{% include '@ui/common/dashboard/sidebar/submenuitem.html.twig' with {
text: 'ADA PDF Page Counts',
path: 'platform.control_panel.dashboard.reports.pdfs'
} %}
{% include '@ui/common/dashboard/sidebar/submenuitem.html.twig' with {
text: 'One Roster Summary',
path: 'platform.control_panel.dashboard.reports.oneroster'
} %}
{% include '@ui/common/dashboard/sidebar/submenuitem.html.twig' with {
text: 'SSL Apex Status Report',
path: 'platform.control_panel.dashboard.reports.apex'
} %}
{% include '@ui/common/dashboard/sidebar/submenuitem.html.twig' with {
text: 'SSL Domain Status Report',
path: 'platform.control_panel.dashboard.reports.domain'
} %}
{% include '@ui/common/dashboard/sidebar/submenuitem.html.twig' with {
text: 'SSL Certificate Status Report',
path: 'platform.control_panel.dashboard.reports.certificate'
} %}
{% endblock %}
{% endembed %}
{% include '@ui/common/dashboard/sidebar/menuitem.html.twig' with {
text: 'Stats',
path: 'platform.control_panel.dashboard.stats.index',
icon: 'bar-chart-o'
} %}
{% include '@ui/common/dashboard/sidebar/menuitem.html.twig' with {
text: 'One Roster',
path: 'platform.control_panel.dashboard.tenant.one_roster_syncs',
icon: 'refresh'
} %}
{% include '@ui/common/dashboard/sidebar/menuitem.html.twig' with {
text: 'Notifications Onboarding',
path: 'platform.control_panel.dashboard.tenant.notifications_onboarding',
icon: 'commenting-o'
} %}
{% endblock %}
{% endembed %}
{% endblock %}
{% endembed %}
{% endblock %}