{% apply spaceless %} {% block pageTitle %} {{ pagename is defined ? pagename : 'Fekara | School Management Software'|trans }} {% endblock %} {% block BeforeAnyCSSFile %}{% endblock %} {% if app.request.locale == 'ar' or getAppSetting('rtl') == 'on' %} {% set fileName = 'style.bundle.rtl.css' %} {% else %} {# {% set fileName = 'style.bundle.customized.css' %}#} {% set fileName = 'style.bundle.css?1.0' %} {% endif %} {# #} {% block ExtraCSSFiles %}{% endblock %}
{% include 'app/leftSideBar.html.twig' %}
{% include 'app/ajaxProgressBar.html.twig' %}
{% block showHeaderMenuButtons %} {% endblock %}
{# Internal Message #} {% if is_translation_enabled() == "on" %}
{{ supportedLang(app.request.locale) }}
{# set default home page route with duplicate of other route #} {% set localePath = app.request.attributes.get('_route') %} {% if localePath == 'HomePage' %}{% set localePath = "HomePageWithLocale" %}{% endif %}
{% endif %}
{{ 'Hi'|trans }},{{ app.user.fname }} {{ user_avatar(app.user.id,true,app.user.category)|raw }}
{# Begin: begin of main content#}
{% block ContentHead %}{% endblock %}
{# include errors alert#} {# linked head #}

{{ pagename is defined ? pagename : 'Dashboard' | trans }}

{% if addBtnLink is defined and (is_granted('ROLE_SETTING_MANAGER') or is_granted('ROLE_TEACHER') ) %} {{ addBtnTitle is defined ? addBtnTitle : 'Add' | trans }} {% endif %} {% if is_granted('ROLE_SETTING_MANAGER') or is_granted('ROLE_TEACHER') %}   {{ "FAQ's" | trans }}   {% endif %}
{% include "/errors/server_errors.html.twig" %} {# include succcess alert#} {% include "/success_messages/success_messages.html.twig" %} {% set requireSymbol = '*' %} {# app setting notification header #} {% include "/app_settings/appSettingNotification.html.twig" %} {% block MainContent %}{% endblock %}
{% for file in encore_entry_js_files('mainJs') %} {% endfor %} {% block ExtraJsFIles %} {% endblock %} {% endapply %}