Skip to content

Commit 06f29ec

Browse files
committed
Minor changes to make the email look better.
1 parent c0b95a5 commit 06f29ec

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

eFormAPI/Plugins/Workflow.Pn/Workflow.Pn/Services/WorkflowCasesService/WorkflowCasesService.cs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -952,13 +952,13 @@ public async Task GenerateReportAndSendEmail(int languageId, string userName, Wo
952952
.Replace("{{Type}}", workflowCase.IncidentType)
953953
.Replace("{{Location}}", workflowCase.IncidentPlace)
954954
.Replace("{{Description}}", workflowCase.Description.Replace("&", "&"))
955-
.Replace("<p>Ansvarlig: {{SolvedBy}}</p>", solvedBy)
956-
.Replace("<p>Handlingsplan: {{ActionPlan}}</p>", "");
955+
.Replace("{{SolvedBy}}", solvedBy)
956+
.Replace("{{ActionPlan}}", "");
957957

958958
await SendFileAsync(
959959
960960
userName,
961-
$"{workflowCase.IncidentType}; {workflowCase.IncidentPlace}; {workflowCase.CreatedAt:dd-MM-yyyy}",
961+
$"Opfølgning: {workflowCase.IncidentType}; {workflowCase.IncidentPlace}; {workflowCase.CreatedAt:dd-MM-yyyy}",
962962
emailRecipient?.Email,
963963
filePath,
964964
null,

0 commit comments

Comments
 (0)