Add a bread crumb to the send started email page.
[htsworkflow.git] / htsworkflow / frontend / experiments / views.py
index 3505a3bf594e7cfbd0b50afce09f6374e504280d..e03c038e48f7f2e197a20ef73494670bcf717076 100755 (executable)
@@ -90,7 +90,7 @@ def startedEmail(request, pk):
                   })
 
         # build view
-        subject = "Flowcell  %s" % ( fc.flowcell_id )
+        subject = "Flowcell %s" % ( fc.flowcell_id )
         body = email_template.render(context)
 
         if send:
@@ -102,11 +102,13 @@ def startedEmail(request, pk):
         emails.append((user_email, subject, body, sending))
 
     verify_context = Context({
-        'send': send,
-        'warnings': warnings,
         'emails': emails,
+        'flowcell': fc,
         'from': sender,
+        'send': send,
         'site_managers': settings.MANAGERS,
+        'title': fc.flowcell_id,
+        'warnings': warnings,
         })
     return HttpResponse(email_verify.render(verify_context))