- activity = notification.activity
- video = activity.object

= div_for(notification) do
  // TODO: Display user image here.
  - user_link = link_to_user(activity.actor)
  // TODO: Enable video_link when routes are fixed
  // - video_link = link_to video.title, course_video_path(notification.course, video)
  - video_link = video.title
  => t('.attempted_video_html', user: user_link, video: video_link)
  i.clearfix.timestamp = format_datetime(activity.created_at)

- activity = notification.activity
- video = activity.object

= div_for(notification) do
  // TODO: Display user image here.
  - user_link = link_to_user(activity.actor)
  - video_link = link_to(video.title,
                         course_video_path(notification.course, video))
  => t('.attempted_video_html', user: user_link, video: video_link)
  i.clearfix.timestamp = format_datetime(activity.created_at)

Add link to feed message
Add link to feed message

Signed-off-by: Shen Yichen <be3bb257ef8d73236feaba36cd3e5ee9095e6819@gmail.com>

Coursemology/coursemology2,Coursemology/coursemology2,cysjonathan/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2,cysjonathan/coursemology2,cysjonathan/coursemology2,Coursemology/coursemology2,Coursemology/coursemology2