# HG changeset patch # User Jens-Uwe Groo? # Date 1580767646 -3600 # Node ID cdd6167a71de9162575b8b278fe7c671d97ca60a # Parent ac8a4d638709467b38949d94560aa76673699564 update english translation page ozoneloss/uvamp diff -r ac8a4d638709 -r cdd6167a71de eskp.py --- a/eskp.py Mon Feb 03 20:09:53 2020 +0100 +++ b/eskp.py Mon Feb 03 23:07:26 2020 +0100 @@ -196,7 +196,11 @@ def ozoneloss_uvmap_date(date): filename = os.path.join("templates", get_locale(), "rst", "ozoneloss_uvmap.rst") content = get_content(filename) - return render_template("/ozoneloss_uvmap.html", act="ozoneloss/uvmap/%s" % date, content=content, date=date) + htmlfile = os.path.join("templates", get_locale(), "html", "uvi_table.html") + html_table = get_html_content(htmlfile) + + return render_template("/ozoneloss_uvmap.html", act="ozoneloss/uvmap/%s" % date, content=content, + html_table=html_table, date=date) @app.route('/ozoneloss/vpsc/') diff -r ac8a4d638709 -r cdd6167a71de templates/en/html/ozoneloss_uvi_form.html --- a/templates/en/html/ozoneloss_uvi_form.html Mon Feb 03 20:09:53 2020 +0100 +++ b/templates/en/html/ozoneloss_uvi_form.html Mon Feb 03 23:07:26 2020 +0100 @@ -21,7 +21,7 @@ :     - +

diff -r ac8a4d638709 -r cdd6167a71de templates/ozoneloss_uvmap.html --- a/templates/ozoneloss_uvmap.html Mon Feb 03 20:09:53 2020 +0100 +++ b/templates/ozoneloss_uvmap.html Mon Feb 03 23:07:26 2020 +0100 @@ -1,71 +1,36 @@ {% extends "theme.html" %} {% block body %}
-
-
- {{ content|safe }} -
+
+
+ {{ content|safe }} +
- -
- O3 loss {{ date }} - O3 column {{ date }} - UV Index {{ date }} + +
+ O3 loss {{ date }} + O3 column {{ date }} + UV Index {{ date }}


+ + + {{ html_table|safe }} +

-Die unten stehenden Tabelle gibt einen Anhaltspunkt für die Bedeutung der verschiedenen UV-Indices: - -
-
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
UV-IndexBewertungSchutz
0 – 2niedrigKein Schutz erforderlich
3 – 5mäßigSchutz erforderlich: Hut, T-Shirt, Sonnenbrille, Sonnencreme
6 – 7hochSchutz erforderlich: Hut, T-Shirt, Sonnenbrille, Sonnencreme
8 – 10sehr hochzusätzlicher Schutz erforderlich: Aufenthalt im Freien möglichst vermeiden
≥ 11extremzusätzlicher Schutz erforderlich: Aufenthalt im Freien möglichst vermeiden
-
Quelle: - Schweizerisches Bundesamt für Gesundheit
+
+ {{ content_explanation|safe }} + {{ modal_info|safe }} +
+
-
{% endblock %}