1.1 --- a/eskp.py Mon Dec 08 08:25:47 2014 +0100
1.2 +++ b/eskp.py Mon Dec 08 16:02:49 2014 +0100
1.3 @@ -55,7 +55,8 @@
1.4 ('/ozoneloss', _(u'Ozoneloss'),(
1.5 ('/ozoneloss', _(u'overview')),
1.6 ('/ozoneloss/clams/2015', _(u'calculations')),
1.7 - ('/ozoneloss/vpsc/2015', _(u'estimations')))),
1.8 + ('/ozoneloss/vpsc/2015', _(u'estimations')),
1.9 + ('/ozoneloss/uvi', _(u'uv increase')))),
1.10
1.11 ('/eskp', _(u'ESKP'),(None, None)),
1.12 ('/iek-7', _(u'IEK-7'),(None, None))
1.13 @@ -125,6 +126,7 @@
1.14 return render_template("/ozoneloss_vpsc.html", act="ozoneloss/vpsc/%s" % year, content=content,
1.15 content_explanation=explanation, year=year)
1.16
1.17 +
1.18 @app.route('/de')
1.19 def de():
1.20 global LANGUAGE_SELECTED
1.21 @@ -200,6 +202,13 @@
1.22 content = get_content(filename)
1.23 return render_template("/ozoneloss_vpsc.html", act="ozoneloss/vpsc", content=content)
1.24
1.25 +@app.route("/ozoneloss/uvi")
1.26 +def ozoneloss_uvi():
1.27 + filename = os.path.join("templates", get_locale(), "rst", "ozoneloss_uvi.rst")
1.28 + content = get_content(filename)
1.29 + return render_template("/ozoneloss_uvi.html", act="ozoneloss/uvi", content=content,
1.30 + alt=_(u"UV increase at 52 degrees N for 50 DU ozone depletion"))
1.31 +
1.32 @app.route("/iek-7")
1.33 def institute():
1.34 filename = os.path.join("templates", get_locale(), "rst", "iek-7.rst")