52 |
52 |
53 def get_topmenue(): |
53 def get_topmenue(): |
54 menue = [ |
54 menue = [ |
55 ('/ozoneloss', _(u'Ozoneloss'), |
55 ('/ozoneloss', _(u'Ozoneloss'), |
56 (('/ozoneloss', _(u'overview')), |
56 (('/ozoneloss', _(u'overview')), |
57 ('/ozoneloss/clams/2015', _(u'calculations')), |
57 ('/ozoneloss/clams/2016', _(u'calculations')), |
58 ('/ozoneloss/vpsc/2015', _(u'estimations')), |
58 ('/ozoneloss/vpsc/2016', _(u'estimations')), |
59 ('/ozoneloss/uvi', _(u'uv increase')))), |
59 ('/ozoneloss/uvi', _(u'uv increase')))), |
60 |
60 |
61 ('/eskp', _(u'ESKP'),(None, None)), |
61 ('/eskp', _(u'ESKP'),(None, None)), |
62 ('/iek-7', _(u'IEK-7'),(None, None)) |
62 ('/iek-7', _(u'IEK-7'),(None, None)) |
63 ] |
63 ] |
65 |
65 |
66 app.jinja_env.globals.update(get_topmenue=get_topmenue) |
66 app.jinja_env.globals.update(get_topmenue=get_topmenue) |
67 |
67 |
68 def get_o3lossclams_dates(): |
68 def get_o3lossclams_dates(): |
69 menue = [ |
69 menue = [ |
|
70 ('/ozoneloss/clams/2016', _(u'2016')), |
70 ('/ozoneloss/clams/2015', _(u'2015')), |
71 ('/ozoneloss/clams/2015', _(u'2015')), |
71 ('/ozoneloss/clams/2012', _(u'2012')), |
72 ('/ozoneloss/clams/2012', _(u'2012')), |
72 ('/ozoneloss/clams/2011', _(u'2011')), |
73 ('/ozoneloss/clams/2011', _(u'2011')), |
73 ('/ozoneloss/clams/2010', _(u'2010')), |
74 ('/ozoneloss/clams/2010', _(u'2010')), |
74 ] |
75 ] |
75 return menue |
76 return menue |
76 |
77 |
77 def get_vpsc_dates(): |
78 def get_vpsc_dates(): |
78 menue = [ |
79 menue = [ |
|
80 ('/ozoneloss/vpsc/2016', _(u'2016')), |
79 ('/ozoneloss/vpsc/2015', _(u'2015')), |
81 ('/ozoneloss/vpsc/2015', _(u'2015')), |
80 ('/ozoneloss/vpsc/2014', _(u'2014')), |
82 ('/ozoneloss/vpsc/2014', _(u'2014')), |
81 ('/ozoneloss/vpsc/2013', _(u'2013')), |
83 ('/ozoneloss/vpsc/2013', _(u'2013')), |
82 ('/ozoneloss/vpsc/2012', _(u'2012')), |
84 ('/ozoneloss/vpsc/2012', _(u'2012')), |
83 ('/ozoneloss/vpsc/2011', _(u'2011')), |
85 ('/ozoneloss/vpsc/2011', _(u'2011')), |