Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Visually group contract types and options

Roland Geider3b62ce01de1c
diff --git a/wger/gym/templates/contract_option/list.html b/wger/gym/templates/contract_option/list.html
index 8875de383..3f308ffbc 100644
--- a/wger/gym/templates/contract_option/list.html
+++ b/wger/gym/templates/contract_option/list.html
@@ -1,7 +1,7 @@
{% extends "base.html" %}
{% load i18n staticfiles wger_extras django_bootstrap_breadcrumbs %}
-{% block title %}{% trans "Options" %}{% endblock %}
+{% block title %}{% trans "Contract options" %}{% endblock %}
{% block breadcrumbs %}
@@ -11,7 +11,7 @@
{% breadcrumb "Gyms" "gym:gym:list" %}
{% endif %}
{% breadcrumb_raw gym "gym:gym:user-list" gym.pk %}
- {% breadcrumb "Options" "gym:contract-option:list" gym.pk %}
+ {% breadcrumb "Contract options" "gym:contract-option:list" gym.pk %}
{% endblock %}
diff --git a/wger/gym/templates/gym/member_list.html b/wger/gym/templates/gym/member_list.html
index c0617bda1..0f6694ab2 100644
--- a/wger/gym/templates/gym/member_list.html
+++ b/wger/gym/templates/gym/member_list.html
@@ -252,6 +252,7 @@ $(document).ready( function () {
{# #}
{# Contract configuration #}
{# #}
+<h4>{% trans "Contracts" %}</h4>
{% if perms.gym.change_contracttype %}
<div class="btn-group pull-right">
<button type="button" class="btn btn-default dropdown-toggle btn-xs" data-toggle="dropdown">
@@ -267,7 +268,7 @@ $(document).ready( function () {
</ul>
</div>
-<h4>{% trans "Contract types" %}</h4>
+<h5>{% trans "Types" %}</h5>
<table class="table">
{% for contract_type in gym.contracttype_set.all %}
<tr>
@@ -304,7 +305,7 @@ $(document).ready( function () {
</ul>
</div>
-<h4>{% trans "Options" %}</h4>
+<h5>{% trans "Options" %}</h5>
<table class="table">
{% for option in gym.contractoption_set.all %}
<tr>