gitlab-org--gitlab-foss/app/views/search/results/_blob_data.html.haml
Tomislav Nikic 7906503d97 Getting on par with EE
This commit covers all the files that where changed in the
identically named branch on EE that is creating an elasticsearch
test case.
2019-07-30 08:04:26 +00:00

10 lines
453 B
Text

.blob-result{ data: { qa_selector: 'result_item_content' } }
.file-holder
.js-file-title.file-title{ data: { qa_selector: 'file_title_content' } }
= link_to blob_link do
%i.fa.fa-file
%strong
= search_blob_title(project, file_name)
- if blob.data
.file-content.code.term{ data: { qa_selector: 'file_text_content' } }
= render 'shared/file_highlight', blob: blob, first_line_number: blob.startline