summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNatalia Tepluhina <tarya.se@gmail.com>2019-05-19 20:41:01 +0300
committerNatalia Tepluhina <tarya.se@gmail.com>2019-05-19 20:41:01 +0300
commit2867c5f9e9ccf7e356753902240e52295d98288a (patch)
tree5f3ff88fd99e3f7b3908a607a57c9a394bc5c6ca
parentcddf9b875a25814e20f3209f04c00c95847f38c2 (diff)
downloadgitlab-ce-10444-ee-diff-commits-show.tar.gz
Added render_if_exists EE part10444-ee-diff-commits-show
-rw-r--r--app/views/projects/commits/show.html.haml2
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/commits/show.html.haml b/app/views/projects/commits/show.html.haml
index 9d254463fb6..2db1efdd52f 100644
--- a/app/views/projects/commits/show.html.haml
+++ b/app/views/projects/commits/show.html.haml
@@ -30,6 +30,8 @@
= link_to project_commits_path(@project, @ref, rss_url_options), title: _("Commits feed"), class: 'btn' do
= icon("rss")
+ = render_if_exists 'projects/commits/mirror_status'
+
%div{ id: dom_id(@project) }
%ol#commits-list.list-unstyled.content_list
= render 'commits', project: @project, ref: @ref