templates/website/page/job.html.twig line 1

  1. {% extends '@web/base.html.twig' %}
  2. {% if page is defined and page is not empty %}
  3.     {% set metaParams = {
  4.         'title': page.metaTitle ? page.metaTitle : page.title,
  5.         'metaDescription': page.metaDescription,
  6.         'metaKeywords': page.metaKeywords,
  7.         'image':(page.metaImage is defined ? page.metaImage : page.image is defined ? page.image : null)
  8.     } %}
  9. {% else %}
  10.     {% set metaParams = {} %}
  11. {% endif %}
  12.     {% block meta %}
  13.         {% include '@web/parts/meta.html.twig' with metaParams %}
  14.     {% endblock meta %}
  15. {% block content %}
  16.     <section class="section-job"
  17.     {% if page and page.backgroundImage is not null %}
  18.         style="background-image: url('{{ page.backgroundImage }}');"
  19.     {% endif %}>
  20.         {% block header %}
  21.             {% include '@web/parts/header.html.twig' %}
  22.         {% endblock %}
  23.         <div class="job-wrapper my-container-fluid">
  24.             {% if page and page.image is not null %}
  25.                 <img class="banner-image" src="{{ page.image }}" width="100%" alt="staff">
  26.             {% endif %}
  27.             <div class="standard-title color-darkblue text-center">{{ job.title }}</div>
  28.             <div class="standard-text color-darkblue text-center">{{ job.description|raw }}</div>
  29.             <div class="about-team">
  30.                 <div class="title">{{ job.aboutTeam }}</div>
  31.                 <div class="text">{{ job.teamDescription|raw}}</div>
  32.             </div>
  33.             <div class="standard-title color-darkblue text-center">{{ job.title }}</div>
  34.             {% if jobs is not empty %}
  35.             <div class="thick-wrapper">
  36.                 {% for item in jobs %}
  37.                     <div class="thick">
  38.                         <div class="title color-darkblue">{{item.title}}</div>
  39.                         <div class="text color-darkblue">{{ item.description|raw }}</div>
  40.                         <div class="learn-more">
  41.                             <a target="_blank" class="title" href="{{ path('page_job_view',{'slug':item.slug}) }}">{{'Իմանալ ավելին'|trans}} </a>
  42.                         </div>
  43.                     </div>
  44.                 {% endfor %}
  45.             </div>
  46.             {% endif %}
  47.             {% if job.body is not empty %}
  48.             <div class="section-fragmented">
  49.                 <div class="text">{{ job.body|raw}} </div>
  50.             </div>
  51.             {% endif %}
  52.             {% if jobs is not empty %}
  53.             <a href="{{ path('page_apply_now') }}" class="btn-red apply title d-block m-auto mt-5">{{'Դիմել'|trans}}</a>
  54.             {% endif %}
  55.         </div>
  56.         {% block footer %}
  57.             {% include '@web/parts/footer.html.twig' %}
  58.         {% endblock %}
  59.     </section>
  60. {% endblock %}