Self hosted FLOSS fitness/workout, nutrition and weight tracker
Add checks in template for admin config
Roland Geider2f8d1342fd8a
diff --git a/wger/gym/templates/gym/member_list.html b/wger/gym/templates/gym/member_list.htmlindex 751f4c3d0..f26390bf9 100644--- a/wger/gym/templates/gym/member_list.html+++ b/wger/gym/templates/gym/member_list.html@@ -174,6 +174,7 @@{# #}{# Admin configuration #}{# #}+{% if user.gymadminconfig and user.userprofile.gym_id == gym.id %}<div class="btn-group pull-right"><button type="button" class="btn btn-default dropdown-toggle btn-xs" data-toggle="dropdown">{% trans "Actions" %} <span class="caret"></span>@@ -198,7 +199,7 @@</td></tr></table>-+{% endif %}diff --git a/wger/software/templates/changelog.html b/wger/software/templates/changelog.htmlindex 0f78ca7cd..27a3c874e 100644--- a/wger/software/templates/changelog.html+++ b/wger/software/templates/changelog.html@@ -65,6 +65,7 @@</li><li>Other improvements and bugfixes+ <a href="https://github.com/rolandgeider/wger/issues/236">#236</a><a href="https://github.com/rolandgeider/wger/issues/206">#206</a><a href="https://github.com/rolandgeider/wger/issues/202">#202</a><a href="https://github.com/rolandgeider/wger/issues/195">#195</a>