Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -180,6 +180,8 @@
return [{ text: 'Action required', className: 'fa-solid fa-triangle-exclamation text-warning' }];
case NotificationType.AccessRequest:
return [{ text: 'Access request', className: 'fas fa-lock-alt text-dark pt-1' }];
case NotificationType.ReportProcessed:
return [{ text: 'Report processed', className: 'fa-solid fa-circle-check text-success' }];
default:
return [{ text: 'unknown', className: '' }];
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -400,7 +400,7 @@ public async Task UpdateDatabricksReport(int userId, DatabricksUpdateRequest dat

if (string.IsNullOrWhiteSpace(reportHistory.CourseFilter))
{
firstCourse = "all courses";
firstCourse = "All courses";
}
else
{
Expand All @@ -422,7 +422,7 @@ public async Task UpdateDatabricksReport(int userId, DatabricksUpdateRequest dat

try
{
var notificationId = await this.notificationService.CreateReportNotificationAsync(userId, "course progress", firstCourse);
var notificationId = await this.notificationService.CreateReportNotificationAsync(userId, "Course progress", firstCourse);

if (notificationId > 0)
{
Expand All @@ -433,7 +433,7 @@ public async Task UpdateDatabricksReport(int userId, DatabricksUpdateRequest dat
new ReportSucessEmailModel
{
UserFirstName = user.FirstName,
ReportName = "course progress",
ReportName = "Course progress",
ReportTitle = firstCourse,
ReportUrl = $"{this.learningHubConfig.Value.BaseUrl.TrimEnd('/')}/{this.learningHubConfig.Value.ReportUrl.TrimStart('/')}"
});
Expand Down
Loading