Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add link to the user's API key page

Roland Geidere2b5aa646034
diff --git a/wger/manager/templates/mobile/user/preferences.html b/wger/manager/templates/mobile/user/preferences.html
index b69e47926..e31cd1a1c 100644
--- a/wger/manager/templates/mobile/user/preferences.html
+++ b/wger/manager/templates/mobile/user/preferences.html
@@ -57,4 +57,14 @@
title="{% trans 'Change password' %}">
{% trans "Change password" %}</a>
</p>
+<p>
+ <a href="{% url 'api-key' %}"
+ data-role="button">
+ <img src="{% static 'images/icons/internet.svg' %}"
+ width="32"
+ height="32"
+ alt="{% trans 'API key' %}"
+ title="{% trans 'API key' %}">
+ {% trans "API key" %}</a>
+</p>
{% endblock %}