Skip to content

Commit

Permalink
add before or after datatest id for shg
Browse files Browse the repository at this point in the history
  • Loading branch information
CMurrell148 committed Jan 30, 2025
1 parent d063b6e commit 0fde5b3
Showing 1 changed file with 6 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -2,13 +2,16 @@

@* Single headline grade *@
<td class="govuk-table__cell govuk-body cell-ofsted-single-headline-grade"
data-sort-value="@Model.SingleHeadlineGradeSort" data-testid="@Model.DataTestIdPrefix-single-headline-grade">
<span class=@(Model.RatingShouldBeBold ? "govuk-!-font-weight-bold" : null)>
data-sort-value="@Model.SingleHeadlineGradeSort">
<span class=@(Model.RatingShouldBeBold ? "govuk-!-font-weight-bold" : null)
data-testid="@Model.DataTestIdPrefix-single-headline-grade">
@Model.SingleHeadlineGradeText
</span>
@if (Model.HasInspection)
{
<strong class="govuk-tag @(Model.IsBeforeJoining ? "govuk-tag--grey" : "") govuk-!-text-align-centre govuk-!-width-three-quarters">
<strong
class="govuk-tag @(Model.IsBeforeJoining ? "govuk-tag--grey" : "") govuk-!-text-align-centre govuk-!-width-three-quarters"
data-testid="@Model.DataTestIdPrefix-before-after-joining">
@Model.TagLabel
</strong>
}
Expand Down

0 comments on commit 0fde5b3

Please sign in to comment.