Skip to content

Commit

Permalink
Remove feedback section
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastien-comeau committed Feb 24, 2023
1 parent da0a45a commit c06a2c8
Show file tree
Hide file tree
Showing 4 changed files with 11 additions and 35 deletions.
7 changes: 0 additions & 7 deletions pages/email.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,6 @@ import ErrorSummary, {
getErrorSummaryItems,
goToErrorSummary,
} from '../components/ErrorSummary'
import ExternalLink from '../components/ExternalLink'
import IdleTimeout from '../components/IdleTimeout'
import InputField from '../components/InputField'
import Layout from '../components/Layout'
Expand Down Expand Up @@ -136,12 +135,6 @@ const Email: FC = () => {
tOptions={{ phoneNumber: t('common:phone-number') }}
/>
</p>
<h2 className="h2">{t('common:feedback-link-header')}</h2>
<p>
<ExternalLink href={t('common:feedback-link-url')}>
{t('common:feedback-link')}
</ExternalLink>
</p>
</div>
) : (
<form onSubmit={handleFormikSubmit} id="form-email-esrf">
Expand Down
33 changes: 11 additions & 22 deletions pages/status.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,6 @@ import ErrorSummary, {
getErrorSummaryItems,
goToErrorSummary,
} from '../components/ErrorSummary'
import ExternalLink from '../components/ExternalLink'
import IdleTimeout from '../components/IdleTimeout'
import InputField from '../components/InputField'
import Layout from '../components/Layout'
Expand Down Expand Up @@ -168,27 +167,17 @@ const Status: FC = () => {
{t('header')}
</h1>
{checkStatusResponse !== undefined ? (
<>
<CheckStatusInfo
id={
checkStatusResponse === null
? 'response-no-result'
: 'response-result'
}
onGoBackClick={handleOnGoBackClick}
goBackText={
checkStatusResponse === null ? t('previous') : t('reset')
}
goBackStyle="primary"
checkStatusResponse={checkStatusResponse}
/>
<h2 className="h2">{t('common:feedback-link-header')}</h2>
<p>
<ExternalLink href={t('common:feedback-link-url')}>
{t('common:feedback-link')}
</ExternalLink>
</p>
</>
<CheckStatusInfo
id={
checkStatusResponse === null
? 'response-no-result'
: 'response-result'
}
onGoBackClick={handleOnGoBackClick}
goBackText={checkStatusResponse === null ? t('previous') : t('reset')}
goBackStyle="primary"
checkStatusResponse={checkStatusResponse}
/>
) : (
<form onSubmit={handleFormikSubmit} id="form-get-status">
<p>
Expand Down
3 changes: 0 additions & 3 deletions public/locales/en/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@
"end-session": "End session"
},
"phone-number": "1\u2011800\u2011567\u20116868",
"feedback-link-header": "We want to improve this tool",
"feedback-link": "Give us your feedback on the Passport Application Status Checker",
"feedback-link-url": "https://www.canada.ca/en/employment-social-development/services/passport/application-status-feedback.html",
"opens-in-new-tab": "(opens in a new tab)",
"banner": {
"alert": "Test site",
Expand Down
3 changes: 0 additions & 3 deletions public/locales/fr/common.json
Original file line number Diff line number Diff line change
Expand Up @@ -52,9 +52,6 @@
"end-session": "Terminer la session"
},
"phone-number": "1\u2011800\u2011567\u20116868",
"feedback-link-header": "Nous voulons améliorer cet outil",
"feedback-link": "Donnez-nous votre avis sur le Vérificateur de l'état d'une demande de passeport",
"feedback-link-url": "https://www.canada.ca/fr/emploi-developpement-social/services/passeport/retroaction-etat-demande.html",
"opens-in-new-tab": "(s'ouvre dans un nouvel onglet)",
"banner": {
"alert": "Lieu de test",
Expand Down

0 comments on commit c06a2c8

Please sign in to comment.