NDOJ/templates/recent-organization.html

17 lines
847 B
HTML
Raw Normal View History

2022-10-17 20:48:07 +00:00
{% if recent_organizations %}
2023-01-27 23:11:10 +00:00
<div class="blog-sidebox sidebox">
<h3 class="bold-text colored-text"><i class="fa fa-building-columns"></i>{{ _('Recent groups') }}</h3>
2023-03-03 00:50:33 +00:00
<div class="toggled sidebox-content">
2023-01-27 23:11:10 +00:00
{% for organization in recent_organizations %}
2024-04-12 06:51:57 +00:00
<a href="{{ url('organization_home', organization.pk, organization.slug) }}" class="organization-row">
{% if organization.logo_override_image %}
<img class="org-logo user-img" loading="lazy" src="{{ organization.logo_override_image }}">
{% else %}
<img class="org-logo" loading="lazy" src="{{ static('icons/icon.svg') }}" onerror="{{static('icons/logo.svg')}}">
{% endif %}
<span style="word-break: break-word;">{{ organization.name }}</span>
2023-01-27 23:11:10 +00:00
</a>
{% endfor %}
2022-10-17 20:48:07 +00:00
</div>
2023-01-27 23:11:10 +00:00
</div>
2022-10-17 20:48:07 +00:00
{% endif %}