debian-mirror-gitlab/app/views/projects/commits/_commit_list.html.haml

16 lines
532 B
Text
Raw Normal View History

2018-11-20 20:47:30 +05:30
- commits = @commits
- hidden = @hidden_commit_count
2016-06-02 11:05:42 +05:30
- commits = Commit.decorate(commits, @project)
2018-11-08 19:23:39 +05:30
.card
.card-header
2018-11-20 20:47:30 +05:30
Commits (#{@total_commit_count})
2016-06-02 11:05:42 +05:30
- if hidden > 0
%ul.content-list
- commits.each do |commit|
2015-04-26 12:48:37 +05:30
= render "projects/commits/inline_commit", commit: commit, project: @project
%li.warning-row.unstyled
2016-06-02 11:05:42 +05:30
#{number_with_delimiter(hidden)} additional commits have been omitted to prevent performance issues.
2015-04-26 12:48:37 +05:30
- else
2016-11-24 13:41:30 +05:30
%ul.content-list= render commits, project: @project, ref: @ref