
Merge branch 'feature/notification-regex' into next
Reviewed-by: Suwon Chae
@dccbb6f78aff390ee2ab04780f926654b375f257
--- app/views/index/partial_notifications.scala.html
+++ app/views/index/partial_notifications.scala.html
... | ... | @@ -67,7 +67,7 @@ |
67 | 67 |
} |
68 | 68 |
</div> |
69 | 69 |
<div class="message-wrap nowrap" id="message-@noti.id"> |
70 |
- <div class="message">@Html(HtmlUtil.defaultSanitize(noti.getMessage.replaceAll("[^>]\n", "<br/>\n")))</div> |
|
70 |
+ <div class="message">@Html(HtmlUtil.defaultSanitize(noti.getMessage))</div> |
|
71 | 71 |
</div> |
72 | 72 |
<div class="meta"> |
73 | 73 |
@if(user != null){ |
... | ... | @@ -92,8 +92,8 @@ |
92 | 92 |
</li> |
93 | 93 |
} |
94 | 94 |
} |
95 |
-@if( NotificationEvent.findByReceiver(UserApp.currentUser, from, size).size != 0){ |
|
96 |
-<li><a href="javascript: void(0);" id="notification-more" class="ybtn">More</a></li> |
|
95 |
+@if(NotificationEvent.findByReceiver(UserApp.currentUser, from, size).size != 0) { |
|
96 |
+<li><a href="javascript:void(0);" id="notification-more" class="ybtn">More</a></li> |
|
97 | 97 |
<script type="text/javascript"> |
98 | 98 |
$(document).ready(function(){ |
99 | 99 |
function checkOverflow(el) { |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?