diff options
Diffstat (limited to 'templates/layout.html')
-rw-r--r-- | templates/layout.html | 9 |
1 files changed, 5 insertions, 4 deletions
diff --git a/templates/layout.html b/templates/layout.html index 85107b8..bad67a2 100644 --- a/templates/layout.html +++ b/templates/layout.html @@ -3,7 +3,7 @@ <head> <meta charset="utf-8" /> <link rel="stylesheet" type="text/css" media="all" href="{{url_for('static', - filename='style_v1.css')}}" /> + filename='style_v2.css')}}" /> <script type="text/javascript" src="{{url_for('static',filename='jquery-1.8.0.min.js')}}"></script> <title>Fit</title> </head> @@ -26,12 +26,13 @@ <div id="sub-header"> {% if study %} <p> - {% if not request.base_url.endswith(url_for('upload', study=study)) %} + {% if not request.base_url.endswith(url_for('upload', study=study + , module = module))%} {% if not request.base_url.endswith(url_for('forbidden')) %} - <a href="{{url_for('upload', study=study)}}">neue Klausur hochladen</a> + <a href="{{url_for('upload', study=study, module=module)}}">neue Klausur hochladen</a> {% endif %} {% else %} - <a href="{{url_for('index')}}">zurück</a> + <a href="{{url_for('study_index', study=study, module=module)}}">zurück</a> {% endif %} </p> <h2>{{study.capitalize()}}</h2> |