2020-03-13 15:44:24 +05:30
|
|
|
- project = wiki_blob.project
|
2019-09-30 21:07:59 +05:30
|
|
|
- wiki_blob_link = project_wiki_path(project, wiki_blob.basename)
|
2018-11-08 19:23:39 +05:30
|
|
|
|
2021-01-29 00:20:46 +05:30
|
|
|
%div{ class: 'search-result-row gl-pb-3! gl-mt-5 gl-mb-0!' }
|
|
|
|
%span.gl-display-flex.gl-align-items-center
|
2021-11-11 11:23:49 +05:30
|
|
|
= link_to wiki_blob_link, data: { track_action: 'click_text', track_label: "wiki_title", track_property: 'search_result' }, class: 'gl-w-full' do
|
2021-01-29 00:20:46 +05:30
|
|
|
%span.term.str-truncated.gl-font-weight-bold= ::Gitlab::Git::Wiki::GollumSlug.canonicalize_filename(wiki_blob.path)
|
|
|
|
.description.term.col-sm-10.gl-px-0
|
|
|
|
= simple_search_highlight_and_truncate(wiki_blob.data, @search_term)
|