debian-mirror-gitlab/app/views/projects/blame/show.html.haml

24 lines
755 B
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
- page_title "Blame", @blob.path, @ref
2020-06-23 00:09:42 +05:30
- link_icon = icon("link")
2015-09-25 12:07:36 +05:30
2019-12-04 20:38:33 +05:30
#blob-content-holder.tree-holder
= render "projects/blob/breadcrumb", blob: @blob, blame: true
2017-09-10 17:25:29 +05:30
2019-12-04 20:38:33 +05:30
.file-holder
= render "projects/blob/header", blob: @blob, blame: true
.file-blame-legend
= render 'age_map_legend'
.table-responsive.file-content.blame.code.js-syntax-highlight
%table
- current_line = 1
2020-06-23 00:09:42 +05:30
- @blame.groups.each do |blame_group|
- commit_data = @blame.commit_data(blame_group[:commit])
= render 'blame_group',
blame_group: blame_group,
current_line: current_line,
link_icon: link_icon,
commit_data: commit_data
- current_line += blame_group[:lines].count