Self hosted FLOSS fitness/workout, nutrition and weight tracker
Hide the edit options for the set, this is done with the in-place editing
Roland Geiderc4136ee9956b
diff --git a/manager/templates/tags/render_day.html b/manager/templates/tags/render_day.htmlindex 5f838a105..78343c587 100644--- a/manager/templates/tags/render_day.html+++ b/manager/templates/tags/render_day.html@@ -40,7 +40,7 @@ $(document).ready(function() {{% for set in day.set_set.select_related %}<tr id="set-{{ set.id }}"><td class="ym-g10">{{ forloop.counter }}<br>- <div class="editoptions">+ <div class="editoptions set-options"><a href="{% url manager.views.delete_set workout.id day.id set.id %}"title="{% trans 'Delete' %}"><img src="{% static "images/icons/trash.svg" %}"diff --git a/manager/templates/workout/view.html b/manager/templates/workout/view.htmlindex 510bfcf85..f4d422214 100644--- a/manager/templates/workout/view.html+++ b/manager/templates/workout/view.html@@ -14,6 +14,8 @@$(document).ready(function() {+ // Hide the edit options for the set, this is done with the in-place editing+ $(".set-options").hide();// Allow the sets to be sortablesetup_sortable();