From b49486ede2c2354bdc97a1d7668d930a1a77e73a Mon Sep 17 00:00:00 2001 From: Nico von Geyso Date: Sat, 11 Aug 2012 16:44:41 +0200 Subject: 403 error page should not have upload link --- templates/layout.html | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/templates/layout.html b/templates/layout.html index 5f54e1c..19d0e6f 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -20,7 +20,9 @@

{% if not request.base_url.endswith(url_for('upload')) %} - neue Klausur hochladen + {% if not request.base_url.endswith(url_for('forbidden')) %} + neue Klausur hochladen + {% endif %} {% else %} zurück {% endif %} -- cgit v1.2.3-1-g7c22