Self hosted FLOSS fitness/workout, nutrition and weight tracker
Show notice if there are no gyms
Roland Geiderf02d35c9f480
diff --git a/wger/gym/fixtures/gym-adminconfig.json b/wger/gym/fixtures/gym-adminconfig.jsonnew file mode 100644index 000000000..603675abc--- /dev/null+++ b/wger/gym/fixtures/gym-adminconfig.json@@ -0,0 +1,11 @@+[+ {+ "pk": 1,+ "model": "gym.gymadminconfig",+ "fields": {+ "gym": 1,+ "user": 1,+ "overview_inactive": true+ }+ }+]diff --git a/wger/gym/templates/gym/list.html b/wger/gym/templates/gym/list.htmlindex c638e1c57..eedaa5aba 100644--- a/wger/gym/templates/gym/list.html+++ b/wger/gym/templates/gym/list.html@@ -23,6 +23,10 @@</div><a href="{% url 'gym:gym:user-list' gym.pk %}">{{gym}}</a></li>+ {% empty %}+ <li class="list-group-item">+ {% trans "Nothing found" %}+ </li>{% endfor %}</ul>