Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Removed the {% empty %} message for the user list, updated admin/trainer list text.

purplebirdb429340b1e1f
diff --git a/wger/gym/templates/gym/member_list.html b/wger/gym/templates/gym/member_list.html
index 6217152b5..262cb0e99 100644
--- a/wger/gym/templates/gym/member_list.html
+++ b/wger/gym/templates/gym/member_list.html
@@ -66,9 +66,9 @@
</tr>
{% empty %}
<tr>
- <td colspan="4">{% trans "No users for this gym found" %}</td>
+ <td colspan="4">{% trans "This gym has no administrators or trainers" %}</td>
</tr>
-{% endfor %}
+{% endfor %}
</tbody>
</table>
{% endblock %}
diff --git a/wger/gym/templates/gym/partial_user_list.html b/wger/gym/templates/gym/partial_user_list.html
index 5646cbf42..fe0532f92 100644
--- a/wger/gym/templates/gym/partial_user_list.html
+++ b/wger/gym/templates/gym/partial_user_list.html
@@ -49,10 +49,6 @@ $(document).ready( function () {
</td>
{% endif %}
</tr>
-{% empty %}
-<tr>
- <td colspan="4">{% trans "No users for this gym found" %}</td>
-</tr>
{% endfor %}
</tbody>
</table>