File tree Expand file tree Collapse file tree 1 file changed +5
-1
lines changed
DigitalLearningSolutions.Web/Services Expand file tree Collapse file tree 1 file changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -159,7 +159,11 @@ int numLearningLogItemsAffected
159159 " Note: This message has been copied to the administrator(s) managing this activity, for their information." ;
160160 }
161161
162- const string emailSubjectLine = "Digital Learning Solutions Activity Complete" ;
162+ string courseName = progressCompletionData . CourseName . Length > 30
163+ ? progressCompletionData . CourseName . Substring ( 0 , 30 )
164+ : progressCompletionData . CourseName ;
165+
166+ string emailSubjectLine = $ "Digital Learning Solutions Activity Complete - { courseName } ";
163167 var delegateNameOrGenericTitle = progress . DelegateFirstName ?? "Digital Learning Solutions Delegate" ;
164168 var emailsToCc = GetEmailsToCc (
165169 progressCompletionData . AdminId ,
You can’t perform that action at this time.
0 commit comments