diff options
Diffstat (limited to 'app/views/projects/merge_requests/_commits.html.haml')
-rw-r--r-- | app/views/projects/merge_requests/_commits.html.haml | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/app/views/projects/merge_requests/_commits.html.haml b/app/views/projects/merge_requests/_commits.html.haml new file mode 100644 index 00000000000..11793919ff7 --- /dev/null +++ b/app/views/projects/merge_requests/_commits.html.haml @@ -0,0 +1,8 @@ +- if @commits.empty? + .commits-empty + %h4 + There are no commits yet. + = custom_icon ('illustration_no_commits') +- else + %ol#commits-list.list-unstyled + = render "projects/commits/commits", project: @merge_request.source_project, ref: @merge_request.source_branch |