2022-10-17 22:08:12 +00:00
|
|
|
{% block two_col_media %}
|
|
|
|
<style>
|
|
|
|
.organization-row {
|
|
|
|
display: block;
|
|
|
|
padding: 0.5em;
|
|
|
|
border-bottom: 1px gray solid;
|
|
|
|
border-top: none;
|
|
|
|
color: black;
|
|
|
|
font-weight: bold;
|
2022-10-18 00:46:38 +00:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2022-10-17 22:08:12 +00:00
|
|
|
}
|
|
|
|
.organization-row:hover {
|
|
|
|
background-color: #f3f3f3;
|
|
|
|
}
|
|
|
|
.org-logo {
|
|
|
|
vertical-align: middle;
|
|
|
|
height: 2em;
|
|
|
|
width: 2em;
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
.toggle {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
</style>
|
|
|
|
{% endblock %}
|
|
|
|
|
2022-10-17 20:48:07 +00:00
|
|
|
{% if recent_organizations %}
|
|
|
|
<div class="blog-sidebox sidebox">
|
2022-10-18 00:03:07 +00:00
|
|
|
<h3>{{ _('Recent groups') }} <i class="fa fa-users"></i></h3>
|
2022-10-17 22:08:12 +00:00
|
|
|
<div class="organization-container toggled">
|
|
|
|
{% for organization in recent_organizations %}
|
|
|
|
<a href="{{ url('organization_home', organization.organization.pk, organization.organization.slug) }}" class="sidebox-content organization-row" title="{{organization.organization.about}}">
|
|
|
|
<img class="org-logo" src="{{ organization.organization.logo_override_image or static('icons/icon.png') }}">
|
2022-10-18 00:46:38 +00:00
|
|
|
<span style="word-break: break-all;">{{ organization.organization }}</span>
|
2022-10-17 22:08:12 +00:00
|
|
|
</a>
|
|
|
|
{% endfor %}
|
|
|
|
</div>
|
2022-10-17 20:48:07 +00:00
|
|
|
</div>
|
|
|
|
{% endif %}
|