gitlab-org--gitlab-foss/app/views/search/results/_wiki_blob.html.haml

11 lines
363 B
Text
Raw Normal View History

2016-09-14 06:29:23 -04:00
- wiki_blob = parse_search_result(wiki_blob)
2014-09-05 06:33:05 -04:00
.blob-result
.file-holder
2017-02-05 17:28:48 -05:00
.js-file-title.file-title
= link_to project_wiki_path(@project, wiki_blob.basename) do
2014-10-01 18:21:29 -04:00
%i.fa.fa-file
2014-09-05 06:33:05 -04:00
%strong
= wiki_blob.basename
2014-09-05 06:33:05 -04:00
.file-content.code.term
= render 'shared/file_highlight', blob: wiki_blob, first_line_number: wiki_blob.startline