From 07e8ff7149441f9237005e8b336986675d372113 Mon Sep 17 00:00:00 2001 From: Naomi Aro Date: Wed, 5 May 2021 13:14:50 -0700 Subject: [PATCH] feat: complete page links to application summary if query param --- app/pages/reporter/complete-submit.tsx | 60 ++++++++++++++++++++------ 1 file changed, 46 insertions(+), 14 deletions(-) diff --git a/app/pages/reporter/complete-submit.tsx b/app/pages/reporter/complete-submit.tsx index 2159f2b320..072e79623a 100644 --- a/app/pages/reporter/complete-submit.tsx +++ b/app/pages/reporter/complete-submit.tsx @@ -1,11 +1,13 @@ import React, {Component} from 'react'; import Link from 'next/link'; -import {Button} from 'react-bootstrap'; +import {Button, Row, Col} from 'react-bootstrap'; import {graphql} from 'react-relay'; import {CiipPageComponentProps} from 'next-env'; import {completeSubmitQueryResponse} from 'completeSubmitQuery.graphql'; import DefaultLayout from 'layouts/default-layout'; import {USER} from 'data/group-constants'; +import ProgressStepIndicator from 'components/ProgressStepIndicator'; +import StatusBadgeColor from 'components/helpers/StatusBadgeColor'; const ALLOWED_GROUPS = [USER]; @@ -27,23 +29,53 @@ class CompleteSubmit extends Component { render() { const { - query: {session} + query: {session}, + router } = this.props; + + const {application} = router.query; + return ( - - Thank you for your submission. Your application has been sent and is - being reviewed. -
We will notify you as soon as there is an update. - - } - > + + + + + + +

Thank you for submitting your application.

+

+ Your application for the _ facility operated by _ has been received + and is being reviewed. We will notify you by email regarding any + updates. +