{% extends '@syndexAcademic/main_layout.html.twig' %} {% trans_default_domain "Academia" %} {% set og_desc = 'universities.index.description'|trans({}, 'Academia') %} {% if university.arabicDescription is not null %} {% set og_desc = university.arabicDescription %} {% endif %} {% set og_logo = asset('bundles/syndexacademic/images/academiaLogoNew_300.jpg') %} {% set locale = app.request.locale %} {% if university.additionalInfo is not null %} {% if university.additionalInfo.logo %} {% set og_logo = asset('uploads/publishers/' ~ university.additionalInfo.logo) %} {% endif %} {% endif %} {% block metaKeywords %} {{ 'universities.keywords'|trans }} {% endblock %} {% block metaDescription %}{{ og_desc }}{% endblock %} {% block og_title %}{{ university.arabicFullName }} | {{ "universities.shamra"|trans }}{% endblock %} {% block og_description %}{{ og_desc }}{% endblock %} {% block og_image %}{{ og_logo }}{% endblock %} {% block og_image_width %}300{% endblock %} {% block og_image_height %}300{% endblock %} {% block og_url %}{{ app.request.scheme ~'://' ~ app.request.httpHost ~ path(app.request.attributes.get('_route'), app.request.attributes.get('_route_params')) }}{% endblock %} {% block title %} {{ "universities.shamra"|trans }} - {{ university.arabicFullName }} {% endblock %} {% block css %} {% if locale == "en" %} {% endif %} {% endblock %} {% block schemaBlock %} {% endblock schemaBlock %} {% block structured_data %} {% endblock %} {% block body %} {{ parent() }}
{% if locale == "en" and university.englishDescription|raw != null and university.englishDescription|raw != "" %} {{university.englishDescription|raw}} {% else %} {{ university.arabicDescription|raw }} {% endif %}
{{ 'universities.country'|trans }} : {% if locale == "en" %} {{ university.country.englishName }} {% else %} {{ university.country.arabicName }} {% endif %}
{% if university.additionalInfo is not null %} {% if university.additionalInfo.establishDate is not null %}{{ 'universities.details.establish'|trans }} : {{ university.additionalInfo.establishDate|date('Y') }} {{ 'universities.BC'|trans }}
{% endif %} {% if university.additionalInfo.isPrivate is not null %}{% if route == "syndex_universities_show_university" %} {{ 'universities.filter.type.kind.title'|trans }} : {% else %} {{ 'publishers.kind'|trans }} : {% endif %} {% if university.additionalInfo.isPrivate %} {{ 'universities.filter.type.kind.private'|trans({},'Academia') }} {% else %} {{ 'universities.filter.type.kind.public'|trans({},'Academia') }} {% endif %}
{% endif %} {% if university.additionalInfo.globalRanking is not null %}{{ 'universities.ranking.global'|trans }} : {{ university.additionalInfo.globalRanking }} {{ 'universities.ranking.reference'|trans }}
{% endif %} {% if university.additionalInfo.numberOfStudents is not null %}{{ 'universities.details.num-students'|trans }} : {{ university.additionalInfo.numberOfStudents }}
{% endif %} {% endif %} {% if totalResearches is not null %}{{ 'universities.statistics.other.total-research'|trans }} : {{ totalResearches }} {% if totalResearches > 0 %} {{ "universities.go-to-academic-search"|trans }} {% endif %}
{% endif %} {% if university.phone is not null or university.fax is not null or university.email is not null or university.website is not null %}{% if university.phone is not null %} {% if not is_mobile() %} {{ university.phone}} {% else %} {{ university.phone}} {% endif %} {% endif %} {% if university.fax is not null %} {% if is_mobile() %} {{ university.fax}} {% else %} {{ university.fax}} {% endif %} {% endif %} {% if university.email is not null %} {{ university.email}} {% endif %} {% if university.website is not null %} {% if 'https' in university.website or 'http' in university.website %} {{ university.website}} {% else %} {{ 'http://'~university.website}} {% endif %} {% endif %}
{% endif %} {% if researches %}{% for research in researches %}
{{ ("universities.for-more-info"|trans({'%univ-link%':'' ~ university.arabicFullname ~'' , '%places-link%':path('syndex_places_homepage')}, 'Academia'))|raw }}