templates/Jobs/_job_detail.html.twig line 1

Open in your IDE?
  1. {% extends "Jobs/job.html.twig" %}
  2. {% import "Admin/macros.html.twig" as celler %}
  3. {% if job.banner %}
  4.     {% set banner= asset(job.banner.file) %}
  5. {% endif %}
  6. {% block titlebox %}
  7.     <div class="fill relative flex col middle">
  8.         <h1 class="h2 white">{{title}}</h1>
  9.     </div>
  10. {% endblock %}
  11. {% block job_content %}
  12.     <div class='{{desktop("flex row space top bottom-80 top-60")}} {{mobile("")}}'>
  13.         <div class='w100 {{ desktop("right-60") }}'>
  14.             {{ include('Jobs/_job_info_.html.twig', {job:job, withButton: true}) }}
  15.         </div>
  16.         <aside class="{{desktop('third left-80 vt-20-in')}} {{mobile('vt-20-in')}}">
  17.             {% if sectorsJobs %}
  18.                 {% if isMobile() %}
  19.                     <div class="border border-gray border-1x bottom-40"></div>
  20.                 {% endif %}
  21.                 <p class="semibold {{ desktop("h4 warning") }}{{ mobile("top-20 h2 text-center black-alt") }}">{{ static.JobDetailPageConnexeOfferTitle }}</p>
  22.                 <div class="{{ desktop("top-30") }}{{ mobile("top-40")}} flex col">
  23.                     {% for o in sectorsJobs.results %}
  24.                         {% if o != job %}
  25.                             <div class="radius-5 {{ desktop("padding-20 bottom-30 shadow-alt")}}{{ mobile("padding-15 bottom-20 shadow-alt-2")}} bg-white black-alt">
  26.                                 <label class="{{ isDesktop() ? 'black-alt'}} semibold {{ desktop("h6") }}{{ mobile("h3") }}">{{o.title}}</label>
  27.                                 <p class="vt-10-in black-alt {{ isDesktop() ? "p-alt" : "h4" }}">{{ o.description|ellipse }}</p>
  28.                                 <div class="border {{ isDesktop() ? "border-gray" : "border-success" }} border {{ mobile("bottom-25 top-10") }}"></div>
  29.                                 <div class="top-20 bottom-10 flex row space">
  30.                                     <span></span>
  31.                                     <a class='p-alt radius-5 {{desktop('bg-gray border border-black border-1x black vt-7-in hz-10-in')}} {{mobile('bg-gray success medium vt-5-in hz-10-in')}} nowrap'
  32.                                        href='{{ path('job-detail', {uuid: o.uuid }) }}'>
  33.                                         {{ "see more"|trans }}
  34.                                     </a>
  35.                                 </div>
  36.                             </div>
  37.                         {% endif %}
  38.                     {% endfor %}
  39.                 </div>
  40.             {% endif %}
  41.         </aside>
  42.     </div>
  43. {% endblock %}