{% extends 'base.html.twig' %} {% block metaTitle %}{{ meta.title|default }}{% endblock %} {% block metaDescription %}{{ meta.description|default }}{% endblock %} {% block stylesheets %} {% endblock %} {% block body %}
{# SOLUTİONS MAIN SECTION#} {% set solutionsPage = getPages({'alias': 'Çözümler'}) %} {% set solutionsSection = getPageSections({'alias': 'İntro Kısmı', 'pageId': solutionsPage.id}) %} {% set mainpageSolutionsIntroLang = getPageSectionLangLocale({'section': solutionsSection, 'locale': app.request.locale}) %}
{{ mainpageSolutionsIntroLang.shortTitle|default }}

{{ mainpageSolutionsIntroLang.title|default }}

{{ mainpageSolutionsIntroLang.text|default|raw }}

{% set length = solutions|length %} {% set half = (length >= 2) ? (length // 2) : length %}
{% for solution in solutions[:half] %} {% set solutionLang = getSolutionsLangs({'Solutions': solution, 'lang': app.request.locale}) %} {% set solutionImage = getSolutionsImages({'Solutions': solution}) %} {% set pdfDir = getParameters("page_solutions_pdf_dir") %} {% set pdfFile = attribute(solution, 'pdf' ~ app.request.locale|capitalize) %} {% set pdfPath = pdfFile ? asset(pdfDir ~ pdfFile) : null %}
{% set dir = getParameters("page_solutions_solutions_dir") %} {% set imageDir = solutionImage is defined and solutionImage.name is defined ? (dir ~ solutionImage.name) : 'assets/img/about-us/iccon-1.png' %} {{ solutionLang.alt|default }}

{{ solutionLang.title|default }}

{{ solutionLang.description|default|raw }}
{% if pdfPath is not empty %} review documents {% endif %}
{% endfor %}
{% for solution in solutions[half:] %} {% set solutionLang = getSolutionsLangs({'Solutions': solution, 'lang': app.request.locale}) %} {% set solutionImage = getSolutionsImages({'Solutions': solution}) %} {% set pdfDir = getParameters("page_solutions_pdf_dir") %} {% set pdfFile = attribute(solution, 'pdf' ~ app.request.locale|capitalize) %} {% set pdfPath = pdfFile ? asset(pdfDir ~ pdfFile) : null %}
{% set dir = getParameters("page_solutions_solutions_dir") %} {% set imageDir = solutionImage is defined and solutionImage.name is defined ? (dir ~ solutionImage.name) : 'assets/img/about-us/iccon-1.png' %} {{ solutionLang.alt|default }}

{{ solutionLang.title|default }}

{{ solutionLang.description|default|raw }}
{{ solutionLang.descriptionDetail|default|raw }}
{% if pdfPath is not empty %} review documents {% endif %}
{% endfor %}
{% include "components/innerPageFooter.html.twig" %}
{% endblock %} {% block javascripts_bottom %} {% endblock %}