Fix another issue

This commit is contained in:
Yuki 2015-06-09 09:36:09 +05:30
parent 607574cfce
commit 428bd99a63
3 changed files with 2 additions and 3 deletions

View File

@ -12,7 +12,6 @@
= 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))
= link_to "Terms of Service", terms_path
= f.submit "Sign up"
= render "devise/shared/links"

View File

@ -47,7 +47,7 @@
%h6.media-heading.notification--dropdown-user
= user_screen_name notification.target.user
.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"
.pull-left
%img.img-rounded.notification--dropdown-img{src: gravatar_url(notification.target.user)}

View File

@ -38,7 +38,7 @@
%h6.media-heading.notification--user
= user_screen_name notification.target.user
%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
%i.fa.fa-smile-o
- when "Comment"