Add recent view organization

This commit is contained in:
Zhao-Linux 2022-10-18 03:48:07 +07:00
parent 7a9dad71b4
commit 512bc92116
6 changed files with 101 additions and 1 deletions

View file

@ -0,0 +1,20 @@
{% if recent_organizations %}
<div class="blog-sidebox sidebox">
<h3>{{ _('Recent Organization') }} <i class="fa fa-trophy"></i></h3>
<div class="sidebox-content" style="padding: 0; border: 0">
<table class="table feed-table">
<tbody>
{% for organization in recent_organizations %}
<tr>
<td style="padding: 7px 2px">
<a href="{{ url('organization_home', organization.organization.pk, organization.organization.slug) }}">
<b> {{organization.organization}} </b>
</a>
</td>
</tr>
{% endfor %}
</tbody>
</table>
</div>
</div>
{% endif %}