diff options
author | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-01-07 21:58:25 +0000 |
---|---|---|
committer | Luke "Jared" Bennett <lbennett@gitlab.com> | 2017-01-14 14:25:37 +0000 |
commit | c1dd08e17bd1010e48b8f12e663a7c859b698b7b (patch) | |
tree | cd8fe78aee2fce8e79e60a7c2e1fd2e90ad061d8 /app/views/projects/diffs | |
parent | bf8e174f0ae21b320c17b5a8f8d45aefcfef9520 (diff) | |
download | gitlab-ce-c1dd08e17bd1010e48b8f12e663a7c859b698b7b.tar.gz |
fixed commit diff linking and added specsfix/diff-title
Diffstat (limited to 'app/views/projects/diffs')
-rw-r--r-- | app/views/projects/diffs/_file.html.haml | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/projects/diffs/_file.html.haml b/app/views/projects/diffs/_file.html.haml index 15df2edefc7..c37a33bbcd5 100644 --- a/app/views/projects/diffs/_file.html.haml +++ b/app/views/projects/diffs/_file.html.haml @@ -1,5 +1,5 @@ .diff-file.file-holder{ id: file_hash, data: diff_file_html_data(project, diff_file.file_path, diff_commit.id) } - .file-title{ id: "file-path-#{hexdigest(diff_file.file_path)}" } + .file-title = render "projects/diffs/file_header", diff_file: diff_file, blob: blob, diff_commit: diff_commit, project: project, url: "##{file_hash}" - unless diff_file.submodule? |