.notifications-page
  h1=t('notifications.title')
  table.table.table-hover
    - each notification in notifications
      - var glyphicon = ''
      case notification.type
        when 'reply'
          - glyphicon = 'glyphicon-comment'
        when 'topic'
          - glyphicon = 'glyphicon-exclamation-sign'
        when 'upvote'
          - glyphicon = 'glyphicon-chevron-up'
        when 'downvote'
          - glyphicon = 'glyphicon-chevron-down'
      tr(data-url=notification.url)
        td.text-center
          i.glyphicon(class=glyphicon)
        td(colspan=notification.relatedUser ? 1 : 2)
          | #{notification.text}
          p.small.ago=notification.createdAt
        - if (notification.relatedUser)
          td: img(src=notification.relatedUser.avatar)
.notifications-page
  h1=t('notifications.title')
  table.table.table-hover
    - each notification in notifications
      - var glyphicon = ''
      case notification.type
        when 'reply'
          - glyphicon = 'glyphicon-comment'
        when 'topic'
          - glyphicon = 'glyphicon-exclamation-sign'
        when 'upvote'
          - glyphicon = 'glyphicon-chevron-up'
        when 'downvote'
          - glyphicon = 'glyphicon-chevron-down'
      tr(data-url=notification.url)
        td.text-center
          i.glyphicon(class=glyphicon)
        td(colspan=notification.relatedUser ? 1 : 2)
          | #{notification.text}
          p.small.ago(data-time=notification.createdAt.toString())
        - if (notification.relatedUser)
          td: img(src=notification.relatedUser.avatar)
Fix .ago using data-time instead of innerHTML
Fix .ago using data-time instead of innerHTML
