Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Remove the modal-dialog class from links in the mobile app

Roland Geiderfa92b3c988e3
diff --git a/wger/manager/templates/mobile/schedule/view.html b/wger/manager/templates/mobile/schedule/view.html
index 67057e285..2f84d4f61 100644
--- a/wger/manager/templates/mobile/schedule/view.html
+++ b/wger/manager/templates/mobile/schedule/view.html
@@ -58,7 +58,6 @@ $(function() {
<h3>{%trans "Options" %}</h3>
<a href="{% url 'step-edit' step.id %}"
title="{% trans 'Edit' %}"
- class="modal-dialog"
data-role="button">
<img src="{% static 'images/icons/edit.svg' %}"
width="22"
@@ -66,7 +65,6 @@ $(function() {
alt="{% trans 'Edit' %}">{% trans 'Edit' %}</a>
<a href="{% url 'step-delete' step.id %}"
title="{% trans 'Delete' %}"
- class="modal-dialog"
data-role="button">
<img src="{% static 'images/icons/trash.svg' %}"
width="22"
diff --git a/wger/manager/templates/mobile/tags/render_day.html b/wger/manager/templates/mobile/tags/render_day.html
index 669c693bf..c60cdb31f 100644
--- a/wger/manager/templates/mobile/tags/render_day.html
+++ b/wger/manager/templates/mobile/tags/render_day.html
@@ -137,7 +137,6 @@
</span>
{% empty %}
<a href="{% url 'set-edit' set.id %}"
- class="modal-dialog"
data-role="button">
{% trans "This exercise has no repetitions." %}
{% trans "Edit them now."%}
diff --git a/wger/manager/templates/mobile/workout/view.html b/wger/manager/templates/mobile/workout/view.html
index 93e49f570..a34ab76db 100644
--- a/wger/manager/templates/mobile/workout/view.html
+++ b/wger/manager/templates/mobile/workout/view.html
@@ -121,7 +121,6 @@ $(document).on('pageinit', function () {
</a>
<a href="{% url 'workout-edit' workout.id %}"
- class="modal-dialog"
data-role="button">
<img src="{% static 'images/icons/edit.svg' %}"
width="32"
@@ -142,7 +141,6 @@ $(document).on('pageinit', function () {
</a>
<a href="{% url 'workout-copy' workout.id %}"
- class="modal-dialog"
data-role="button">
<img src="{% static 'images/icons/copy.svg' %}"
width="32"
diff --git a/wger/nutrition/templates/mobile/ingredient/view.html b/wger/nutrition/templates/mobile/ingredient/view.html
index 330a71158..6f6847595 100644
--- a/wger/nutrition/templates/mobile/ingredient/view.html
+++ b/wger/nutrition/templates/mobile/ingredient/view.html
@@ -266,7 +266,6 @@ the search.{% endblocktrans %}
<h3>{% trans "Weight units" %}</h3>
<p>
<a href="{% url 'weight-unit-ingredient-add' ingredient.id %}"
- class="modal-dialog"
data-role="button">
<img src="{% static 'images/icons/new.svg' %}"
width="32"
diff --git a/wger/weight/templates/mobile/weight_overview.html b/wger/weight/templates/mobile/weight_overview.html
index 2f6a757af..82f803820 100644
--- a/wger/weight/templates/mobile/weight_overview.html
+++ b/wger/weight/templates/mobile/weight_overview.html
@@ -53,7 +53,6 @@ $(document).on('pageinit', function () {
<p>
<a href="{% url 'weight-add' %}"
- class="modal-dialog"
id="add-weight-entry"
data-role="button">{% trans "Add weight entry" %}</a>
</p>