Hi,
My notification is
@foreach (SLEmailMessage x in Model.Notifications)
{
@:var subject = '@x.Subject';
@:var body = '@x.Body';
@: notification.show({ title: subject, message: body }, "upload-success");
}
});
In my controller
Where @x.Body = "Building = 101" + Environment.NewLine +
"Manager Name: " + "Ali Baba";
The Environment.NewLine is causing an error. How to add a "end on line" in the notification?
I tried to replace the "end on line" by the <br> tag within a paragraph and it dit not work
A quick answer will be greatly appreciated