diff --git a/README.md b/README.md index 01fe8cb..3a36508 100644 --- a/README.md +++ b/README.md @@ -1,4 +1,4 @@ - + # crs-fatca-fi-management-frontend This service is used to manage financial institutions details. diff --git a/app/views/IndexView.scala.html b/app/views/IndexView.scala.html index ec218c0..c0b4f65 100644 --- a/app/views/IndexView.scala.html +++ b/app/views/IndexView.scala.html @@ -39,7 +39,7 @@ showBackLink = false ) { @heading(messages("index.heading")) - @{if(!details.hasFis) para(Html(messages("index.p1", addFILink)))} + @{if(!details.hasFis) para(Html(messages("index.p1", addFILink)),classes = "govuk-!-margin-bottom-2")} @para(Html(messages("index.p2", details.fatcaId))) @if(details.hasFis) { diff --git a/app/views/components/index/ChangeContactSection.scala.html b/app/views/components/index/ChangeContactSection.scala.html index 4f911cd..c21d003 100644 --- a/app/views/components/index/ChangeContactSection.scala.html +++ b/app/views/components/index/ChangeContactSection.scala.html @@ -23,11 +23,12 @@ link(changeContactDetailsUrl, messages("organisationIndex.p3", businessName.get), Some("change-contact-details")) } else {link(changeContactDetailsUrl, "index.p3", Some("change-contact-details"))} } - +
@if(isBusiness){ -

@messages("organisationIndex.h2")

+

@messages("organisationIndex.h2")

@changeContactLink

} else { -

@messages("index.h2")

+

@messages("index.h2")

@changeContactLink

- } \ No newline at end of file + } +
\ No newline at end of file diff --git a/app/views/components/index/YourFIsSection.scala.html b/app/views/components/index/YourFIsSection.scala.html index dc4be23..b303739 100644 --- a/app/views/components/index/YourFIsSection.scala.html +++ b/app/views/components/index/YourFIsSection.scala.html @@ -16,13 +16,15 @@ @import components._ -@this(link: Link, heading: Heading) +@this(link: Link) @()(implicit messages: Messages) - @addFILink = {@link(controllers.addFinancialInstitution.routes.AddFIController.onPageLoad.url, "index.addFi.link", Some("add-financial-institution"))} - @manageFILink = {@link(controllers.routes.YourFinancialInstitutionsController.onPageLoad().url, "index.manageFi.link", Some("your-financial-institutions"))} +@addFILink = {@link(controllers.addFinancialInstitution.routes.AddFIController.onPageLoad.url, "index.addFi.link", Some("add-financial-institution"))} +@manageFILink = {@link(controllers.routes.YourFinancialInstitutionsController.onPageLoad().url, "index.manageFi.link", Some("your-financial-institutions"))} - @heading(messages("index.yourFis.h2"), "m") -

@addFILink

+
+

@messages("index.yourFis.h2")

+

@addFILink

@manageFILink

+
\ No newline at end of file diff --git a/app/views/components/index/YourReportsSection.scala.html b/app/views/components/index/YourReportsSection.scala.html index 0ae0b69..7ff6faa 100644 --- a/app/views/components/index/YourReportsSection.scala.html +++ b/app/views/components/index/YourReportsSection.scala.html @@ -15,10 +15,12 @@ *@ @import components._ -@this(link: Link, heading: Heading) +@this(link: Link) @()(implicit messages: Messages) - @uploadLink = {@link(controllers.routes.IndexController.onPageLoad().url, messages("index.uploadFile.link"))} - @heading(messages("index.yourReports.h2"), "m") -

@uploadLink

+@uploadLink = {@link(controllers.routes.IndexController.onPageLoad().url, messages("index.uploadFile.link"))} +
+

@messages("index.yourReports.h2")

+

@uploadLink

+