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

11 lines
379 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
.file-title
= link_to namespace_project_wiki_path(@project.namespace, @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