Skip to content

Commit

Permalink
redirect to cui dashboard implementation for 'Go to your account' link
Browse files Browse the repository at this point in the history
  • Loading branch information
velimd committed Aug 30, 2024
1 parent 176e010 commit 615beb8
Show file tree
Hide file tree
Showing 10 changed files with 11 additions and 11 deletions.
2 changes: 1 addition & 1 deletion src/main/features/ccj/views/confirmation-ccj.njk
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@

<p><a target="_blank" rel="noreferrer noopener" href="https://www.smartsurvey.co.uk/s/CMCMVPT1/">{{ t('What did you think of this service? (opens in new tab).') }}</a></p>

<p>{{ internalLink('Go to your account', DashboardPaths.dashboardPage.uri, 'button') | safe }}</p>
<p>{{ internalLink('Go to your account', dashboardUrl, 'button') | safe }}</p>

{{ supportWidget() }}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@
{% include "includes/service-survey-link-defendant.njk" %}
{% endif %}

<p>{{ internalLink('Go to your account', DashboardPaths.dashboardPage.uri, 'button') | safe }}</p>
<p>{{ internalLink('Go to your account', dashboardUrl, 'button') | safe }}</p>

{{ supportWidget() }}
</div>
Expand Down
4 changes: 2 additions & 2 deletions src/main/features/claim/views/confirmation.njk
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,9 @@
{% else %}
{{ claimConfirmation(claim) }}
{% endif %}

{% include "includes/service-survey-link-claimant.njk" %}
{{ internalLink(t('Go to your account'), DashboardPaths.dashboardPage.uri, 'button') }}
{{ internalLink(t('Go to your account'), dashboardUrl, 'button') }}
{{ supportWidget() }}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/main/features/claimant-response/views/confirmation.njk
Original file line number Diff line number Diff line change
Expand Up @@ -108,7 +108,7 @@

{% include "includes/service-survey-link-claimant.njk" %}

<p>{{ internalLink(t('Go to your account'), DashboardPaths.dashboardPage.uri, 'button') }}</p>
<p>{{ internalLink(t('Go to your account'), dashboardUrl, 'button') }}</p>

{{ supportWidget() }}
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/main/features/offer/views/settled.njk
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@
{% include "includes/service-survey-link-defendant.njk" %}

<p>
{{ internalLink(t('Go to your account'), DashboardPaths.dashboardPage.uri, 'button') }}
{{ internalLink(t('Go to your account'), dashboardUrl, 'button') }}
</p>

{{ supportWidget() }}
Expand Down
2 changes: 1 addition & 1 deletion src/main/features/orders/views/confirmation.njk
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
<p>{{ t('A judge will then review the order and any comments. We’ll contact you both by post to tell you what to do next.') }}</p>
<p>{{ t('Continue doing everything the order tells you to do unless you hear that a judge has changed it.') }}</p>

<p>{{ internalLink('Go to your account', DashboardPaths.dashboardPage.uri, 'button') | safe }}</p>
<p>{{ internalLink('Go to your account', dashboardUrl, 'button') | safe }}</p>

{{ supportWidget() }}
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/main/features/paid-in-full/views/confirmation.njk
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@
</div>
{% include "includes/service-survey-link-claimant.njk" %}

<p>{{ internalLink(t('Go to your account'), DashboardPaths.dashboardPage.uri, 'button') }}</p>
<p>{{ internalLink(t('Go to your account'), dashboardUrl, 'button') }}</p>

{{ supportWidget() }}
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/main/features/response/views/confirmation.njk
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@

{% include "includes/service-survey-link-defendant.njk" %}

<p>{{ internalLink(t('Go to your account'), DashboardPaths.dashboardPage.uri, 'button') }}</p>
<p>{{ internalLink(t('Go to your account'), dashboardUrl, 'button') }}</p>

{{ supportWidget() }}
</div>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
<p>{{ t('Make sure you get receipts for any payments.') }}</p>
{% endif %}
{% include "includes/service-survey-link-defendant.njk" %}
{{ internalLink('Go to your account', DashboardPaths.dashboardPage.uri, 'button') }}
{{ internalLink('Go to your account', dashboardUrl, 'button') }}
{{ supportWidget() }}
</div>
</div>
Expand Down
2 changes: 1 addition & 1 deletion src/main/views/includes/propositional_navigation.njk
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@
{{ internalLink(t('Menu'), '#proposition-links', 'js-header-toggle menu') }}
<nav id="proposition-menu">
{% if serviceName %}
{{ internalLink(t(serviceName), AppPaths.homePage.uri, id='proposition-name') }}
{{ internalLink(t(serviceName), dashboardUrl, id='proposition-name') }}
{% endif %}
<ul id="proposition-links" class="pull-right">
{% if isLoggedIn === true and isFirstContactPath === false %}
Expand Down

0 comments on commit 615beb8

Please sign in to comment.