diff options
Diffstat (limited to 'app/views/projects/blame')
-rw-r--r-- | app/views/projects/blame/show.html.haml | 35 |
1 files changed, 0 insertions, 35 deletions
diff --git a/app/views/projects/blame/show.html.haml b/app/views/projects/blame/show.html.haml deleted file mode 100644 index e6a859fea8f..00000000000 --- a/app/views/projects/blame/show.html.haml +++ /dev/null @@ -1,35 +0,0 @@ -%h3.page-title Blame view - -#tree-holder.tree-holder - .file-holder - .file-title - %i.fa.fa-file - %strong - = @path - %small= number_to_human_size @blob.size - .file-actions - = render "projects/blob/actions" - .file-content.blame.highlight - %table - - @blame.each do |commit, lines, since| - - commit = Commit.new(commit) - %tr - %td.blame-commit - %span.commit - = link_to commit.short_id, namespace_project_commit_path(@project.namespace, @project, commit), class: "commit_short_id" - - = commit_author_link(commit, avatar: true, size: 16) - - = link_to_gfm truncate(commit.title, length: 20), namespace_project_commit_path(@project.namespace, @project, commit.id), class: "row_title" - %td.lines.blame-numbers - %pre - - (since...(since + lines.count)).each do |i| - = i - \ - %td.lines - %pre{class: 'code highlight white'} - %code - :erb - <% lines.each do |line| %> - <%= highlight(@blob.name, line, true).html_safe %> - <% end %> |