diff options
Diffstat (limited to 'templates')
-rw-r--r-- | templates/layout.html | 4 |
1 files changed, 3 insertions, 1 deletions
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 @@ <div id="sub-header"> <p> {% if not request.base_url.endswith(url_for('upload')) %} - <a href="{{url_for('upload')}}">neue Klausur hochladen</a> + {% if not request.base_url.endswith(url_for('forbidden')) %} + <a href="{{url_for('upload')}}">neue Klausur hochladen</a> + {% endif %} {% else %} <a href="{{url_for('index')}}">zurück</a> {% endif %} |