diff --git a/app/views/notifications/index.html.haml b/app/views/notifications/index.html.haml index b3ff31a4..50c8d440 100644 --- a/app/views/notifications/index.html.haml +++ b/app/views/notifications/index.html.haml @@ -14,7 +14,7 @@ = user_screen_name notification.target.user %p.notification--text answered - %a{href: show_user_answer_path(username: notification.target.user.screen_name, id: notification.target.id)} + %a{href: show_user_answer_path(username: notification.target.user.screen_name, id: notification.target.id), 'data-toggle' => 'tooltip', 'data-placement' => 'top', title: "#{notification.target.content[0..40]}..."} your question = time_ago_in_words notification.target.created_at ago @@ -40,7 +40,7 @@ = user_screen_name notification.target.user %p.notification--text smiled at - %a{href: show_user_answer_path(username: notification.target.user.screen_name, id: notification.target.answer.id)} + %a{href: show_user_answer_path(username: notification.target.user.screen_name, id: notification.target.answer.id), 'data-toggle' => 'tooltip', 'data-placement' => 'top', title: "#{notification.target.answer.content[0..40]}..."} your answer = time_ago_in_words notification.target.created_at ago @@ -54,7 +54,7 @@ = user_screen_name notification.target.user %p.notification--text commented on - %a{href: show_user_answer_path(username: notification.target.user.screen_name, id: notification.target.answer.id)} + %a{href: show_user_answer_path(username: notification.target.user.screen_name, id: notification.target.answer.id), 'data-toggle' => 'tooltip', 'data-placement' => 'top', title: "#{notification.target.answer.content[0..40]}..."} your answer = time_ago_in_words notification.target.created_at ago