templates/course/parts/params.html.twig line 1

Open in your IDE?
  1. <table class="table">
  2.     <tr>
  3.         <th class="w-50">Umístění kurzu:</th>
  4.         <td>
  5.             {{ course.placeType }}
  6.             {% if(course.place is not empty) %}
  7.                 :<br />
  8.                 {{ course.place.address }}
  9.             {% else %}
  10.                 {% if(course.city) %}
  11.                     <br />
  12.                     {{ course.city.name }}, {{ course.city.district }}
  13.                 {% endif %}
  14.             {% endif %}
  15.             {%- if(course.placeDescription is not empty) %}
  16.                 <br />{{ course.placeDescription }}
  17.             {% endif -%}
  18.         </td>
  19.     </tr>
  20.     {% if(course.dayInWeeks|length >0) %}
  21.         <tr>
  22.             <th class="w-50">Dny vyuky:</th>
  23.             <td>
  24.                 {% for day in course.dayInWeeks %}
  25.                     {{ day.name }}
  26.                 {% endfor %}
  27.             </td>
  28.         </tr>
  29.     {% endif %}
  30.     {% if(course.progressLevel is not empty) %}
  31.         <tr>
  32.             <th class="w-50">Úroveň pokročilosti:</th>
  33.             <td>{{ course.progressLevel }}</td>
  34.         </tr>
  35.     {% endif %}
  36.     {% if(course.languageLevelInput is not empty) %}
  37.         <tr>
  38.             <th class="w-50">Vstupní jazyková úroveň:</th>
  39.             <td>{{ course.languageLevelInput }}</td>
  40.         </tr>
  41.     {% endif %}
  42.     {% if(course.languageLevelOutput is not empty) %}
  43.         <tr>
  44.             <th class="w-50">Výstupní jazyková úroveň:</th>
  45.             <td>{{ course.languageLevelOutput }}</td>
  46.         </tr>
  47.     {% endif %}
  48.     <tr>
  49.         <th class="w-50">Frekvence vyuky:</th>
  50.         <td>
  51.             {% if(course.frequencyText is not empty) %}
  52.                 {{ course.frequencyText }}x
  53.             {% endif %}
  54.             {{ course.frequency }}
  55.         </td>
  56.     </tr>
  57.     <tr>
  58.         <th class="w-50">Čas vyuky:</th>
  59.         <td>{{ course.lessonStart|date('H:i') }} - {{ course.lessonEnd|date('H:i') }}</td>
  60.     </tr>
  61.     <tr>
  62.         <th class="w-50">Příprava na certifikovanou zkoušku:</th>
  63.         <td>{% if(course.isPreparationForCertification) %}Ano{% else %}Ne{% endif %}</td>
  64.     </tr>
  65.     <tr>
  66.         <th class="w-50">Kurz jen pro straší 18 let:</th>
  67.         <td>{% if(course.onlyForAdults) %}Ano{% else %}Ne{% endif %}</td>
  68.     </tr>
  69.     <tr>
  70.         <th class="w-50">Obsah kurzu je možné upravit na míru:</th>
  71.         <td>{% if(course.canCustomize) %}Ano{% else %}Ne{% endif %}</td>
  72.     </tr>
  73.     <tr>
  74.         <th class="w-50">Kurz vede rodilý mluvčí:</th>
  75.         <td>{% if(course.isNativeSpeaker) %}Ano{% else %}Ne{% endif %}</td>
  76.     </tr>
  77.     {% if(course.certificationPrice is not empty) %}
  78.         <tr>
  79.             <th class="w-50">Cena certifikace:</th>
  80.             <td>{{ course.certificationPrice }}</td>
  81.         </tr>
  82.     {% endif %}
  83.     {% if(course.certificate is not empty) %}
  84.         <tr>
  85.             <th class="w-50">Certifikace:</th>
  86.             <td>
  87.                 {{ course.certificate.name }}
  88.             </td>
  89.         </tr>
  90.     {% endif %}
  91.     <tr>
  92.         <th class="w-50">Certifikace součást kurzu</th>
  93.         <td>{% if(course.isWithCertificate) %}Ano{% else %}Ne{% endif %}</td>
  94.     </tr>
  95.     {% if(course.requirements is not empty) %}
  96.         <tr>
  97.             <th class="w-50">Další požadavky:</th>
  98.             <td>{{ course.requirements }}</td>
  99.         </tr>
  100.     {% endif %}
  101.     <tr>
  102.         <th class="w-50">Potvrzení o účasti v kurzu</th>
  103.         <td>{% if(course.isConfirmationOfParticipation) %}Ano{% else %}Ne{% endif %}</td>
  104.     </tr>
  105.     {% if(course.url is not empty) %}
  106.         <tr>
  107.             <th class="w-50">Odkaz</th>
  108.             <td><a href="{{ course.url }}" class="btn btn-primary">Přejít na web</a></td>
  109.         </tr>
  110.     {% endif %}
  111. </table>