- commits, hidden = limited_commits(@commits, @project) - commits = Commit.decorate(commits, @project) %div.panel.panel-default .panel-heading Commits (#{@commits.count}) - if hidden > 0 %ul.well-list - commits.each do |commit| = render "projects/commits/inline_commit", commit: commit, project: @project %li.warning-row.unstyled other #{hidden} commits hidden to prevent performance issues. - else %ul.well-list= render commits, project: @project