Skip to content

Commit

Permalink
Merge pull request #1754 from etalab/missing/link
Browse files Browse the repository at this point in the history
API Particulier: add missing links for editor
  • Loading branch information
skelz0r authored Dec 16, 2024
2 parents 526fb71 + 58a5fe2 commit 2a63696
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions app/views/shared/api_particulier/header/_menu.html.erb
Original file line number Diff line number Diff line change
Expand Up @@ -34,6 +34,16 @@
</li>
<% end %>

<% if user_signed_in? && current_user.editor? %>
<li class="fr-nav__item">
<a class="fr-nav__link center" href="<%= editor_path %>" target="_self">
<strong>Espace éditeurs</strong>
<br />
Gestion clients
</a>
</li>
<% end %>

<li class="ask-access-link fr-nav__item">
<a class="fr-nav__link center" href="https://api.gouv.fr/les-api/api-particulier/demande-acces" target="_blank">
<%= t('.ask_access').html_safe %>
Expand Down

0 comments on commit 2a63696

Please sign in to comment.