[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[taler-www] 11/42: Added jinja code to create partner table form list
From: |
gnunet |
Subject: |
[taler-www] 11/42: Added jinja code to create partner table form list |
Date: |
Mon, 27 Nov 2023 23:54:07 +0100 |
This is an automated email from the git hooks/post-receive script.
andreas-habegger pushed a commit to branch master
in repository www.
commit 696463166c2fc491245f410d8931c42664f140bd
Author: Andreas HABEGGER <andreas.habegger@bfh.ch>
AuthorDate: Sat Nov 18 20:17:52 2023 +0100
Added jinja code to create partner table form list
---
template/consortium.html.j2 | 37 +++++++++++++++++++++++++++++++++++++
1 file changed, 37 insertions(+)
diff --git a/template/consortium.html.j2 b/template/consortium.html.j2
index 9821f24..97eb5cb 100644
--- a/template/consortium.html.j2
+++ b/template/consortium.html.j2
@@ -87,6 +87,43 @@
</section>
+ <!--Section: Content-->
+ <section class="section-consortium justify-content-md-center text-center
dark-grey-text ">
+
+ {% for partner in conf['partners'] %}
+
+ {% if loop.index0 % 2 == 0 %}
+ <!-- Grid row -->
+ <div class="row align-items-top">
+ {% endif %}
+
+ <!-- Grid column -->
+ <div class="col-lg-6">
+ <div class="avatar mx-auto">
+ <a href="{{ partner['url'] }}" target="_blank" rel="noopener
noreferrer">
+ <img src="{{ url(partner['logo']) }}" height="180"
class="rounded-circle z-depth-3"
+ alt="{{ partner['id'] + ' avatar'}}">
+ </a>
+ </div>
+ <h5 class="font-weight-bold grey-text mt-4 mb-3">{{
partner['contact_name'] }}, {{ partner['contact_role']
+ }} </h5>
+ <p class="grey-text text-muted"> {{ partner['role'] }} </p>
+ <div class="divider"></div>
+ <p class="dark-grey-text text-muted"><i>
+ {{ partner['statement'] }}
+ </i></p>
+ </div>
+ {% if not loop.index0 == 0 and loop.index % 2 == 0 %}
+ <!-- Grid row -->
+ </div>
+ <br>
+ {% endif %}
+ {% endfor %}
+
+
+ </section>
+ <!--Section: Content-->
+
</div>
</main>
{% endblock body_content %}
\ No newline at end of file
--
To stop receiving notification emails like this one, please contact
gnunet@gnunet.org.
- [taler-www] 13/42: WIP: Avoid publishing internal e-mail address; Use office E-mail instead, (continued)
- [taler-www] 13/42: WIP: Avoid publishing internal e-mail address; Use office E-mail instead, gnunet, 2023/11/27
- [taler-www] 21/42: HF: Fixes alignment issue in 'Project funded by' section, gnunet, 2023/11/27
- [taler-www] 34/42: UC: Updated color list-group-item mb-1 in consortium context, gnunet, 2023/11/27
- [taler-www] 25/42: UC: Switched to card elements for the partner panel; Imporvement of alignment., gnunet, 2023/11/27
- [taler-www] 20/42: UC: Added CBG, NLnet logos, gnunet, 2023/11/27
- [taler-www] 31/42: UC: Added event section based on carousel; Added placeholder for deliverables, gnunet, 2023/11/27
- [taler-www] 15/42: UC: Remove Taler System link from navigation, gnunet, 2023/11/27
- [taler-www] 26/42: MC: Integration of python-venv configuration, gnunet, 2023/11/27
- [taler-www] 01/42: Added a description of how to use Python venv, gnunet, 2023/11/27
- [taler-www] 03/42: Added missing python packages to run build script, gnunet, 2023/11/27
- [taler-www] 11/42: Added jinja code to create partner table form list,
gnunet <=
- [taler-www] 35/42: UC: Added announce container, gnunet, 2023/11/27
- [taler-www] 37/42: HF: Input TL about footer element arrangement, gnunet, 2023/11/27
- [taler-www] 08/42: Added placeholder image, gnunet, 2023/11/27
- [taler-www] 18/42: WIP: Added team reference in partner section, gnunet, 2023/11/27
- [taler-www] 17/42: UC: Moved partner content from consortium to partner section, gnunet, 2023/11/27
- [taler-www] 16/42: HF: Spacing issue contact e-mail fixed, gnunet, 2023/11/27
- [taler-www] 04/42: Added empty consortium page with special footer, gnunet, 2023/11/27
- [taler-www] 32/42: UC: Events image size and shape, gnunet, 2023/11/27
- [taler-www] 33/42: UC: Improved grid layout; Added scrollable list for deliverables, gnunet, 2023/11/27
- [taler-www] 09/42: Added divider style, gnunet, 2023/11/27