Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Rename core JS libraries

Roland Geidera0de6d68b855
diff --git a/wger/core/static/js/workout-manager-mobile.js b/wger/core/static/js/wger-core-mobile.js
similarity index 100%
rename from wger/core/static/js/workout-manager-mobile.js
rename to wger/core/static/js/wger-core-mobile.js
diff --git a/wger/core/static/js/workout-manager.js b/wger/core/static/js/wger-core.js
similarity index 100%
rename from wger/core/static/js/workout-manager.js
rename to wger/core/static/js/wger-core.js
diff --git a/wger/core/templates/mobile/template.html b/wger/core/templates/mobile/template.html
index 9199b6b0c..0fd3e1723 100644
--- a/wger/core/templates/mobile/template.html
+++ b/wger/core/templates/mobile/template.html
@@ -62,8 +62,8 @@
<script src="{% static 'js/jquery-ui.js' %}"></script>
<script src="{% static 'bower_components/bootstrap/dist/js/bootstrap.min.js' %}"></script>
<script src="{% static 'bower_components/d3/d3.js' %}"></script>
- <script src="{% static 'js/workout-manager.js' %}"></script>
- <script src="{% static 'js/workout-manager-mobile.js' %}"></script>
+ <script src="{% static 'js/wger-core.js' %}"></script>
+ <script src="{% static 'js/wger-core-mobile.js' %}"></script>
<script src="{% static 'js/exercises.js' %}"></script>
<script src="{% static 'js/nutrition.js' %}"></script>
{% endcompress %}
diff --git a/wger/core/templates/template.html b/wger/core/templates/template.html
index bd87213e3..21054cfe6 100644
--- a/wger/core/templates/template.html
+++ b/wger/core/templates/template.html
@@ -61,7 +61,7 @@
<script src="{% static 'bower_components/jquery/dist/jquery.js' %}"></script>
<script src="{% static 'js/jquery-ui.js' %}"></script>
<script src="{% static 'bower_components/d3/d3.js' %}"></script>
- <script src="{% static 'js/workout-manager.js' %}"></script>
+ <script src="{% static 'js/wger-core.js' %}"></script>
<script src="{% static 'js/ubuntu-unity.js' %}"></script>
<script src="{% static 'bower_components/bootstrap/dist/js/bootstrap.min.js' %}"></script>
<script src="{% static 'js/exercises.js' %}"></script>