- page_title "Blame", @blob.path, @ref %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 - current_line = 1 - @blame.each do |raw_commit, line| %tr %td.blame-commit .commit - unless @prev_commit && @prev_commit.sha == raw_commit.sha - commit = Commit.new(raw_commit, @project) .commit-row-title %strong = link_to_gfm truncate(commit.title, length: 35), namespace_project_commit_path(@project.namespace, @project, commit.id), class: "cdark" .pull-right = link_to commit.short_id, namespace_project_commit_path(@project.namespace, @project, commit), class: "monospace"   .light = commit_author_link(commit, avatar: false) authored #{time_ago_with_tooltip(commit.committed_date)} - @prev_commit = raw_commit %td.lines.blame-numbers %pre = current_line - current_line += 1 %td.lines %pre{class: 'code highlight white'} %code :erb <%= highlight(@blob.name, line, nowrap: true, continue: true).html_safe %>