Skip to content
Open
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
6 changes: 5 additions & 1 deletion DigitalLearningSolutions.Web/Services/NotificationService.cs
Original file line number Diff line number Diff line change
Expand Up @@ -159,7 +159,11 @@ int numLearningLogItemsAffected
" Note: This message has been copied to the administrator(s) managing this activity, for their information.";
}

const string emailSubjectLine = "Digital Learning Solutions Activity Complete";
string courseName = progressCompletionData.CourseName.Length > 30
? progressCompletionData.CourseName.Substring(0, 30)
: progressCompletionData.CourseName;

string emailSubjectLine = $"Digital Learning Solutions Activity Complete - {courseName}";
var delegateNameOrGenericTitle = progress.DelegateFirstName ?? "Digital Learning Solutions Delegate";
var emailsToCc = GetEmailsToCc(
progressCompletionData.AdminId,
Expand Down
Loading