<section class="m_position-relative m_recent-accomplish">
<div class="m_recent-accomplish-container">
<div class="m_full-container">
<div class="m_flex m_recent-accomplish-flex">
<div class="m_recent-accomplish-desc">
{% if sectionPageAccomplishment and sectionPageAccomplishment.i18ns is defined and sectionPageAccomplishment.i18ns|length > 0 %}
{% set localeCode = sectionPageAccomplishment.i18ns[0].locale|split('_')|first %}
{% set i18n = (app.request.locale == localeCode and sectionPageAccomplishment.i18ns[0] is defined) ? sectionPageAccomplishment.i18ns[0] : (sectionPageAccomplishment.i18ns[1] is defined ? sectionPageAccomplishment.i18ns[1] : null) %}
{% if i18n %}
<h2>{{ i18n.name }}</h2>
<p>{{ i18n.description|raw }}</p>
{% endif %}
{% endif %}
<a href="{{ path('app_accomplishments_all') }}" title={{ 'see.more'|trans }}
class="m_btn-link-more">{{ 'see.more'|trans }} <i
class="fa-solid fa-angle-right"></i></a>
</div>
<div class="m_recent-listings-accomplish m_flex">
{% set elt = programmingAndPlanningAccomplishments %}
{% if elt.i18ns is defined and elt.i18ns is not empty %}
{% set locale = elt.i18ns[0].locale|split('_')|first %}
{% set i18n = (app.request.locale == locale and elt.i18ns[0] is defined)
? elt.i18ns[0]
: (elt.i18ns[1] is defined ? elt.i18ns[1] : null) %}
{% if i18n %}
{% set firstSubCategory = elt.subCategories|first %}
<article class="m_item-accomplish m_position-relative">
<div class="m_item-accomplish-container m_position-relative">
{% if elt.attachments is defined and elt.attachments|length > 0 and elt.attachments[0].filename is defined %}
<img alt=""
src="{{ path('proxy_avatar', {'path': elt.attachments[0].filename}) }}"/>
{% endif %}
<p>{{ i18n.name|striptags|u.truncate(150, '...') }}</p>
</div>
{% if firstSubCategory %}
<a class="m_link-overlay" href="{{ path('app_accomplishments_detail', {'id': elt.id, 'subCategoryId': firstSubCategory.id,'slug':i18n.slug}) }}" title=""></a>
{% else %}
<a class="m_link-overlay"
href="{{ path('app_accomplishments_detail', {'id': elt.id,'slug':i18n.slug}) }}" title=""></a>
{% endif %}
</article>
{% endif %}
{% endif %}
{% set elt1 = digitalTransformationAccomplishments %}
{% if elt1.i18ns is defined and elt1.i18ns is not empty %}
{% set locale = elt1.i18ns[0].locale|split('_')|first %}
{% set i18n = (app.request.locale == locale and elt1.i18ns[0] is defined)
? elt1.i18ns[0]
: (elt1.i18ns[1] is defined ? elt1.i18ns[1] : null) %}
{% if i18n %}
{% set firstSubCategory = elt1.subCategories|first %}
<article class="m_item-accomplish m_position-relative">
<div class="m_item-accomplish-container m_position-relative">
{% if elt1.attachments is defined and elt1.attachments|length > 0 and elt1.attachments[0].filename is defined %}
<img alt=""
src="{{ path('proxy_avatar', {'path': elt1.attachments[0].filename}) }}"/>
{% endif %}
<p>{{ i18n.name|striptags|u.truncate(150, '...') }}</p>
</div>
{% if firstSubCategory %}
<a class="m_link-overlay" href="{{ path('app_accomplishments_detail', {'id': elt1.id, 'subCategoryId': firstSubCategory.id,'slug':i18n.slug}) }}" title=""></a>
{% else %}
<a class="m_link-overlay"
href="{{ path('app_accomplishments_detail', {'id': elt1.id,'slug':i18n.slug}) }}" title=""></a>
{% endif %}
</article>
{% endif %}
{% endif %}
{% set elt2 = projectAndProgramManagementAccomplishments %}
{% if elt2.i18ns is defined and elt2.i18ns is not empty %}
{% set locale = elt2.i18ns[0].locale|split('_')|first %}
{% set i18n = (app.request.locale == locale and elt2.i18ns[0] is defined)
? elt2.i18ns[0]
: (elt2.i18ns[1] is defined ? elt2.i18ns[1] : null) %}
{% if i18n %}
{% set firstSubCategory = elt2.subCategories|first %}
<article class="m_item-accomplish m_position-relative">
<div class="m_item-accomplish-container m_position-relative">
{% if elt2.attachments is defined and elt2.attachments|length > 0 and elt2.attachments[0].filename is defined %}
<img alt=""
src="{{ path('proxy_avatar', {'path': elt2.attachments[0].filename}) }}"/>
{% endif %}
<p>{{ i18n.name|striptags|u.truncate(150, '...') }}</p>
</div>
{% if firstSubCategory %}
<a class="m_link-overlay" href="{{ path('app_accomplishments_detail', {'id': elt2.id, 'subCategoryId': firstSubCategory.id,'slug':i18n.slug}) }}" title=""></a>
{% else %}
<a class="m_link-overlay"
href="{{ path('app_accomplishments_detail', {'id': elt2.id,'slug':i18n.slug}) }}" title=""></a>
{% endif %}
</article>
{% endif %}
{% endif %}
</div>
</div>
</div>
</div>
</section>