Fix another issue
This commit is contained in:
parent
607574cfce
commit
428bd99a63
|
@ -12,7 +12,6 @@
|
||||||
= f.password_field :password_confirmation, autocomplete: "off", label: t('views.settings.account.password_confirm')
|
= f.password_field :password_confirmation, autocomplete: "off", label: t('views.settings.account.password_confirm')
|
||||||
|
|
||||||
%p= raw t('views.sessions.info', terms: link_to(t('views.general.terms'), terms_path))
|
%p= raw t('views.sessions.info', terms: link_to(t('views.general.terms'), terms_path))
|
||||||
= link_to "Terms of Service", terms_path
|
|
||||||
= f.submit "Sign up"
|
= f.submit "Sign up"
|
||||||
|
|
||||||
= render "devise/shared/links"
|
= render "devise/shared/links"
|
||||||
|
|
|
@ -47,7 +47,7 @@
|
||||||
%h6.media-heading.notification--dropdown-user
|
%h6.media-heading.notification--dropdown-user
|
||||||
= user_screen_name notification.target.user
|
= user_screen_name notification.target.user
|
||||||
.notification--dropdown-text
|
.notification--dropdown-text
|
||||||
= raw t('views.notifications.smile.body', content: link_to(t('views.notifications.smile.comment'), show_user_answer_path(username: notification.target.user.screen_name, id: notification.target.answer.id)), time: time_ago_in_words(notification.target.created_at))
|
= raw t('views.notifications.smile.body', content: link_to(t('views.notifications.smile.comment'), show_user_answer_path(username: notification.target.user.screen_name, id: notification.target.comment.answer.id)), time: time_ago_in_words(notification.target.created_at))
|
||||||
- when "Comment"
|
- when "Comment"
|
||||||
.pull-left
|
.pull-left
|
||||||
%img.img-rounded.notification--dropdown-img{src: gravatar_url(notification.target.user)}
|
%img.img-rounded.notification--dropdown-img{src: gravatar_url(notification.target.user)}
|
||||||
|
|
|
@ -38,7 +38,7 @@
|
||||||
%h6.media-heading.notification--user
|
%h6.media-heading.notification--user
|
||||||
= user_screen_name notification.target.user
|
= user_screen_name notification.target.user
|
||||||
%p.notification--text
|
%p.notification--text
|
||||||
= raw t('views.notifications.smile.body', content: link_to(t('views.notifications.smile.comment'), show_user_answer_path(username: notification.target.user.screen_name, id: notification.target.answer.id)), time: time_tooltip(notification.target))
|
= raw t('views.notifications.smile.body', content: link_to(t('views.notifications.smile.comment'), show_user_answer_path(username: notification.target.user.screen_name, id: notification.target.comment.answer.id)), time: time_tooltip(notification.target))
|
||||||
.notification--icon
|
.notification--icon
|
||||||
%i.fa.fa-smile-o
|
%i.fa.fa-smile-o
|
||||||
- when "Comment"
|
- when "Comment"
|
||||||
|
|
Loading…
Reference in New Issue