Add recent view organization
This commit is contained in:
parent
7a9dad71b4
commit
512bc92116
6 changed files with 101 additions and 1 deletions
20
templates/recent-organization.html
Normal file
20
templates/recent-organization.html
Normal 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 %}
|
Loading…
Add table
Add a link
Reference in a new issue