Skip to content

Commit 36fe3b0

Browse files
authored
Update breast features content only (#156)
1 parent b6a848c commit 36fe3b0

File tree

3 files changed

+15
-15
lines changed

3 files changed

+15
-15
lines changed

app/assets/javascript/breast-features.js

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -12,11 +12,11 @@ function initializeBreastFeatures()
1212
const hiddenFieldId = config.hiddenFieldId || 'breastFeaturesRaw'
1313
const existingFeatures = config.existingFeatures || []
1414
const featureTypes = config.featureTypes || [
15-
{ value: 'mole', text: 'Mole' },
16-
{ value: 'wart', text: 'Wart' },
17-
{ value: 'breast-reduction-scar', text: 'Breast reduction scar' },
18-
{ value: 'other-scar', text: 'Other scar' },
19-
{ value: 'other-feature', text: 'Other feature' }
15+
{ value: 'mole', text: 'Mole' },
16+
{ value: 'wart', text: 'Wart' },
17+
{ value: 'non-surgical-scar', text: 'Non-surgical scar' },
18+
{ value: 'bruising-or-trauma', text: 'Bruising or trauma' },
19+
{ value: 'other-feature', text: 'Other feature' }
2020
]
2121

2222
let diagramContainer

app/views/_includes/feature-popover.njk

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -21,11 +21,11 @@
2121
{% set showRemoveButton = showRemoveButton if showRemoveButton is defined else true %}
2222

2323
{% set defaultFeatureTypes = [
24-
{ value: "mole", text: "Mole" },
25-
{ value: "wart", text: "Wart" },
26-
{ value: "breast-reduction-scar", text: "Breast reduction scar" },
27-
{ value: "other-scar", text: "Other scar" },
28-
{ value: "other-feature", text: "Other feature" }
24+
{ value: 'mole', text: 'Mole' },
25+
{ value: 'wart', text: 'Wart' },
26+
{ value: 'non-surgical-scar', text: 'Non-surgical scar' },
27+
{ value: 'bruising-or-trauma', text: 'Bruising or trauma' },
28+
{ value: 'other-feature', text: 'Other feature' }
2929
] %}
3030

3131
{% set featureTypes = featureTypes or defaultFeatureTypes %}

app/views/events/medical-information/record-breast-features.html

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -76,11 +76,11 @@ <h2 class="nhsuk-heading-m">Where is the feature?</h2>
7676
hiddenFieldId: 'breastFeaturesRaw',
7777
existingFeatures: {{ breastFeatures | dump | safe }} || [],
7878
featureTypes: [
79-
{ value: 'mole', text: 'Mole' },
80-
{ value: 'wart', text: 'Wart' },
81-
{ value: 'breast-reduction-scar', text: 'Breast reduction scar' },
82-
{ value: 'other-scar', text: 'Other scar' },
83-
{ value: 'other-feature', text: 'Other feature' }
79+
{ value: 'mole', text: 'Mole' },
80+
{ value: 'wart', text: 'Wart' },
81+
{ value: 'non-surgical-scar', text: 'Non-surgical scar' },
82+
{ value: 'bruising-or-trauma', text: 'Bruising or trauma' },
83+
{ value: 'other-feature', text: 'Other feature' }
8484
]
8585
}
8686
</script>

0 commit comments

Comments
 (0)