@ministryofjustice/hmpps-mpop-frontend-components-lib 0.0.18 → 0.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/mpop/components/supervision-package/partials/_early-engagement.njk +0 -5
- package/dist/mpop/components/supervision-package/partials/_no-end-date.njk +0 -4
- package/dist/mpop/components/supervision-package/partials/_red-iom.njk +0 -5
- package/dist/mpop/components/supervision-package/partials/_standard-supervision.njk +0 -4
- package/dist/mpop/components/supervision-package/template.njk +3 -3
- package/package.json +1 -1
|
@@ -31,11 +31,6 @@
|
|
|
31
31
|
{% endif %}
|
|
32
32
|
|
|
33
33
|
{% include './_progress-bar.njk' %}
|
|
34
|
-
{% if params.context.integratedOffenderManagementRedRated %}
|
|
35
|
-
<p class='govuk-body'>
|
|
36
|
-
{{ forename }} has an IOM red RAG status. The maximum number of appointments is the same as tier A.
|
|
37
|
-
</p>
|
|
38
|
-
{% endif %}
|
|
39
34
|
|
|
40
35
|
{% if params.context | isEligibleForDiscretionaryAppointments(params.tierScore) %}
|
|
41
36
|
<p class='govuk-body'>
|
|
@@ -1,9 +1,5 @@
|
|
|
1
1
|
<p class='govuk-body'>There is no supervision end date.</p>
|
|
2
2
|
|
|
3
|
-
{% if params.context.integratedOffenderManagementRedRated %}
|
|
4
|
-
<p class='govuk-body'>{{ params.context.name.forename }} has an IOM red RAG status. The maximum number of appointments is the same as tier A.</p>
|
|
5
|
-
{% endif %}
|
|
6
|
-
|
|
7
3
|
{% if params.context | isEligibleForDiscretionaryAppointments(params.tierScore) %}
|
|
8
4
|
<p class='govuk-body'>As a woman in tier {{ params.tierScore }}, {{ params.context.name.forename }} can have up to 5 additional discretionary appointments.</p>
|
|
9
5
|
{% endif %}
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
|
|
3
3
|
<p class='govuk-body'>{{ forename }} has an IOM red RAG status. The maximum number of appointments is the same as tier A.</p>
|
|
4
4
|
|
|
5
|
-
|
|
6
5
|
{% if forename and (params.currentYear.appointments.completed | int >= params.currentYear.appointments.allowance | int)%}
|
|
7
6
|
<p class='govuk-body'>
|
|
8
7
|
{{ forename }} has used all the supervision package appointments. If new risks emerge or there are exceptional circumstances, you can arrange contingency appointments.
|
|
@@ -24,7 +23,3 @@
|
|
|
24
23
|
{% endif %}
|
|
25
24
|
|
|
26
25
|
{% include './_progress-bar.njk' %}
|
|
27
|
-
|
|
28
|
-
{% if params.context | isEligibleForDiscretionaryAppointments(params.tierScore) %}
|
|
29
|
-
<p class='govuk-body'>As a woman in tier {{ params.tierScore }}, {{ forename }} can have up to 5 additional discretionary appointments.</p>
|
|
30
|
-
{% endif %}
|
|
@@ -26,10 +26,6 @@
|
|
|
26
26
|
|
|
27
27
|
{% include './_progress-bar.njk' %}
|
|
28
28
|
|
|
29
|
-
{% if params.context.integratedOffenderManagementRedRated %}
|
|
30
|
-
<p class='govuk-body'>{{ forename }} has an IOM red RAG status. The maximum number of appointments is the same as tier A.</p>
|
|
31
|
-
{% endif %}
|
|
32
|
-
|
|
33
29
|
{% if params.context | isEligibleForDiscretionaryAppointments(params.tierScore) %}
|
|
34
30
|
<p class='govuk-body'>As a woman in tier {{ params.tierScore }}, {{ forename }} can have up to 5 additional discretionary appointments.</p>
|
|
35
31
|
{% endif %}
|
|
@@ -42,9 +42,9 @@
|
|
|
42
42
|
{% include './partials/_warnings.njk' %}
|
|
43
43
|
|
|
44
44
|
{% if not params.currentPhase and params.oasysReviewHref %}
|
|
45
|
-
<p class='govuk-body'><a href='{{ params.oasysReviewHref }}' class='govuk-link govuk-link--no-visited-state' target='_blank' rel='noopener noreferrer'>Start an OASys review (opens in new tab)</a> to confirm {{ forename}}’s supervision package. Until then, follow national standards for appointments.</p>
|
|
45
|
+
<p class='govuk-body'><a href='{{ params.oasysReviewHref }}' class='govuk-link govuk-link--no-visited-state' target='{{ "_blank" if params.openInNewTab }}' rel='{{ "noopener noreferrer" if params.openInNewTab }}'>Start an OASys review{{ ' (opens in new tab)' if params.openInNewTab }}</a> to confirm {{ forename}}’s supervision package. Until then, follow national standards for appointments.</p>
|
|
46
46
|
{% elseif phaseCode == 'SPNS' and params.oasysReviewHref %}
|
|
47
|
-
<p class='govuk-body'><a href='{{ params.oasysReviewHref }}' class='govuk-link govuk-link--no-visited-state' target='_blank' rel='noopener noreferrer'>Complete an OASys review (opens in new tab)</a> to confirm {{ forename}}’s supervision package. Until then, follow national standards for appointments. </p>
|
|
47
|
+
<p class='govuk-body'><a href='{{ params.oasysReviewHref }}' class='govuk-link govuk-link--no-visited-state' target='{{ "_blank" if params.openInNewTab }}' rel='{{ "noopener noreferrer" if params.openInNewTab }}'>Complete an OASys review{{ ' (opens in new tab)' if params.openInNewTab }}</a> to confirm {{ forename}}’s supervision package. Until then, follow national standards for appointments. </p>
|
|
48
48
|
<p class='govuk-body'>
|
|
49
49
|
Appointments do not count towards the package until it is confirmed.
|
|
50
50
|
</p>
|
|
@@ -72,7 +72,7 @@
|
|
|
72
72
|
<h4 class='govuk-heading-s'>Supervision appointments</h4>
|
|
73
73
|
{% include './partials/_opd.njk' %}
|
|
74
74
|
{% elseif params.context.integratedOffenderManagementRedRated %}
|
|
75
|
-
<h4 class='govuk-heading-s'>
|
|
75
|
+
<h4 class='govuk-heading-s'>Supervision appointments</h4>
|
|
76
76
|
{% include './partials/_red-iom.njk' %}
|
|
77
77
|
{% elseif params.context.sentences | isAtLarge or params.context.sentences | isInCustody %}
|
|
78
78
|
<h4 class='govuk-heading-s'>{{ params.currentPhase.phase.description | toTitleCase }} stage</h4>
|