{% extends '@AdminLTE/layout/default-layout.html.twig' %} {% block body_start %} data-title="{{- get_title()|e('html_attr') -}}" {% endblock %} {% block after_body_start %} {% embed 'embeds/modal.html.twig' %} {% block modal_id %}remote_form_modal{% endblock %} {% block modal_title %}{% endblock %} {% block modal_body %}{% endblock %} {% block modal_footer %}{% endblock %} {% endembed %} {% endblock %} {% block page_content_start %} {% if app.session and app.session.started and app.session.flashbag.peekAll|length > 0 %} {% set close = adminlte_close_alert|default(true) %} {% set domain = 'flashmessages' %} {% endif %} {% endblock %} {% block page_content_before %} {% set event = trigger(constant('App\\Event\\ThemeEvent::CONTENT_BEFORE')) %} {{ event.content|raw }}
{% endblock %} {% block page_content_after %} {% block main_after %}{% endblock %} {% set event = trigger(constant('App\\Event\\ThemeEvent::CONTENT_AFTER')) %} {{ event.content|raw }} {% endblock %} {% block page_content %} {% set event = trigger(constant('App\\Event\\ThemeEvent::CONTENT_START')) %} {{ event.content|raw }} {% block main %}{% endblock %} {% set event = trigger(constant('App\\Event\\ThemeEvent::CONTENT_END')) %} {{ event.content|raw }} {% endblock %} {% block title %} {{- get_title() -}} {% endblock %} {% block page_subtitle %}{% endblock %} {% block logo_mini %} {% if not kimai_context.branding.mini is empty %} {{ kimai_context.branding.mini|raw }} {% else %} KTT {% endif %} {% endblock %} {% block logo_large %} {% if not kimai_context.branding.company is empty %} {{ kimai_context.branding.company|raw }} {% else %} Kimai - Time Tracking {% endif %} {% endblock %} {% block footer %} {% endblock %} {% block navbar_start %} {% if app.user is not null and is_granted('IS_AUTHENTICATED_REMEMBERED') %} {% if is_granted('view_own_timesheet') %} {% if app.user.preferenceValue('login.initial_view') == 'calendar' %}