eskp.py
changeset 1557 b9ea1aa08de5
parent 1526 e90ee05eaf02
child 1577 bc114089a220
equal deleted inserted replaced
1556:43fa00aefcf3 1557:b9ea1aa08de5
    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/2024', _(u'calculations')),
    73           ('/ozoneloss/clams/2025', _(u'calculations')),
    74           ('/ozoneloss/vpsc/2024', _(u'estimations')),
    74           ('/ozoneloss/vpsc/2025', _(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/2025', _(u'2025')),
    89         ('/ozoneloss/clams/2024', _(u'2024')),
    90         ('/ozoneloss/clams/2024', _(u'2024')),
    90         ('/ozoneloss/clams/2022', _(u'2022')),
    91         ('/ozoneloss/clams/2022', _(u'2022')),
    91         ('/ozoneloss/clams/2020', _(u'2020')),
    92         ('/ozoneloss/clams/2020', _(u'2020')),
    92         ('/ozoneloss/clams/2019', _(u'2019')),
    93         ('/ozoneloss/clams/2019', _(u'2019')),
    93         ('/ozoneloss/clams/2018', _(u'2018')),
    94         ('/ozoneloss/clams/2018', _(u'2018')),
   145     return menue
   146     return menue
   146 
   147 
   147 
   148 
   148 def get_vpsc_dates():
   149 def get_vpsc_dates():
   149     menue = [
   150     menue = [
       
   151         ('/ozoneloss/vpsc/2025', _(u'2025')),
   150         ('/ozoneloss/vpsc/2024', _(u'2024')),
   152         ('/ozoneloss/vpsc/2024', _(u'2024')),
   151         ('/ozoneloss/vpsc/2022', _(u'2022')),
   153         ('/ozoneloss/vpsc/2022', _(u'2022')),
   152         ('/ozoneloss/vpsc/2020', _(u'2020')),
   154         ('/ozoneloss/vpsc/2020', _(u'2020')),
   153         ('/ozoneloss/vpsc/2019', _(u'2019')),
   155         ('/ozoneloss/vpsc/2019', _(u'2019')),
   154         ('/ozoneloss/vpsc/2018', _(u'2018')),
   156         ('/ozoneloss/vpsc/2018', _(u'2018')),
Impressum Datenschutzerklärung