render notification message as markdown

This commit is contained in:
Girish Ramakrishnan
2019-02-10 23:03:52 -08:00
parent e6f49b2d3b
commit 82c5531d04

View File

@@ -25,7 +25,7 @@
<div uib-collapse="notification.isCollapsed" expanding="notificationExpanding(notification)">
<br/>
<p ng-hide="notification.messageJson">{{ notification.message }}</p>
<p ng-hide="notification.messageJson" ng-bind-html="notification.message | markdown2html"></p>
<pre ng-show="notification.messageJson" ng-click="$event.stopPropagation();" style="cursor: auto">{{ notification.messageJson | json }}</pre>
<br/>
<h2 ng-show="notification.eventId && notification.busyLoadEvent" class="text-center"><i class="fa fa-circle-notch fa-spin"></i></h2>