aboutsummaryrefslogtreecommitdiffstats
path: root/src/workflow/views.py
diff options
context:
space:
mode:
authorSawyer Bergeron <sbergeron@iol.unh.edu>2020-10-02 16:41:31 +0000
committerGerrit Code Review <gerrit@opnfv.org>2020-10-02 16:41:31 +0000
commit8a06cdd7d55fabcc71d7034481f7b83ee94611cd (patch)
treed863b2412ea99d954bc3b6e6eec544ef61cf7b68 /src/workflow/views.py
parent836ba6a22ece7590c203c837669b73259f02540a (diff)
parentedf4c59212c757d81a51fbc8d587bb7384d921fa (diff)
Merge "3 contact us buttons and booking links on landing"
Diffstat (limited to 'src/workflow/views.py')
-rw-r--r--src/workflow/views.py8
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):