<% case checkpoint.kind.to_sym %>
<% when :comment %>
💬
<% when :checkin %>
📬
<% when :checkout %>
ðŸ“
<% else %>
<%# Should never happen. %>
<% end %>
<%= checkpoint.kind %>
<% if checkpoint.save_file.attached? %>
<%= link_to "Download save file", rails_blob_path(checkpoint.save_file, disposition: "attachment") %>
<% end %>
<%= time_ago_in_words(checkpoint.created_at) %> ago by
<%= link_to checkpoint.user.name || "???", user_path(checkpoint.user) %>
@ <%= checkpoint.created_at %>