Skip to content

Commit d89d453

Browse files
authored
Fix up a couple of member names (#2680)
Rename `Get*For` methods to `Get*By`. Rename `UiDefaults.DetailTextAreaMinimumRows` to `UiDefaults.DetailTextAreaRows`.
1 parent f89730c commit d89d453

File tree

52 files changed

+289
-289
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

52 files changed

+289
-289
lines changed

TeachingRecordSystem/src/TeachingRecordSystem.SupportUi/Pages/Alerts/AddAlert/Details.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -23,7 +23,7 @@
2323
</ul>
2424
</govuk-inset-text>
2525

26-
<govuk-character-count for="Details" max-length="UiDefaults.DetailMaxCharacterCount" rows="UiDefaults.DetailTextAreaMinimumRows" data-testid="details">
26+
<govuk-character-count for="Details" max-length="UiDefaults.DetailMaxCharacterCount" rows="UiDefaults.DetailTextAreaRows" data-testid="details">
2727
<govuk-character-count-label>Details</govuk-character-count-label>
2828
<govuk-character-count-hint>For example, include any restrictions it places on a teacher.</govuk-character-count-hint>
2929
</govuk-character-count>

TeachingRecordSystem/src/TeachingRecordSystem.SupportUi/Pages/Alerts/AddAlert/Reason.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<govuk-radios-item value="@true">
3535
Yes
3636
<govuk-radios-item-conditional>
37-
<govuk-character-count for="AddReasonDetail" max-length="UiDefaults.DetailMaxCharacterCount" rows="UiDefaults.DetailTextAreaMinimumRows">
37+
<govuk-character-count for="AddReasonDetail" max-length="UiDefaults.DetailMaxCharacterCount" rows="UiDefaults.DetailTextAreaRows">
3838
<govuk-character-count-label>Add additional detail</govuk-character-count-label>
3939
</govuk-character-count>
4040
</govuk-radios-item-conditional>

TeachingRecordSystem/src/TeachingRecordSystem.SupportUi/Pages/Alerts/CloseAlert/Reason.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@
3737
<govuk-radios-item value="@true">
3838
Yes
3939
<govuk-radios-item-conditional>
40-
<govuk-character-count for="ChangeReasonDetail" max-length="UiDefaults.DetailMaxCharacterCount" rows="UiDefaults.DetailTextAreaMinimumRows">
40+
<govuk-character-count for="ChangeReasonDetail" max-length="UiDefaults.DetailMaxCharacterCount" rows="UiDefaults.DetailTextAreaRows">
4141
<govuk-character-count-label>Add additional detail</govuk-character-count-label>
4242
</govuk-character-count>
4343
</govuk-radios-item-conditional>

TeachingRecordSystem/src/TeachingRecordSystem.SupportUi/Pages/Alerts/DeleteAlert/Index.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -32,7 +32,7 @@
3232
<govuk-radios-item value="@true">
3333
Yes
3434
<govuk-radios-item-conditional>
35-
<govuk-character-count for="DeleteReasonDetail" max-length="UiDefaults.DetailMaxCharacterCount" rows="UiDefaults.DetailTextAreaMinimumRows">
35+
<govuk-character-count for="DeleteReasonDetail" max-length="UiDefaults.DetailMaxCharacterCount" rows="UiDefaults.DetailTextAreaRows">
3636
<govuk-character-count-label>Enter details</govuk-character-count-label>
3737
</govuk-character-count>
3838
</govuk-radios-item-conditional>

TeachingRecordSystem/src/TeachingRecordSystem.SupportUi/Pages/Alerts/EditAlert/Details/Index.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
<form action="@LinkGenerator.Alerts.EditAlert.Details.Index(Model.AlertId, Model.JourneyInstance!.InstanceId, Model.FromCheckAnswers)" method="post">
1414
<span class="govuk-caption-l">Edit alert - @Model.PersonName</span>
1515

16-
<govuk-character-count for="Details" max-length="UiDefaults.DetailMaxCharacterCount" rows="UiDefaults.DetailTextAreaMinimumRows" data-testid="details">
16+
<govuk-character-count for="Details" max-length="UiDefaults.DetailMaxCharacterCount" rows="UiDefaults.DetailTextAreaRows" data-testid="details">
1717
<govuk-character-count-label class="govuk-label--l" is-page-heading="true">
1818
@ViewBag.Title
1919
</govuk-character-count-label>

TeachingRecordSystem/src/TeachingRecordSystem.SupportUi/Pages/Alerts/EditAlert/Details/Reason.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<govuk-radios-item value="@true">
3535
Yes
3636
<govuk-radios-item-conditional>
37-
<govuk-character-count for="ChangeReasonDetail" max-length="UiDefaults.DetailMaxCharacterCount" rows="UiDefaults.DetailTextAreaMinimumRows" />
37+
<govuk-character-count for="ChangeReasonDetail" max-length="UiDefaults.DetailMaxCharacterCount" rows="UiDefaults.DetailTextAreaRows" />
3838
</govuk-radios-item-conditional>
3939
</govuk-radios-item>
4040
<govuk-radios-item value="@false">

TeachingRecordSystem/src/TeachingRecordSystem.SupportUi/Pages/Alerts/EditAlert/EndDate/Reason.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<govuk-radios-item value="@true">
3535
Yes
3636
<govuk-radios-item-conditional>
37-
<govuk-character-count for="ChangeReasonDetail" max-length="UiDefaults.DetailMaxCharacterCount" rows="UiDefaults.DetailTextAreaMinimumRows">
37+
<govuk-character-count for="ChangeReasonDetail" max-length="UiDefaults.DetailMaxCharacterCount" rows="UiDefaults.DetailTextAreaRows">
3838
<govuk-character-count-label>Add additional detail</govuk-character-count-label>
3939
</govuk-character-count>
4040
</govuk-radios-item-conditional>

TeachingRecordSystem/src/TeachingRecordSystem.SupportUi/Pages/Alerts/EditAlert/Link/Reason.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<govuk-radios-item value="@true">
3535
Yes
3636
<govuk-radios-item-conditional>
37-
<govuk-character-count for="ChangeReasonDetail" max-length="UiDefaults.DetailMaxCharacterCount" rows="UiDefaults.DetailTextAreaMinimumRows">
37+
<govuk-character-count for="ChangeReasonDetail" max-length="UiDefaults.DetailMaxCharacterCount" rows="UiDefaults.DetailTextAreaRows">
3838
<govuk-character-count-label>Add additional detail</govuk-character-count-label>
3939
</govuk-character-count>
4040
</govuk-radios-item-conditional>

TeachingRecordSystem/src/TeachingRecordSystem.SupportUi/Pages/Alerts/EditAlert/StartDate/Reason.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
<govuk-radios-item value="@true">
3535
Yes
3636
<govuk-radios-item-conditional>
37-
<govuk-character-count for="ChangeReasonDetail" max-length="UiDefaults.DetailMaxCharacterCount" rows="UiDefaults.DetailTextAreaMinimumRows">
37+
<govuk-character-count for="ChangeReasonDetail" max-length="UiDefaults.DetailMaxCharacterCount" rows="UiDefaults.DetailTextAreaRows">
3838
<govuk-character-count-label>Add additional detail</govuk-character-count-label>
3939
</govuk-character-count>
4040
</govuk-radios-item-conditional>

TeachingRecordSystem/src/TeachingRecordSystem.SupportUi/Pages/Alerts/ReopenAlert/Index.cshtml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131
<govuk-radios-item value="@true">
3232
Yes
3333
<govuk-radios-item-conditional>
34-
<govuk-character-count for="ChangeReasonDetail" max-length="UiDefaults.DetailMaxCharacterCount" rows="UiDefaults.DetailTextAreaMinimumRows">
34+
<govuk-character-count for="ChangeReasonDetail" max-length="UiDefaults.DetailMaxCharacterCount" rows="UiDefaults.DetailTextAreaRows">
3535
<govuk-character-count-label>Add additional detail</govuk-character-count-label>
3636
</govuk-character-count>
3737
</govuk-radios-item-conditional>

0 commit comments

Comments
 (0)