equal
deleted
inserted
replaced
100 |
100 |
101 @app.route('/de') |
101 @app.route('/de') |
102 def de(): |
102 def de(): |
103 global LANGUAGE_SELECTED |
103 global LANGUAGE_SELECTED |
104 LANGUAGE_SELECTED = "de" |
104 LANGUAGE_SELECTED = "de" |
105 saying, author = get_saying() |
|
106 return render_template("/index.html", |
105 return render_template("/index.html", |
107 saying=saying, |
|
108 author=author, |
|
109 eskp_info=_(u'About ESKP'), |
106 eskp_info=_(u'About ESKP'), |
110 ) |
107 ) |
111 |
108 |
112 @app.route('/en') |
109 @app.route('/en') |
113 def en(): |
110 def en(): |
114 saying, author = get_saying() |
|
115 global LANGUAGE_SELECTED |
111 global LANGUAGE_SELECTED |
116 LANGUAGE_SELECTED = "en" |
112 LANGUAGE_SELECTED = "en" |
117 return render_template("/index.html", |
113 return render_template("/index.html", |
118 saying=saying, |
|
119 author=author, |
|
120 eskp_info=_(u'About ESKP'), |
114 eskp_info=_(u'About ESKP'), |
121 ) |
115 ) |
122 |
116 |
123 @app.route("/eskp") |
117 @app.route("/eskp") |
124 def eskp(): |
118 def eskp(): |