Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Use simple quotes for elements inside a src or similar

Roland Geider8b849b722f2f
diff --git a/exercises/templates/view.html b/exercises/templates/view.html
index 0541fb5fe..2d4f36934 100644
--- a/exercises/templates/view.html
+++ b/exercises/templates/view.html
@@ -4,8 +4,8 @@
{% block header %}
-<script src="{% static "js/jquery-ui.js" %}"></script>
-<script src="{% static "js/tinymce/tiny_mce.js" %}"></script>
+<script src="{% static 'js/jquery-ui.js' %}"></script>
+<script src="{% static 'js/tinymce/tiny_mce.js' %}"></script>
<script>
function custom_modal_init()
diff --git a/manager/templates/base.html b/manager/templates/base.html
index 443615758..d876093c6 100644
--- a/manager/templates/base.html
+++ b/manager/templates/base.html
@@ -24,14 +24,14 @@
along with Workout Manager. If not, see <http://www.gnu.org/licenses/>.
-->
- <link rel="stylesheet" type="text/css" href="{% static "css/yaml/demos/css/flexible-grids.css" %} "> <!-- CSS framework for the layout -->
- <link rel="stylesheet" type="text/css" href="{% static "css/yaml/custom-yaml.css" %}"> <!-- Customisations for yaml -->
- <link rel="stylesheet" type="text/css" href="{% static "css/workout-manager.css" %}"> <!-- Own CSS classes and styles -->
- <link rel="stylesheet" type="text/css" href="{% static "css/jquery-ui.css" %}"> <!-- CSS for Jqyery UI elements -->
+ <link rel="stylesheet" type="text/css" href="{% static 'css/yaml/demos/css/flexible-grids.css' %} "> <!-- CSS framework for the layout -->
+ <link rel="stylesheet" type="text/css" href="{% static 'css/yaml/custom-yaml.css' %}"> <!-- Customisations for yaml -->
+ <link rel="stylesheet" type="text/css" href="{% static 'css/workout-manager.css' %}"> <!-- Own CSS classes and styles -->
+ <link rel="stylesheet" type="text/css" href="{% static 'css/jquery-ui.css' %}"> <!-- CSS for Jqyery UI elements -->
- <script src="{% static "js/jquery.js" %}"></script>
- <script src="{% static "js/workout-manager.js" %}"></script>
+ <script src="{% static 'js/jquery.js' %}"></script>
+ <script src="{% static 'js/workout-manager.js' %}"></script>
{% block header %}{% endblock %}
<title>{% block title %}{% endblock %}</title>
diff --git a/weight/templates/edit.html b/weight/templates/edit.html
index 42b8ad909..bb6b9478a 100644
--- a/weight/templates/edit.html
+++ b/weight/templates/edit.html
@@ -7,7 +7,7 @@
{% block header %}
-<script src="{% static "js/jquery-ui.js" %}"></script>
+<script src="{% static 'js/jquery-ui.js' %}"></script>
<script>
$(document).ready(function () {
init_weight_datepicker();