diff options
author | Sean Smith <ssmith@iol.unh.edu> | 2020-09-18 15:26:53 -0400 |
---|---|---|
committer | Sean Smith <ssmith@iol.unh.edu> | 2020-09-18 15:52:47 -0400 |
commit | edf4c59212c757d81a51fbc8d587bb7384d921fa (patch) | |
tree | 490a9f8d23fd8e8fb8c5b2877147af80b840beff /src/workflow/views.py | |
parent | 1ca205371c3306a23a817d9ea617c1a0596f7912 (diff) |
3 contact us buttons and booking links on landing
Signed-off-by: Sean Smith <ssmith@iol.unh.edu>
Change-Id: Ic50767e566f06d34457b6543644eeee03e584b89
Diffstat (limited to 'src/workflow/views.py')
-rw-r--r-- | src/workflow/views.py | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/src/workflow/views.py b/src/workflow/views.py index 9666d72..fb311b7 100644 --- a/src/workflow/views.py +++ b/src/workflow/views.py @@ -10,6 +10,7 @@ from django.http import HttpResponse from django.shortcuts import render +from account.models import Lab import uuid @@ -73,7 +74,12 @@ def viewport_view(request): if request.method != 'GET': return HttpResponse(status=405) - return render(request, 'workflow/viewport-base.html') + + context = { + 'contact_email': Lab.objects.get(name="UNH_IOL").contact_email + } + + return render(request, 'workflow/viewport-base.html', context) def create_workflow(request): |