Commit e710a2d7 authored by Phil Hughes's avatar Phil Hughes

Merge branch '10443-ee-diff-commits-commit' into 'master'

Move EE differences for `app/views/projects/commits/_commit.html.haml`

Closes #10443

See merge request gitlab-org/gitlab-ee!13097
parents 7521ec8d 847c55c4
......@@ -10,7 +10,6 @@
- link = commit_path(project, commit, merge_request: merge_request)
-# EE-only
- show_project_name = local_assigns.fetch(:show_project_name, false)
%li.commit.flex-row.js-toggle-container{ id: "commit-#{commit.short_id}" }
......@@ -36,9 +35,7 @@
- commit_timeago = time_ago_with_tooltip(commit.authored_date, placement: 'bottom')
- commit_text = _('%{commit_author_link} authored %{commit_timeago}') % { commit_author_link: commit_author_link, commit_timeago: commit_timeago }
#{ commit_text.html_safe }
- if show_project_name
%span.project-namespace
= project.full_name
= render_if_exists 'projects/commits/project_namespace', show_project_name: show_project_name, project: project
- if commit.description?
%pre.commit-row-description.js-toggle-content.append-bottom-8
......
- if show_project_name
%span.project-namespace
= project.full_name
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