mirror of
https://github.com/ae-utbm/sith.git
synced 2026-10-10 21:00:28 +00:00
add club links to club list page
This commit is contained in:
1 parent
def4f80ec0
commit
23dc7702c4
2 files changed
+18
-8
No files matched your search
@@ -69,6 +69,18 @@
|
||||
{{ club.name }} {% if not club.is_active %}({% trans %}inactive{% endtrans %}){% endif %}
|
||||
</h4>
|
||||
</a>
|
||||
{% set links = club.links.all() %}
|
||||
{% if links %}
|
||||
<br>
|
||||
<div class="row gap-2x">
|
||||
{% for link in club.links.all() %}
|
||||
<a href="{{ link.url }}">
|
||||
<i class="{{ link.link_type.icon }} fa-xl"></i>
|
||||
<strong>{{ link.name }}</strong>
|
||||
</a>
|
||||
{% endfor %}
|
||||
</div>
|
||||
{% endif %}
|
||||
{{ club.short_description|markdown }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user