Is it possibile add HTML code in a user notfication (es. a link to download a file)?
3 Answer(s)
-
0
Hi @andmattia,
Are you using Angular or JQuery version ? For MVC, you can do it here https://github.com/aspnetzero/aspnet-zero-core/blob/dev/aspnet-core/src/MyCompanyName.AbpZeroTemplate.Web.Mvc/wwwroot/Common/Scripts/appUserNotificationHelper.js#L22
Angular version has a similar file, you can find it in the source code. Basically, when you return a valid url in this function, it will be the click url of the notification and when user clicks a notification, user will be redirected to that url.
-
0
Hi @ismcagdas
sorry I forget to add the framework used. ASPNETZERO AngualrJS. It try to look your suggestion and I uppdate you.
Thanks
-
0
Hi @andmattia
Please re-open if you haven't solved the problem.