def datenschutz_en(): if request.method == "POST": lang = request.form.get("lang") return redirect(url_for('datenschutz_de', lang=lang)) else: lang = 'en' address_one, address_two, email = helper.get_privacy_legal_notice() return render_template('/datenschutz.html', title="PRIVACY NOTICE (ONLY AVAILABLE IN GERMAN)", address_one=address_one, address_two=address_two, email=email, id="index", lang=lang)
def datenschutz_de(): if request.method == "POST": lang = request.form.get("lang") return redirect(url_for('datenschutz_en', lang=lang)) else: lang = 'de' address_one, address_two, email = helper.get_privacy_legal_notice() return render_template('/datenschutz.html', title="DATENSCHUTZ", address_one=address_one, address_two=address_two, email=email, id="index", lang=lang)
def impressum_de(): if request.method == "POST": lang = request.form.get("lang") return redirect(url_for('impressum_en', lang=lang)) else: lang = 'de' address_one, address_two, email = helper.get_privacy_legal_notice() return render_template('/impressum.html', title="IMPRESSUM", address_one=address_one, address_two=address_two, email=email, id="index", lang=lang)