Self hosted FLOSS fitness/workout, nutrition and weight tracker
Use single quotes, this doesn't confuse the syntax highlighting of the editor
Roland Geider725effd69be8
diff --git a/exercises/templates/edit_category.html b/exercises/templates/edit_category.htmlindex 873e84b95..498f43e98 100644--- a/exercises/templates/edit_category.html+++ b/exercises/templates/edit_category.html@@ -27,7 +27,7 @@<table>{% include "form_snippet.html" with field=category_form.name %}<tr>- <td><input type="submit" value="{% trans "Save" %}" /></td>+ <td><input type="submit" value="{% trans 'Save' %}" /></td><td></td></tr></table>diff --git a/exercises/templates/edit_exercise.html b/exercises/templates/edit_exercise.htmlindex e14c44f22..3c2fa4f03 100644--- a/exercises/templates/edit_exercise.html+++ b/exercises/templates/edit_exercise.html@@ -41,7 +41,7 @@ init_tinymce();{% include "form_snippet.html" with field=edit_form.name %}{% include "form_snippet.html" with field=edit_form.description %}<tr>- <td><input type="submit" value="{% trans "Save" %}" /></td>+ <td><input type="submit" value="{% trans 'Save' %}" /></td><td></td></tr></table>diff --git a/exercises/templates/view.html b/exercises/templates/view.htmlindex 30298ef1e..89b09e291 100644--- a/exercises/templates/view.html+++ b/exercises/templates/view.html@@ -77,8 +77,8 @@ $(document).ready(function() {<td class="align-right">{% if perms.exercises %}<div class="editoptions">- <a href="{% url exercises.views.exercisecomment_delete comment.id %}" title="{% trans "Delete" %}">[x]</a>- <a href="{% url exercises.views.exercise_view exercise.id comment.id %}" title="{% trans "Edit" %}">[e]</a>+ <a href="{% url exercises.views.exercisecomment_delete comment.id %}" title="{% trans 'Delete' %}">[x]</a>+ <a href="{% url exercises.views.exercise_view exercise.id comment.id %}" title="{% trans 'Edit' %}">[e]</a></div>{% endif %}</td>@@ -101,14 +101,6 @@ $(document).ready(function() {<input type="submit" value="{% trans "Save" %}" /></form>--<div class="apple_overlay" id="overlay" title="Basic dialog">- <!-- the external content is loaded inside this tag -->- <div class="contentWrap"></div>-</div>--<div id="exposeMask"></div>-{% endblock %}diff --git a/manager/templates/base.html b/manager/templates/base.htmlindex 04a99ab31..bc8fec7d0 100644--- a/manager/templates/base.html+++ b/manager/templates/base.html@@ -108,7 +108,7 @@<div class="ym-wrapper"><div class="ym-wbox"><a href="https://bitbucket.org/rolandgeider/workout_manager">- <img src="/static/images/agplv3-88x31.png" alt='{% trans "Released under the Affero GPL" %}'>+ <img src="/static/images/agplv3-88x31.png" alt="{% trans 'Released under the Affero GPL' %}"></a>© <a href="mailto:roland@NO!SPAM!geider.net">Roland Geider</a>– {% trans "Layout based on <a href='http://www.yaml.de'>YAML</a>" %}diff --git a/manager/templates/index.html b/manager/templates/index.htmlindex 74a4d5858..b6df9ed75 100644--- a/manager/templates/index.html+++ b/manager/templates/index.html@@ -7,7 +7,7 @@{% if latest_workouts_list %}<ul>{% for workout in latest_workouts_list %}- <li><a href="/workout/{{ workout.id }}/view">{{ workout.creation_date }}</a></li>+ <li><a href="{% url manager.views.view_workout workout.id %}">{{ workout.creation_date }}</a></li>{% endfor %}</ul>{% else %}@@ -15,7 +15,6 @@{% trans "No workouts found." %} {% trans "Use link to add one." %}</div>- <p></p>{% endif %}-<p><a href="/workout/add">{% trans "Add workout" %}</a></p>+<p><a href="{% url manager.views.add %}">{% trans "Add workout" %}</a></p>{% endblock %}diff --git a/manager/templates/set/edit.html b/manager/templates/set/edit.htmlindex 20a3020d7..532957e33 100644--- a/manager/templates/set/edit.html+++ b/manager/templates/set/edit.html@@ -23,7 +23,7 @@{% include "form_snippet.html" with field=set_form.sets %}<tr>- <td><input type="submit" value="{% trans "Save" %}" /></td>+ <td><input type="submit" value="{% trans 'Save' %}" /></td><td></td></tr></table>diff --git a/manager/templates/setting/ajax_edit.html b/manager/templates/setting/ajax_edit.htmlindex 6b1d3d1e1..3ff8c4658 100644--- a/manager/templates/setting/ajax_edit.html+++ b/manager/templates/setting/ajax_edit.html@@ -56,6 +56,6 @@ $(document).ready(function() {value="{% trans 'Save' %}"class="ajax-form-submit" /><input type="submit"- value="{% trans "Cancel" %}"+ value="{% trans 'Cancel' %}"class="ajax-form-cancel" /></form>\ No newline at end of filediff --git a/manager/templates/setting/edit.html b/manager/templates/setting/edit.htmlindex 7812565ec..4d715cdaa 100644--- a/manager/templates/setting/edit.html+++ b/manager/templates/setting/edit.html@@ -29,7 +29,7 @@<!--{% include "form_snippet.html" with field=form.comment %}-->{% endfor %}<tr>- <td><input type="submit" value="{% trans "Save" %}" /></td>+ <td><input type="submit" value="{% trans 'Save' %}" /></td><td></td></tr></table>diff --git a/manager/templates/workout/view.html b/manager/templates/workout/view.htmlindex 7dd527b83..09b6d0c50 100644--- a/manager/templates/workout/view.html+++ b/manager/templates/workout/view.html@@ -6,8 +6,8 @@{% block title %}{% trans "Workout for" %} {{ workout.creation_date }}{% endblock %}{% block header %}-<script src="{% static "js/jquery-ui.js" %}"></script>-<script src="{% static "js/workout-manager.js" %}"></script>+<script src="{% static 'js/jquery-ui.js' %}"></script>+<script src="{% static 'js/workout-manager.js' %}"></script><script>@@ -70,7 +70,7 @@ $(document).ready(function() {<h3>{% trans "Options" %}</h3><a href="{% url manager.views.pdf_workout workout.id %}">- <img src="{% static "images/icons/document.svg" %}"+ <img src="{% static 'images/icons/document.svg' %}"width="32"height="32"alt="{% trans 'Download as PDF' %}"@@ -81,7 +81,7 @@ $(document).ready(function() {<h3>{% trans "Delete" %}</h3><a href="{% url manager.views.delete_workout workout.id %}">- <img src="{% static "images/icons/trash.svg" %}"+ <img src="{% static 'images/icons/trash.svg' %}"width="32"height="32"alt="{% trans 'Delete' %}">