Skip to content

armgit / wger

Public Imported from GitHub
0

Self hosted FLOSS fitness/workout, nutrition and weight tracker

Correctly set the titles for some jQueryUI popups

Roland Geider11a3be19734d
diff --git a/wger/manager/templates/workout/calendar.html b/wger/manager/templates/workout/calendar.html
index 3b600fd3c..415a7183f 100644
--- a/wger/manager/templates/workout/calendar.html
+++ b/wger/manager/templates/workout/calendar.html
@@ -100,9 +100,10 @@ $(document).ready(function() {
{% block sidebar %}
-<div id="calendar-day-select-popup" style="display:none;">
+<div id="calendar-day-select-popup"
+ style="display:none;"
+ title="{% trans 'Add log to day' %}">
<div>
- <h3>{% trans "Add log to day" %}</h3>
{% if current_workout %}
<p>{% blocktrans %}Click to add weight logs to a training
day in your current workout:{% endblocktrans %} {{current_workout}}</p>
diff --git a/wger/manager/templates/workout/view.html b/wger/manager/templates/workout/view.html
index 9c96776b3..ded83b130 100644
--- a/wger/manager/templates/workout/view.html
+++ b/wger/manager/templates/workout/view.html
@@ -183,9 +183,10 @@ $(document).ready(function() {
</a>
</p>
-<div id="export-ical-popup" style="display:none;">
+<div id="export-ical-popup"
+ style="display:none;"
+ title="{% trans 'Export calendar file' %}">
<div>
- <h3>{% trans "Export calendar file" %}</h3>
<p>{% trans "Export this workout as a calendar file." %}</p>
<p>{% blocktrans %}You can then import the file it into your calendar
application for example google calendar, outlook or iCal. This will create