mirror of
https://github.com/Retrospring/retrospring.git
synced 2024-11-20 12:39:53 +01:00
Use Unicode ellipsis
This commit is contained in:
parent
0d55ff16c3
commit
2c72252591
3 changed files with 5 additions and 5 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 ? '[...]' : '')
|
||||
= 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 ? '[...]' : '')
|
||||
= markdown notification.target.content[0..60] + (notification.target.content.length > 60 ? '[…]' : '')
|
||||
|
|
|
@ -29,7 +29,7 @@
|
|||
.list-group
|
||||
.list-group-item
|
||||
%h6.notification__list-heading= t("activerecord.models.answer.one")
|
||||
= markdown notification.target.answer.content[0..60] + (notification.target.answer.content.length > 60 ? '[...]' : '')
|
||||
= markdown notification.target.answer.content[0..60] + (notification.target.answer.content.length > 60 ? '[…]' : '')
|
||||
.list-group-item
|
||||
%h6.notification__list-heading= t("activerecord.models.comment.one")
|
||||
= markdown notification.target.content[0..60] + (notification.target.content.length > 60 ? '[...]' : '')
|
||||
= markdown notification.target.content[0..60] + (notification.target.content.length > 60 ? '[…]' : '')
|
||||
|
|
|
@ -23,4 +23,4 @@
|
|||
.list-group
|
||||
.list-group-item
|
||||
%h6.notification__list-heading= t("activerecord.models.#{notification.target.parent_type.downcase}.one")
|
||||
= markdown notification.target.parent.content[0..60] + (notification.target.parent.content.length > 60 ? "[...]" : "")
|
||||
= markdown notification.target.parent.content[0..60] + (notification.target.parent.content.length > 60 ? "[…]" : "")
|
||||
|
|
Loading…
Reference in a new issue