Skip to content

Commit

Permalink
Merge pull request #545 from hmrc/TGP-2762/update-content-on-profiles…
Browse files Browse the repository at this point in the history
…-details-page

TGP-2762: update profile view content
  • Loading branch information
kenneth-rayner authored Oct 31, 2024
2 parents 31221ec + 59c9022 commit a2e6a5d
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
8 changes: 5 additions & 3 deletions app/views/ProfileView.scala.html
Original file line number Diff line number Diff line change
Expand Up @@ -52,13 +52,15 @@ <h1 class="govuk-heading-l">@messages("profile.h1")</h1>

<p class="govuk-body">@messages("profile.p1")</p>

<h2 class="govuk-heading-m">@messages("profile.h2")</h2>
@govukSummaryList(detailsList)

@govukWarningText(WarningText(
iconFallbackText = Some(messages("profile.warning")),
content = Text(messages("profile.warningText"))
))

<h2 class="govuk-heading-m">@messages("profile.h2")</h2>
@govukSummaryList(detailsList)



<p class="govuk-body"><a href="@routes.HomePageController.onPageLoad().url" class="govuk-link" >@messages("site.goBackToHomePage")</a></p>
}
4 changes: 1 addition & 3 deletions conf/messages.cy
Original file line number Diff line number Diff line change
Expand Up @@ -524,11 +524,9 @@ profile.h1 = Manylion y proffil
profile.h2 = UKIMS, NIRMS a’r NIPHL
profile.p1 = Gwiriwch fod y manylion ar eich proffil yn gywir. Gallwch newid eich rhif UKIMS neu ychwanegu, newid a dileu gwybodaeth NIRMS a NIPHL.
profile.warning = Rhybudd
profile.warningText = Mae angen i chi wneud yn siŵr bod y manylion hyn yn gywir. Ni fydd unrhyw symudiadau y byddwch yn defnyddio manylion o’r TGP i’w creu yn ddilys os byddant yn anghywir.
profile.warningText = Mae angen i chi wneud yn siŵr bod y manylion hyn yn gywir cyn eu defnyddio i greu symudiad.
profile.back = Yn ôl i’r hafan



removeNirms.title = Tynnu manylion y contract
removeNirms.h1 = Tynnu manylion y contract
removeNirms.p1 = Os byddwch yn dileu’ch manylion NIRMS, mae’n bosibl y bydd y categori ar gyfer y nwyddau rydych yn eu symud o dan y Broses Syml ar gyfer Symudiadau’r Farchnad Fewnol (SPIMM) yn newid.
Expand Down
2 changes: 1 addition & 1 deletion conf/messages.en
Original file line number Diff line number Diff line change
Expand Up @@ -477,7 +477,7 @@ profile.h1 = Profile details
profile.h2 = UKIMS, NIRMS and NIPHL
profile.p1 = Check the details on your profile are correct. You can change your UKIMS number or add, change and remove NIRMS and NIPHL information.
profile.warning = Warning
profile.warningText = You need to make sure these details are correct. Any movements you use details from TGP to create, will not be valid if they are wrong.
profile.warningText = You need to make sure these details are correct before using them to create a movement.
profile.back = Back to homepage

removeNirms.title = Removing NIRMS details
Expand Down

0 comments on commit a2e6a5d

Please sign in to comment.