diff options
author | Stefan Kügel <skuegel@web.de> | 2023-11-30 13:10:48 +0100 |
---|---|---|
committer | Stefan Kügel <skuegel@web.de> | 2023-11-30 13:10:48 +0100 |
commit | 987ee2ebea27dcc9592b0f4a39199a08f5314549 (patch) | |
tree | 71021c1653a580bd896df3ee4c8e24dc9e07e362 /template | |
parent | ca8ac144367fd8397be6c597eca1b24511c9895a (diff) | |
download | www-987ee2ebea27dcc9592b0f4a39199a08f5314549.tar.gz www-987ee2ebea27dcc9592b0f4a39199a08f5314549.tar.bz2 www-987ee2ebea27dcc9592b0f4a39199a08f5314549.zip |
Moving the event block up between 'Project' and 'Partners'
Diffstat (limited to 'template')
-rw-r--r-- | template/consortium.html.j2 | 98 |
1 files changed, 49 insertions, 49 deletions
diff --git a/template/consortium.html.j2 b/template/consortium.html.j2 index 5fb1600b..d6fecf5a 100644 --- a/template/consortium.html.j2 +++ b/template/consortium.html.j2 @@ -61,6 +61,55 @@ <div class="row"> + <div class="col-md-6 mb-6"> + <h4 class="font-weight-bold pb-2 mb-4">{{ _("Events")}}</h4> + <div class="container announce"> + <div id="AnnouncCarousel" class="carousel slide" data-bs-ride="carousel"> + <!-- Carousel indicators --> + <div class="carousel-indicators"> + {% for number in range(0, conf['events']|count) %} + <button data-bs-target="#AnnouncCarousel" data-bs-slide-to="{{ number }}" {% if number==0 %} + class="active" {% endif %} aria-current="true" aria-label="Slide {{ number + 1 }}"></button> + {% endfor %} + </div> + + <!-- Wrapper for carousel items --> + <div class="carousel-inner vevent"> + {% for item in conf['events'] %} + + <div {% if loop.first %} class="carousel-item active" {% else %} class="carousel-item" {% endif %} + data-bs-interval="5000"> + <h5 class="summary">{{ item['title'] }}</h5> + <div class="img-box"> <img src="{{ url( item['url_img']|default('images/logo-2021.svg', true) ) }}" + alt=""> + </div> + <p class="description testimonial"> + {{ item['teaser'] }} + </p> + <p class="fas fa-calendar-alt"> Date: + <span class="dtstart"> + <abbr class="value" title="{{ item['date'] }}"> {{ item['date'] }}</abbr> + </span> + </p> + {% if item['url_ext'] is defined and item['url_ext'] and item['url_ext'] != "" %} + <p class="fa fa-globe"> <a target="_blank" href="{{ item['url_ext'] }}"> About</a></p> + {% endif %} + {% if item['location'] is defined and item['location'] and item['location'] != "" %} + <p class="fas fa-map-marker-alt"> Location: <span class="location">{{ item['location'] }}</span></p> + {% endif %} + <p class="fa fa-user"> <b>{{ item['speaker'] }}</b></p> + {% if item['email'] is defined and item['email'] and item['email'] != "" %} + <p class="fas fa-envelope"> <a href="mailto:{{ item['email'] }}?subject={{ item['title'] }}"><span + class="dark-grey-text"> Contact</span></a></p> + {% endif %} + + </div> + {% endfor %} + </div> + </div> + </div> + </div> + <div class="col-md-1 mb-1"></div> {# DEPRECATED DELIVERABLES <div class="col-md-4 mb-4"> @@ -147,55 +196,6 @@ {% endfor %} </div> - - <div class="col-md-6 mb-6"> - <h4 class="font-weight-bold pb-2 mb-4">{{ _("Events")}}</h4> - <div class="container announce"> - <div id="AnnouncCarousel" class="carousel slide" data-bs-ride="carousel"> - <!-- Carousel indicators --> - <div class="carousel-indicators"> - {% for number in range(0, conf['events']|count) %} - <button data-bs-target="#AnnouncCarousel" data-bs-slide-to="{{ number }}" {% if number==0 %} - class="active" {% endif %} aria-current="true" aria-label="Slide {{ number + 1 }}"></button> - {% endfor %} - </div> - - <!-- Wrapper for carousel items --> - <div class="carousel-inner vevent"> - {% for item in conf['events'] %} - - <div {% if loop.first %} class="carousel-item active" {% else %} class="carousel-item" {% endif %} - data-bs-interval="5000"> - <h5 class="summary">{{ item['title'] }}</h5> - <div class="img-box"> <img src="{{ url( item['url_img']|default('images/logo-2021.svg', true) ) }}" - alt=""> - </div> - <p class="description testimonial"> - {{ item['teaser'] }} - </p> - <p class="fas fa-calendar-alt"> Date: - <span class="dtstart"> - <abbr class="value" title="{{ item['date'] }}"> {{ item['date'] }}</abbr> - </span> - </p> - {% if item['url_ext'] is defined and item['url_ext'] and item['url_ext'] != "" %} - <p class="fa fa-globe"> <a target="_blank" href="{{ item['url_ext'] }}"> About</a></p> - {% endif %} - {% if item['location'] is defined and item['location'] and item['location'] != "" %} - <p class="fas fa-map-marker-alt"> Location: <span class="location">{{ item['location'] }}</span></p> - {% endif %} - <p class="fa fa-user"> <b>{{ item['speaker'] }}</b></p> - {% if item['email'] is defined and item['email'] and item['email'] != "" %} - <p class="fas fa-envelope"> <a href="mailto:{{ item['email'] }}?subject={{ item['title'] }}"><span - class="dark-grey-text"> Contact</span></a></p> - {% endif %} - - </div> - {% endfor %} - </div> - </div> - </div> - </div> </div> </div> |