Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Fix issue with whitespace being highlighted on hover

Roland Geider181901e08b9d
diff --git a/wger/manager/templates/schedule/overview.html b/wger/manager/templates/schedule/overview.html
index f18e67b42..9072da027 100644
--- a/wger/manager/templates/schedule/overview.html
+++ b/wger/manager/templates/schedule/overview.html
@@ -20,9 +20,8 @@
{% for schedule in schedules %}
<tr>
<td>
- <a href="{% url 'manager:schedule:view' schedule.id %}">
- {{ schedule.name }}
- </a>
+ <a href="{% url 'manager:schedule:view' schedule.id %}">{{ schedule.name }}</a>
+
{% if schedule.is_active %}
<span class="label label-primary">{% trans "active" %}</span>
{% endif %}
diff --git a/wger/manager/templates/workout/overview.html b/wger/manager/templates/workout/overview.html
index 47d806c08..d407dbb16 100644
--- a/wger/manager/templates/workout/overview.html
+++ b/wger/manager/templates/workout/overview.html
@@ -18,9 +18,8 @@
{% for workout in workouts %}
<tr>
<td>
- <a href="{{ workout.get_absolute_url }}">
- {{ workout }}
- </a>
+ <a href="{{ workout.get_absolute_url }}">{{ workout }}</a>
+
{% if workout == current_workout %}
<span class="label label-primary">{% trans "active" %}</span>
{% endif %}