28 lines
1.7 KiB
Twig
28 lines
1.7 KiB
Twig
<div class="box box-primary">
|
|
<div class="box-header with-border">
|
|
<h3 class="box-title"><i class="fas fa-sitemap"></i> {{translate('ORGANISATION', 2)}}</h3>
|
|
</div>
|
|
<div class="box-body">
|
|
<p class="box-profile-property">
|
|
{% for organisation in current_user.organisations %}
|
|
<div class="row">
|
|
<div class="col-xs-9">
|
|
<a href="{{site.uri.public}}/organisations/o/{{organisation.slug}}" class="label bg-primary {% if organisation.flag_approved != 1 %}organisation-pending{% endif %} {% if organisation.pivot.flag_admin %}organisation-admin{% endif %}" title="{{organisation.description}}" data-text="{{organisation.name}}" style="font-size: 100%;">{{organisation.name}}</a>
|
|
|
|
<small class="user-organisation-description">{{organisation.description}}</small>
|
|
</div>
|
|
</div>
|
|
<hr class="row-divider">
|
|
{% endfor %}
|
|
{% for organisation in current_user.pendingOrganisations %}
|
|
<div class="row">
|
|
<div class="col-xs-9">
|
|
<a href="{{site.uri.public}}/organisations/o/{{organisation.slug}}" class="label bg-primary {% if organisation.flag_approved != 1 %}organisation-pending{% endif %} {% if organisation.pivot.flag_admin %}organisation-admin{% endif %}" title="{{organisation.description}}" data-text="{{organisation.name}}" style="font-size: 100%;">{{organisation.name}}</a>
|
|
<small class="user-organisation-description">{{organisation.description}}</small>
|
|
</div>
|
|
</div>
|
|
<hr class="row-divider">
|
|
{% endfor %}
|
|
</p>
|
|
</div>
|
|
</div> |