mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 10:09:53 +01:00
use question_markdown
helper for questions in notifications
This commit is contained in:
parent
950443bbb8
commit
d1ac420303
1 changed files with 1 additions and 1 deletions
|
@ -11,7 +11,7 @@
|
|||
.list-group
|
||||
.list-group-item
|
||||
%h6.notification__list-heading= t("activerecord.models.question.one")
|
||||
= markdown notification.target.question.content[0..60] + (notification.target.question.content.length > 60 ? "[…]" : "")
|
||||
= question_markdown notification.target.question.content[0..60] + (notification.target.question.content.length > 60 ? "[…]" : "")
|
||||
.list-group-item
|
||||
%h6.notification__list-heading= t("activerecord.models.answer.one")
|
||||
= markdown notification.target.content[0..60] + (notification.target.content.length > 60 ? "[…]" : "")
|
||||
|
|
Loading…
Reference in a new issue