Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Add links to the user's gym

Roland Geider5f1117f0af47
diff --git a/wger/core/templates/gym/new_user.html b/wger/core/templates/gym/new_user.html
index c83b98e73..822935bb8 100644
--- a/wger/core/templates/gym/new_user.html
+++ b/wger/core/templates/gym/new_user.html
@@ -26,8 +26,12 @@
</tr>
</table>
-<a href="{% url 'core:gym-user-list' new_user.userprofile.gym.pk %}">
-{% trans "Back to gym" %}
+<a href="{% url 'core:gym-user-list' new_user.userprofile.gym.pk %}" {% auto_link_css flavour %}>
+ <img src="{% static 'images/icons/list.svg' %}"
+ width="32"
+ height="32"
+ alt="{% trans 'Back to overview' %}">
+ {% trans "Back to gym" %}
</a>
{% endblock %}
diff --git a/wger/core/templates/user/overview.html b/wger/core/templates/user/overview.html
index 793d10a92..e7cf5c3a8 100644
--- a/wger/core/templates/user/overview.html
+++ b/wger/core/templates/user/overview.html
@@ -100,7 +100,7 @@
</ul>
</div>
{% endif %}
-<h4 >{% trans "Details" %}</h4>
+<h4>{% trans "Details" %}</h4>
<table class="table">
<tr>
@@ -146,4 +146,12 @@
</tr>
{% endif %}
</table>
+
+<a href="{% url 'core:gym-user-list' current_user.userprofile.gym.pk %}" {% auto_link_css flavour %}>
+ <img src="{% static 'images/icons/list.svg' %}"
+ width="32"
+ height="32"
+ alt="{% trans 'Back to overview' %}">
+{% trans "Back to gym" %}
+</a>
{% endblock %}