Fix lint errors for the remaining notification types
This commit is contained in:
parent
2c72252591
commit
4bf977e96c
|
@ -11,7 +11,7 @@
|
||||||
.list-group
|
.list-group
|
||||||
.list-group-item
|
.list-group-item
|
||||||
%h6.notification__list-heading= t("activerecord.models.question.one")
|
%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
|
.list-group-item
|
||||||
%h6.notification__list-heading= t("activerecord.models.answer.one")
|
%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 ? "[…]" : "")
|
||||||
|
|
|
@ -15,7 +15,10 @@
|
||||||
- elsif notification.target.user == notification.target.answer.user
|
- elsif notification.target.user == notification.target.answer.user
|
||||||
= t(".heading_html",
|
= t(".heading_html",
|
||||||
user: user_screen_name(notification.target.user),
|
user: user_screen_name(notification.target.user),
|
||||||
answer: link_to(t(".passive.link_text"), answer_path(username: notification.target.user.screen_name, id: notification.target.answer.id), target: "_top"),
|
answer: link_to(t(".passive.link_text"),
|
||||||
|
answer_path(username: notification.target.user.screen_name,
|
||||||
|
id: notification.target.answer.id),
|
||||||
|
target: "_top"),
|
||||||
time: time_tooltip(notification.target))
|
time: time_tooltip(notification.target))
|
||||||
- else
|
- else
|
||||||
= t(".heading_html",
|
= t(".heading_html",
|
||||||
|
@ -29,7 +32,7 @@
|
||||||
.list-group
|
.list-group
|
||||||
.list-group-item
|
.list-group-item
|
||||||
%h6.notification__list-heading= t("activerecord.models.answer.one")
|
%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
|
.list-group-item
|
||||||
%h6.notification__list-heading= t("activerecord.models.comment.one")
|
%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 ? "[…]" : "")
|
||||||
|
|
Loading…
Reference in New Issue