Skip to content

Commit

Permalink
fix error
Browse files Browse the repository at this point in the history
  • Loading branch information
madjid-asa committed Feb 8, 2024
1 parent e2e2a91 commit b9c42dd
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions lemarche/templates/dashboard/home_siae.html
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ <h1 class="s-title-01__title h1"><strong>Tableau de bord</strong></h1>
<ul class="s-tabs-01__nav nav nav-tabs" role="tablist">
{% for siaeuser in user.siaeuser_set.all %}
<li class="nav-item" role="presentation">
<a class="nav-link {% if forloop.first %}active{% endif %} {% if siaeuser.siae.super_badge %}super-badge-tab{% endif %}" id="id-{{ siaeuser.siae.slug }}-tab" data-toggle="tab" href="#{{ siaeuser.siae.slug }}" role="tab" aria-controls="{{ siaeuser.siae.slug }}" aria-selected="{% if forloop.first %}true{% else %}false{% endif %}">
<a class="nav-link {% if forloop.first %}active{% endif %} {% if siaeuser.siae.super_badge %}super-badge-tab{% endif %}" id="id-{{ siaeuser.siae.slug }}-tab" data-toggle="tab" href="#id-{{ siaeuser.siae.slug }}" role="tab" aria-controls="{{ siaeuser.siae.slug }}" aria-selected="{% if forloop.first %}true{% else %}false{% endif %}">
<span class="mr-2">
{% if siaeuser.siae.logo_url %}
<img class="img-fluid" style="width:20px" src="{{ siaeuser.siae.logo_url }}" alt="Logo de la structure {{ siaeuser.siae.name }}" loading="lazy" />
Expand Down Expand Up @@ -68,7 +68,7 @@ <h1 class="s-title-01__title h1"><strong>Tableau de bord</strong></h1>
{% if forloop.first %}
<div class="tab-content {% if siaeuser.siae.super_badge %}super-badge-tab{% endif %}">
{% endif %}
<div class="tab-pane fade {% if forloop.first %}show active{% endif %}" id="id-{{ siaeuser.siae.slug }}" role="tabpanel" aria-labelledby="{{ siaeuser.siae.slug }}-tab">
<div class="tab-pane fade {% if forloop.first %}show active{% endif %}" id="id-{{ siaeuser.siae.slug }}" role="tabpanel" aria-labelledby="id-{{ siaeuser.siae.slug }}-tab">
{% include "dashboard/_siae_tab_content.html" with siae=siaeuser.siae %}
</div>
{% if forloop.last %}
Expand Down Expand Up @@ -139,4 +139,5 @@ <h1 class="s-title-01__title h1"><strong>Tableau de bord</strong></h1>
{% endif %}

{% include "dashboard/_aides_territoires_section.html" with extra_class="pt-3" %}

{% endblock %}

0 comments on commit b9c42dd

Please sign in to comment.