Commit b55a0519 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Pass source project variable to commits list on MR page

parent 842f9e03
...@@ -7,5 +7,5 @@ ...@@ -7,5 +7,5 @@
%p= pluralize(commits.count, 'commit') %p= pluralize(commits.count, 'commit')
.col-md-10 .col-md-10
%ul.bordered-list %ul.bordered-list
= render commits, project: @project = render commits, project: project
%hr.lists-separator %hr.lists-separator
...@@ -13,7 +13,7 @@ ...@@ -13,7 +13,7 @@
= commits_breadcrumbs = commits_breadcrumbs
%div{id: dom_id(@project)} %div{id: dom_id(@project)}
#commits-list= render "commits" #commits-list= render "commits", project: @project
.clear .clear
= spinner = spinner
......
...@@ -94,7 +94,7 @@ ...@@ -94,7 +94,7 @@
%span.badge= @diffs.size %span.badge= @diffs.size
.commits.tab-content .commits.tab-content
= render "projects/commits/commits" = render "projects/commits/commits", project: @project
.diffs.tab-content .diffs.tab-content
- if @diffs.present? - if @diffs.present?
= render "projects/diffs/diffs", diffs: @diffs, project: @project = render "projects/diffs/diffs", diffs: @diffs, project: @project
......
= render "projects/commits/commits" = render "projects/commits/commits", project: @merge_request.source_project
\ No newline at end of file
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment