Skip to content

Commit

Permalink
API Particulier: add missing links for editor
Browse files Browse the repository at this point in the history
  • Loading branch information
skelz0r committed Dec 16, 2024
1 parent 526fb71 commit 58a5fe2
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 58a5fe2

Please sign in to comment.