diff options
-rw-r--r-- | meetingtools/multiresponse.py | 1 | ||||
-rw-r--r-- | templates/base.html | 8 |
2 files changed, 5 insertions, 4 deletions
diff --git a/meetingtools/multiresponse.py b/meetingtools/multiresponse.py index f492cab..3427a82 100644 --- a/meetingtools/multiresponse.py +++ b/meetingtools/multiresponse.py @@ -29,6 +29,7 @@ def make_response_dict(request,d={}): if request.user.is_authenticated(): d['user'] = request.user + d['prefix'] = PREFIX_URL return d diff --git a/templates/base.html b/templates/base.html index e4ceaee..f8bb445 100644 --- a/templates/base.html +++ b/templates/base.html @@ -6,11 +6,11 @@ <meta http-equiv="content-type" content="text/html;charset=utf-8" /> <meta http-equiv="Content-Style-Type" content="text/css" /> - <link href="/site-media/css/reset.css" rel="stylesheet" type="text/css" /> + <link href="{{prefix}}/site-media/css/reset.css" rel="stylesheet" type="text/css" /> <link type="text/css" href="/site-media/css/flick/jquery-ui-1.8.2.custom.css" rel="stylesheet"> - <link href="/site-media/css/sunet.css" rel="stylesheet" type="text/css" /> - <link href="/site-media/css/style.css" rel="stylesheet" type="text/css" /> - <link href="/site-media/css/gs.css" rel="stylesheet" type="text/css" /> + <link href="{{prefix}}/site-media/css/sunet.css" rel="stylesheet" type="text/css" /> + <link href="{{prefix}}/site-media/css/style.css" rel="stylesheet" type="text/css" /> + <link href="{{prefix}}/site-media/css/gs.css" rel="stylesheet" type="text/css" /> <script type="text/javascript" src="/site-media/js/jquery-1.4.2.min.js"></script> <script type="text/javascript" src="/site-media/js/jquery-ui-1.8.2.custom.min.js"></script> |