eskp.py
changeset 733 2b46d29ad0d4
parent 584 521625a4bc85
child 845 3ed0b7ffbb50
equal deleted inserted replaced
732:4d85583e952e 733:2b46d29ad0d4
    59 def get_topmenue():
    59 def get_topmenue():
    60     newest_date = get_newest_date()
    60     newest_date = get_newest_date()
    61     menue = [
    61     menue = [
    62         ('/ozoneloss', _(u'Ozoneloss'),
    62         ('/ozoneloss', _(u'Ozoneloss'),
    63          (('/ozoneloss', _(u'overview')),
    63          (('/ozoneloss', _(u'overview')),
    64           ('/ozoneloss/clams/2017', _(u'calculations')),
    64           ('/ozoneloss/clams/2018', _(u'calculations')),
    65           ('/ozoneloss/vpsc/2017', _(u'estimations')),
    65           ('/ozoneloss/vpsc/2018', _(u'estimations')),
    66           ('/ozoneloss/uvi', _(u'uv increase')),
    66           ('/ozoneloss/uvi', _(u'uv increase')),
    67           ('/ozoneloss/uvmap/' + newest_date, _(u'uv index map')))),
    67           ('/ozoneloss/uvmap/' + newest_date, _(u'uv index map')))),
    68         ('/eskp', _(u'ESKP'), (None, None)),
    68         ('/eskp', _(u'ESKP'), (None, None)),
    69         ('/iek-7', _(u'IEK-7'), (None, None))
    69         ('/iek-7', _(u'IEK-7'), (None, None))
    70     ]
    70     ]
    74 app.jinja_env.globals.update(get_topmenue=get_topmenue)
    74 app.jinja_env.globals.update(get_topmenue=get_topmenue)
    75 
    75 
    76 
    76 
    77 def get_o3lossclams_dates():
    77 def get_o3lossclams_dates():
    78     menue = [
    78     menue = [
       
    79         ('/ozoneloss/clams/2018', _(u'2018')),
    79         ('/ozoneloss/clams/2017', _(u'2017')),
    80         ('/ozoneloss/clams/2017', _(u'2017')),
    80         ('/ozoneloss/clams/2016', _(u'2016')),
    81         ('/ozoneloss/clams/2016', _(u'2016')),
    81         ('/ozoneloss/clams/2015', _(u'2015')),
    82         ('/ozoneloss/clams/2015', _(u'2015')),
    82         ('/ozoneloss/clams/2012', _(u'2012')),
    83         ('/ozoneloss/clams/2012', _(u'2012')),
    83         ('/ozoneloss/clams/2011', _(u'2011')),
    84         ('/ozoneloss/clams/2011', _(u'2011')),
   130     return menue
   131     return menue
   131 
   132 
   132 
   133 
   133 def get_vpsc_dates():
   134 def get_vpsc_dates():
   134     menue = [
   135     menue = [
       
   136         ('/ozoneloss/vpsc/2018', _(u'2018')),
   135         ('/ozoneloss/vpsc/2017', _(u'2017')),
   137         ('/ozoneloss/vpsc/2017', _(u'2017')),
   136         ('/ozoneloss/vpsc/2016', _(u'2016')),
   138         ('/ozoneloss/vpsc/2016', _(u'2016')),
   137         ('/ozoneloss/vpsc/2015', _(u'2015')),
   139         ('/ozoneloss/vpsc/2015', _(u'2015')),
   138         ('/ozoneloss/vpsc/2014', _(u'2014')),
   140         ('/ozoneloss/vpsc/2014', _(u'2014')),
   139         ('/ozoneloss/vpsc/2013', _(u'2013')),
   141         ('/ozoneloss/vpsc/2013', _(u'2013')),
Impressum Datenschutzerklärung