eskp.py
changeset 1526 e90ee05eaf02
parent 1295 1650cb07309d
child 1557 b9ea1aa08de5
equal deleted inserted replaced
1525:07b2578350f5 1526:e90ee05eaf02
    68 def get_topmenue():
    68 def get_topmenue():
    69     newest_date = get_newest_date()
    69     newest_date = get_newest_date()
    70     menue = [
    70     menue = [
    71         ('/ozoneloss', _(u'Ozoneloss'),
    71         ('/ozoneloss', _(u'Ozoneloss'),
    72          (('/ozoneloss', _(u'overview')),
    72          (('/ozoneloss', _(u'overview')),
    73           ('/ozoneloss/clams/2022', _(u'calculations')),
    73           ('/ozoneloss/clams/2024', _(u'calculations')),
    74           ('/ozoneloss/vpsc/2022', _(u'estimations')),
    74           ('/ozoneloss/vpsc/2024', _(u'estimations')),
    75           ('/ozoneloss/uvmap/' + newest_date, _(u'uv index map')),
    75           ('/ozoneloss/uvmap/' + newest_date, _(u'uv index map')),
    76           ('/ozoneloss/uvi', _(u'uv increase')),
    76           ('/ozoneloss/uvi', _(u'uv increase')),
    77           ('/ozoneloss/decadal', _(u'decadal')))),
    77           ('/ozoneloss/decadal', _(u'decadal')))),
    78         ('/eskp', _(u'ESKP'), (None, None)),
    78         ('/eskp', _(u'ESKP'), (None, None)),
    79         ('/iek-7', _(u'IEK-7'), (None, None))
    79         ('/iek-7', _(u'IEK-7'), (None, None))
    84 app.jinja_env.globals.update(get_topmenue=get_topmenue)
    84 app.jinja_env.globals.update(get_topmenue=get_topmenue)
    85 
    85 
    86 
    86 
    87 def get_o3lossclams_dates():
    87 def get_o3lossclams_dates():
    88     menue = [
    88     menue = [
       
    89         ('/ozoneloss/clams/2024', _(u'2024')),
    89         ('/ozoneloss/clams/2022', _(u'2022')),
    90         ('/ozoneloss/clams/2022', _(u'2022')),
    90         ('/ozoneloss/clams/2020', _(u'2020')),
    91         ('/ozoneloss/clams/2020', _(u'2020')),
    91         ('/ozoneloss/clams/2019', _(u'2019')),
    92         ('/ozoneloss/clams/2019', _(u'2019')),
    92         ('/ozoneloss/clams/2018', _(u'2018')),
    93         ('/ozoneloss/clams/2018', _(u'2018')),
    93         ('/ozoneloss/clams/2017', _(u'2017')),
    94         ('/ozoneloss/clams/2017', _(u'2017')),
   144     return menue
   145     return menue
   145 
   146 
   146 
   147 
   147 def get_vpsc_dates():
   148 def get_vpsc_dates():
   148     menue = [
   149     menue = [
       
   150         ('/ozoneloss/vpsc/2024', _(u'2024')),
   149         ('/ozoneloss/vpsc/2022', _(u'2022')),
   151         ('/ozoneloss/vpsc/2022', _(u'2022')),
   150         ('/ozoneloss/vpsc/2020', _(u'2020')),
   152         ('/ozoneloss/vpsc/2020', _(u'2020')),
   151         ('/ozoneloss/vpsc/2019', _(u'2019')),
   153         ('/ozoneloss/vpsc/2019', _(u'2019')),
   152         ('/ozoneloss/vpsc/2018', _(u'2018')),
   154         ('/ozoneloss/vpsc/2018', _(u'2018')),
   153         ('/ozoneloss/vpsc/2017', _(u'2017')),
   155         ('/ozoneloss/vpsc/2017', _(u'2017')),
Impressum Datenschutzerklärung