Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Use the default button to add exercises to a workout plan

Roland Geider3066407589ea
diff --git a/wger/core/templates/tags/render_day.html b/wger/core/templates/tags/render_day.html
index 05619696f..4dbee3ca0 100644
--- a/wger/core/templates/tags/render_day.html
+++ b/wger/core/templates/tags/render_day.html
@@ -112,24 +112,12 @@ $(document).ready(function() {
</div>
</td>
</tr>
- {% empty %}
- {% if editable %}
- <tr>
- <td colspan="2">
- <a href="{% url 'manager:set:add' day.obj.id %}"
- class="wger-modal-dialog btn btn-light btn-block wger-modal-dialog">
- {% trans "No exercises selected for this day." %}
- {% trans "Add one now." %}
- </a>
- </td>
- </tr>
- {% endif %}
{% endfor %} <!--for set in day-->
{% if editable %}
<tr>
<td colspan="2">
<a href="{% url 'manager:set:add' day.obj.id %}"
- class="wger-modal-dialog">{% trans "Add exercises to this workout day" %}</a>
+ class="wger-modal-dialog btn btn-link btn-block">{% trans "Add exercises to this workout day" %}</a>
</td>
</tr>
{% endif %}