Skip to content

Commit

Permalink
fix: OPTIC-1239: Update how api docs link is included (#6603)
Browse files Browse the repository at this point in the history
  • Loading branch information
bmartel authored Nov 6, 2024
1 parent 1395a94 commit 66e17e5
Showing 1 changed file with 9 additions and 6 deletions.
15 changes: 9 additions & 6 deletions label_studio/users/templates/users/user_account.html
Original file line number Diff line number Diff line change
Expand Up @@ -106,13 +106,16 @@
</textarea>
<p class="actions">
<button type="button" class="blinking-status lsf-button-ls" data-copy="example_fetch">Copy</button>
<a class="lsf-button-ls"
{% if settings.VERSION_EDITION == 'Enterprise' %}
href="https://docs.heartex.com/guide/api.html"
{% else %}
href="https://labelstud.io/guide/api.html"
{% endif %} target="_blank">Documentation

{% block api_docs %}
<a
class="lsf-button-ls"
href="https://labelstud.io/guide/api.html"
target="_blank"
>
Documentation
</a>
{% endblock %}
</p>
</div>
</form>
Expand Down

0 comments on commit 66e17e5

Please sign in to comment.