diff options
Diffstat (limited to 'tbc/views.py')
-rw-r--r-- | tbc/views.py | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/tbc/views.py b/tbc/views.py index 44143bf..cc855b1 100644 --- a/tbc/views.py +++ b/tbc/views.py @@ -43,6 +43,21 @@ def InternshipForms(request): context['user'] = request.user return render_to_response('tbc/internship-forms.html', context) + +def AboutPytbc(request): + context = {} + images = [] + if request.user.is_anonymous(): + context['anonymous'] = True + else: + if is_reviewer(request.user): + context['reviewer'] = request.user + else: + context['user'] = request.user + return render_to_response('tbc/about-pytbc.html', context) + + + def Home(request): context = {} images = [] |