mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-11 13:46:11 +10:00
12 lines
556 B
Plaintext
12 lines
556 B
Plaintext
%div.panel.panel-default
|
|
.panel-heading
|
|
Commits (#{@commits.count})
|
|
- if @commits.size > MergeRequestDiff::COMMITS_SAFE_SIZE
|
|
%ul.well-list
|
|
- Commit.decorate(@commits.first(MergeRequestDiff::COMMITS_SAFE_SIZE)).each do |commit|
|
|
= render "projects/commits/inline_commit", commit: commit, project: @project
|
|
%li.warning-row.unstyled
|
|
other #{@commits.size - MergeRequestDiff::COMMITS_SAFE_SIZE} commits hidden to prevent performance issues.
|
|
- else
|
|
%ul.well-list= render Commit.decorate(@commits), project: @project
|