Self hosted FLOSS fitness/workout, nutrition and weight tracker
Don't use the dimmed class to show the goal/description of the workout
Roland Geider734df2f541e7
diff --git a/wger/manager/templates/workout/log.html b/wger/manager/templates/workout/log.htmlindex dab21a090..c1fb366ca 100644--- a/wger/manager/templates/workout/log.html+++ b/wger/manager/templates/workout/log.html@@ -22,8 +22,7 @@ function custom_modal_init(){% block content %}{% if workout.comment %}<p>- <strong>{% trans "Goal" %}:</strong>- <span class="dimmed">{{workout.comment}}</span>+ <strong>{% trans "Goal" %}:</strong> {{workout.comment}}</p>{% endif %}diff --git a/wger/manager/templates/workout/view.html b/wger/manager/templates/workout/view.htmlindex bf1de6455..59f7c2e2a 100644--- a/wger/manager/templates/workout/view.html+++ b/wger/manager/templates/workout/view.html@@ -16,19 +16,18 @@ function custom_modal_init()}$(document).ready(function() {- // Allow the sets to be sortable- setup_sortable();-- // Show/Hide the comments to the exercises- {% if user.userprofile.show_comments %}- showComment = 1;- $(".exercise-comments").show();+ // Allow the sets to be sortable+ setup_sortable();++ // Show/Hide the comments to the exercises+ {% if user.userprofile.show_comments %}+ showComment = 1;+ $(".exercise-comments").show();{% else %}- showComment = 0;+ showComment = 0;$(".exercise-comments").hide();{% endif %}-- toggle_comments();+ toggle_comments();});</script>{% endblock %}@@ -38,8 +37,7 @@ $(document).ready(function() {{% if workout.comment %}<p>- <strong>{% trans "Goal" %}:</strong>- <span class="dimmed">{{workout.comment}}</span>+ <strong>{% trans "Goal" %}:</strong> {{workout.comment}}</p>{% endif %}