Skip to content

Commit

Permalink
Merge pull request #964 from DFE-Digital/feature/147247-Update-Projec…
Browse files Browse the repository at this point in the history
…t-List-View

Feature/147247 update project list view
  • Loading branch information
elielijah321 authored Dec 19, 2023
2 parents ceaf56e + 34dd2c1 commit 032a73d
Showing 1 changed file with 9 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -31,24 +31,26 @@
</div>
}
<div id="@("region-" + projectRow.Index)" class="govuk-!-margin-top-1">
<strong>Region:</strong>
@projectRow.Item.Region
<strong>Region:</strong>
<span if="projectRow.Item.Region.IsEmpty()" class="empty">Empty</span>
<span if="projectRow.Item.Region.IsPresent()">@projectRow.Item.Region</span>
</div>
<div id="@("incoming-trust-" + projectRow.Index)" class="govuk-!-margin-top-1">
<strong>Incoming trust:</strong>
@projectRow.Item.NameOfTrust.ToTitleCase()
<strong>Incoming trust:</strong>
<span if="projectRow.Item.NameOfTrust.IsEmpty()" class="empty">Empty</span>
<span if="projectRow.Item.NameOfTrust.IsPresent()">@projectRow.Item.NameOfTrust?.ToTitleCase()</span>
</div>
<div id="@("advisory-board-date-" + projectRow.Index)" class="govuk-!-margin-top-1">
<strong>Advisory board date:</strong>
<strong>Advisory board date:</strong>
<span if="projectRow.Item.HeadTeacherBoardDate.IsEmpty()" class="empty">Unconfirmed</span>
<span if="projectRow.Item.HeadTeacherBoardDate.IsPresent()">@projectRow.Item.HeadTeacherBoardDate</span>
<span if="projectRow.Item.HeadTeacherBoardDate.IsPresent()">@projectRow.Item.HeadTeacherBoardDate</span>
</div>
@if (!isFormAMat)
{
<div id="@("assigned-to-" + projectRow.Index)" class="do govuk-!-margin-top-1">
<strong>Assigned to:</strong>
<span if="projectRow.Item.AssignedUserFullName.IsEmpty()" class="empty">Unassigned</span>
<strong if="projectRow.Item.AssignedUserFullName.IsPresent()">@projectRow.Item.AssignedUserFullName</strong>
<span if="projectRow.Item.AssignedUserFullName.IsPresent()">@projectRow.Item.AssignedUserFullName</span>
</div>
}
<div class="govuk-!-margin-top-2 govuk-!-margin-bottom-3">
Expand Down

0 comments on commit 032a73d

Please sign in to comment.