 
       when 'rank'
         badge = div
-          className: "profile-extra-entries__icon"
-          div
-            className: "score-rank score-rank--#{event.scoreRank}"
+          className: "score-rank score-rank--#{event.scoreRank}"
 
         mappings =
           user: strong null, em null, link(event.user.url, event.user.username)


    switch event.type
      when 'achievement'
        badge = div className: 'profile-extra-entries__icon',
          el AchievementBadge,
            modifiers: ['recent-activity']
            achievement: event.achievement
            userAchievement:
              achieved_at: event.created_at
              achievement_id: event.achievement.id

        mappings =
          user:

        # unkown event
        return

    li
      className: 'profile-extra-entries__item'
      key: event.id
      div
        className: 'profile-extra-entries__detail'
        div
          className: 'profile-extra-entries__icon'
          badge ? null
        div
          className: 'profile-extra-entries__text'
          el StringWithComponent,
