Skip to content

Commit

Permalink
switch edit activities tab
Browse files Browse the repository at this point in the history
  • Loading branch information
SebastienReuiller committed Nov 7, 2024
1 parent e508900 commit b8826eb
Showing 1 changed file with 4 additions and 15 deletions.
19 changes: 4 additions & 15 deletions lemarche/templates/dashboard/siae_edit_base.html
Original file line number Diff line number Diff line change
Expand Up @@ -82,25 +82,14 @@ <h3 class="fr-alert__title">Votre fiche n'est pas complète, et donc moins visib
</a>
</li>
<li role="presentation">
<a href="{% url 'dashboard_siaes:siae_edit_search' siae.slug %}"
id="siae-edit-search-tab"
<a href="{% url 'dashboard_siaes:siae_edit_activities' siae.slug %}"
id="siae-edit-search-2-tab"
class="fr-tabs__tab"
aria-controls="siae_edit_search_panel"
aria-selected="{% if 'siae_edit_search' in request.resolver_match.url_name %}true{% else %}false{% endif %}">
aria-controls="siae_edit_activities_panel"
aria-selected="{% if 'siae_edit_activities' in request.resolver_match.url_name %}true{% else %}false{% endif %}">
Votre référencement
</a>
</li>
{% if user.is_authenticated and user.is_admin %}
<li role="presentation">
<a href="{% url 'dashboard_siaes:siae_edit_activities' siae.slug %}"
id="siae-edit-search-2-tab"
class="fr-tabs__tab"
aria-controls="siae_edit_activities_panel"
aria-selected="{% if 'siae_edit_activities' in request.resolver_match.url_name %}true{% else %}false{% endif %}">
Votre référencement (2)
</a>
</li>
{% endif %}
<li role="presentation">
<a href="{% url 'dashboard_siaes:siae_edit_info' siae.slug %}"
id="siae-edit-info-tab"
Expand Down

0 comments on commit b8826eb

Please sign in to comment.