Skip to content

Commit

Permalink
Translate API description in user profile
Browse files Browse the repository at this point in the history
  • Loading branch information
Augustin-FL committed Dec 29, 2024
1 parent eb25d01 commit e5bf728
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions fir_api/templates/fir_api/plugins/user_profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,9 @@
<div class="card mb-3">
<h5 class="card-header bg-primary-subtle text-primary-emphasis">FIR API - {% trans "API Access" %}</h3>
<div class="card-body">
<p>You need to be authenticated in order to use the API. It will accept session or token based authentication.
Tokens can be managed in the administration interface and should be specified as a <strong>request header</strong>.</p>
Example:<br/>
<p>{% trans 'You need to be authenticated in order to use the API. It will accept session or token based authentication.' %}
{% trans 'Tokens can be managed in the administration interface and should be specified as a <strong>request header</strong>.</p>' %}
{% trans 'Example:' %}<br/>
<pre>X-Api: Token {{ user.auth_token.key }}</pre>
</div>
<table class="table">
Expand Down

0 comments on commit e5bf728

Please sign in to comment.