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

11 lines
399 B
Text
Raw Normal View History

2015-09-11 14:41:01 +05:30
- wiki_blob = @project.repository.parse_search_result(wiki_blob)
2015-04-26 12:48:37 +05:30
.blob-result
.file-holder
.file-title
2016-06-02 11:05:42 +05:30
= link_to namespace_project_wiki_path(@project.namespace, @project, wiki_blob.basename) do
2015-04-26 12:48:37 +05:30
%i.fa.fa-file
%strong
2016-06-02 11:05:42 +05:30
= wiki_blob.basename
2015-04-26 12:48:37 +05:30
.file-content.code.term
2015-09-25 12:07:36 +05:30
= render 'shared/file_highlight', blob: wiki_blob, first_line_number: wiki_blob.startline