.container
  .platforms
    - @platforms.each do |platform|
      .platform
        h3
          = link_to platform.name, platform_path(platform)
        div
          .info
            span Last Activity
            div
              = timeago_tag platform.traces.order(:created_at).last.created_at
          .info
            span Applications
            div
              = platform.applications.count

.container
  .platforms
    - @platforms.each do |platform|
      .platform
        h3
          = link_to platform.name, platform_path(platform)
        div
          .info
            span Last Activity
            div
              - if platform.traces.any?
                = timeago_tag platform.traces.order(:created_at).last.created_at
              - else
                span None
          .info
            span Applications
            div
              = platform.applications.count

Fix index view when no traces exist
Fix index view when no traces exist

jgraichen/mnemosyne-server,jgraichen/mnemosyne-server,jgraichen/mnemosyne-server