debian-mirror-gitlab/app/views/search/results/_blob.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

9 lines
463 B
Text
Raw Normal View History

2020-03-13 15:44:24 +05:30
- project = blob.project
2018-11-20 20:47:30 +05:30
- return unless project
2023-05-27 22:25:52 +05:30
- project_repository_ref = repository_ref(project) || ''
- blob_path = blob.path || ''
- blob_link = project_blob_path(project, tree_join(project_repository_ref, blob_path))
- blame_link = project_blame_path(project, tree_join(project_repository_ref, blob_path))
2018-11-08 19:23:39 +05:30
2023-05-27 22:25:52 +05:30
= render partial: 'search/results/blob_data', locals: { blob: blob, project: project, path: blob_path, blob_link: blob_link, blame_link: blame_link }