src/StartPlatz/Bundle/EventBundle/Resources/views/Default/_section.anmeldung.html.twig line 1

Open in your IDE?
  1. <!-- Registration Section - Language: {{ lang|default('undefined') }} -->
  2. <section id="{{ isEnglish ? 'registration' : 'anmeldung' }}" class="bg-registration py-3">
  3. <div class="container">
  4.     <!-- Custom content-wrapper class to limit content width and improve readability -->
  5.     <div class="content-wrapper content-background">
  6.                 {% if event.alert == "Anfrage" %}
  7.                     <!-- start part anfrage and registering -->
  8.                     {% include "@StartPlatzEvent/Default/_registration.anfrage.html.twig"%}
  9.                     <!-- end part anfrage and registering -->
  10.                 {% else %}
  11.                     <!-- start part ticketing and registering -->
  12.                     {% if event.ticketing %}
  13.                         <h2 class="text-center">{{ phrases.registration_title }}</h2>
  14.                         <p>
  15.                             {{ event.ticketing|raw }}
  16.                         </p>
  17.                     {% elseif event.applicationUrl and 'startplatz.de' not in event.applicationUrl %}
  18.                         {# External URL always takes precedence, even with batch #}
  19.                         <h2 class="text-center">{{ phrases.registration_title }}</h2>
  20.                         {% include "@StartPlatzEvent/Default/_registration.appicationUrl.html.twig"%}
  21.                     {% elseif event.applicationUrl and not batch%}
  22.                         {# Internal startplatz.de URL only when no batch exists #}
  23.                         <h2 class="text-center">{{ phrases.registration_title }}</h2>
  24.                         {% include "@StartPlatzEvent/Default/_registration.appicationUrl.html.twig"%}
  25.                     {% elseif event.ctaContent or (settings.doNotshowApplicationSection is defined and settings.doNotshowApplicationSection) %}
  26.                         <!-- Application Section will not be shown -->
  27.                     {% elseif batch and batchIsOpen %}
  28.                         {% if batch.priceInEuroCent > 0 %}
  29.                             {% include "@StartPlatzEvent/Default/_registration.batch.html.twig"%}
  30.                         {% else  %}
  31.                             {% if settings.isPreRegistration is defined and settings.isPreRegistration %}
  32.                                 {% include "@StartPlatzEvent/Default/_registration.pre-registration-batch.html.twig"%}
  33.                             {% else %}
  34.                                 {% include "@StartPlatzEvent/Default/_registration.batch.html.twig"%}
  35.                             {% endif%}
  36.                         {% endif %}
  37.                     {% else %}
  38.                         <h2 class="text-center">{{ phrases.registration_not_possible }}</h2>
  39.                     {% endif %}
  40.                     <!-- end part ticketing and registering -->
  41.                 {% endif %}
  42.                 <!-- start cta content -->
  43.                 {% if event.ctaContent %}
  44.                     {{ include(template_from_string(event.ctaContent)) }}
  45.                 {% endif %}
  46.                 <!-- end cta content -->
  47.     </div> <!-- End of content-wrapper -->
  48. </div>
  49. </section>