Skip to content

Commit f844850

Browse files
committed
TD-2871 Formats numbers across report grids with comma separators
1 parent f75e8c4 commit f844850

File tree

3 files changed

+8
-8
lines changed

3 files changed

+8
-8
lines changed

DigitalLearningSolutions.Web/Views/SuperAdmin/PlatformReports/_CourseActivityTable.cshtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,13 +33,13 @@
3333
<span class="nhsuk-table-responsive__heading">Period </span>@activityRow.Period
3434
</td>
3535
<td role="cell" class="nhsuk-table__cell">
36-
<span class="nhsuk-table-responsive__heading">Enrolments </span>@activityRow.Enrolments
36+
<span class="nhsuk-table-responsive__heading">Enrolments </span>@activityRow.Enrolments.ToString("#,##0.##")
3737
</td>
3838
<td role="cell" class="nhsuk-table__cell">
39-
<span class="nhsuk-table-responsive__heading">Completions </span>@activityRow.Completions
39+
<span class="nhsuk-table-responsive__heading">Completions </span>@activityRow.Completions.ToString("#,##0.##")
4040
</td>
4141
<td role="cell" class="nhsuk-table__cell">
42-
<span class="nhsuk-table-responsive__heading">Evaluations </span>@activityRow.Evaluations
42+
<span class="nhsuk-table-responsive__heading">Evaluations </span>@activityRow.Evaluations.ToString("#,##0.##")
4343
</td>
4444
</tr>
4545
}

DigitalLearningSolutions.Web/Views/SuperAdmin/PlatformReports/_SelfAssessmentActivityTable.cshtml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -30,10 +30,10 @@
3030
<span class="nhsuk-table-responsive__heading">Period </span>@activityRow.Period
3131
</td>
3232
<td role="cell" class="nhsuk-table__cell">
33-
<span class="nhsuk-table-responsive__heading">Enrolments </span>@activityRow.Enrolments
33+
<span class="nhsuk-table-responsive__heading">Enrolments </span>@activityRow.Enrolments.ToString("#,##0.##")
3434
</td>
3535
<td role="cell" class="nhsuk-table__cell">
36-
<span class="nhsuk-table-responsive__heading">Completions </span>@activityRow.Completions
36+
<span class="nhsuk-table-responsive__heading">Completions </span>@activityRow.Completions.ToString("#,##0.##")
3737
</td>
3838
</tr>
3939
}

DigitalLearningSolutions.Web/Views/TrackingSystem/Centre/Reports/_ActivityTable.cshtml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -33,14 +33,14 @@
3333
<span class="nhsuk-table-responsive__heading">Period </span>@activityRow.Period
3434
</td>
3535
<td role="cell" class="nhsuk-table__cell">
36-
<span class="nhsuk-table-responsive__heading">Enrolments </span>@activityRow.Enrolments
36+
<span class="nhsuk-table-responsive__heading">Enrolments </span>@activityRow.Enrolments.ToString("#,##0.##")
3737

3838
</td>
3939
<td role="cell" class="nhsuk-table__cell">
40-
<span class="nhsuk-table-responsive__heading">Completions </span>@activityRow.Completions
40+
<span class="nhsuk-table-responsive__heading">Completions </span>@activityRow.Completions.ToString("#,##0.##")
4141
</td>
4242
<td role="cell" class="nhsuk-table__cell">
43-
<span class="nhsuk-table-responsive__heading">Evaluations </span>@activityRow.Evaluations
43+
<span class="nhsuk-table-responsive__heading">Evaluations </span>@activityRow.Evaluations.ToString("#,##0.##")
4444
</td>
4545
</tr>
4646
}

0 commit comments

Comments
 (0)