amelioration(doc.api): utilise le bon lien pour la doc des APIs, ajoute le lien sur la section des jetons d'api sur la page profil usager
This commit is contained in:
parent
269e7e1432
commit
202fd7e099
4 changed files with 6 additions and 5 deletions
|
@ -1,5 +1,6 @@
|
|||
en:
|
||||
tokens_title: API identification tokens
|
||||
first_paragraph: These tokens are needed to make calls to the
|
||||
first_paragraph_html: |
|
||||
These tokens are needed to make calls to the API of %{application_name}. You can <strong>click on </strong><a target=_blank rel="noopener" href="%{api_doc_url}" title="See %{application_name} API documentation">this link</a> to check our documentation
|
||||
second_paragraph: If you already have applications that use a token and you revoke it, access to the API will be blocked for those applications.
|
||||
action: Create and display a new token
|
||||
|
|
|
@ -1,5 +1,6 @@
|
|||
fr:
|
||||
tokens_title: Jetons d’identification de l’API (token)
|
||||
first_paragraph: Ces jetons sont nécessaire pour effectuer des appels vers l’API de
|
||||
first_paragraph_html: |
|
||||
Ces jetons sont nécessaire pour effectuer des appels vers l’API de %{application_name}. Vous pouvez <strong>consulter notre documentation en suivant </strong><a target=_blank rel="noopener" href="%{api_doc_url}" title="Voir la documentation de l'API de %{application_name}">ce lien</a>
|
||||
second_paragraph: Si vous avez déjà des applications qui utilisent un jeton et vous le révoquez, l’accès à l’API sera bloqué pour ces applications.
|
||||
action: Créer et afficher un nouveau jeton
|
||||
|
|
|
@ -2,8 +2,7 @@
|
|||
.card-title
|
||||
= t('.tokens_title')
|
||||
%p
|
||||
= t('.first_paragraph')
|
||||
#{APPLICATION_NAME}.
|
||||
= t('.first_paragraph_html', application_name: APPLICATION_NAME, api_doc_url: API_DOC_URL)
|
||||
%p
|
||||
= t('.second_paragraph')
|
||||
|
||||
|
|
|
@ -35,7 +35,7 @@ CGU_URL = ENV.fetch("CGU_URL", [DOC_URL, "cgu"].join("/"))
|
|||
MENTIONS_LEGALES_URL = ENV.fetch("MENTIONS_LEGALES_URL", "/mentions-legales")
|
||||
ACCESSIBILITE_URL = ENV.fetch("ACCESSIBILITE_URL", "/declaration-accessibilite")
|
||||
ROUTAGE_URL = ENV.fetch("ROUTAGE_URL", [DOC_URL, "/pour-aller-plus-loin/routage"].join("/"))
|
||||
API_DOC_URL = [DOC_URL, "pour-aller-plus-loin", "graphql"].join("/")
|
||||
API_DOC_URL = [DOC_URL, "api-graphql"].join("/")
|
||||
WEBHOOK_DOC_URL = [DOC_URL, "pour-aller-plus-loin", "webhook"].join("/")
|
||||
ARCHIVAGE_DOC_URL = [DOC_URL, "pour-aller-plus-loin", "archivage-longue-duree-des-demarches"].join("/")
|
||||
DOC_INTEGRATION_MONAVIS_URL = [DOC_URL, "tutoriels", "integration-du-bouton-mon-avis"].join("/")
|
||||
|
|
Loading…
Reference in a new issue