<% title @repo.name, headline: 'Stats' %> <%= partial :header, locals: { repo: @repo } %>
  • License: <%= @stats.license %>
  • Commits: <%= @stats.commits_count %>
  • Created at: <%= time_tag @stats.created_at %>

Contributors (<%= @stats.contributors.size %>)

<% @stats.contributors.each do |contributor| %> <% end %>
Email Author Commits
<%= gravatar_image_tag contributor.first, size: 20, alt: contributor.last[:author], lazy: true %> <%= secure_mail contributor.first %> <%= contributor.last[:author] %> <%= contributor.last[:commits_count] %>
Branches (<%= @repo.branches.size %>)
Tags (<%= @repo.tags.count %>)
    <% if @repo.tags.any? %> <% @repo.tags.each_name do |tag| %> <%= h tag %> <% end %> <% else %>
  • No tags
  • <% end %>