diff options
Diffstat (limited to 'app/views/search/results/_note.html.haml')
-rw-r--r-- | app/views/search/results/_note.html.haml | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/app/views/search/results/_note.html.haml b/app/views/search/results/_note.html.haml deleted file mode 100644 index 5fcba2b7e93..00000000000 --- a/app/views/search/results/_note.html.haml +++ /dev/null @@ -1,26 +0,0 @@ -- project = note.project -.search-result-row - %h5.note-search-caption.str-truncated - %i.fa.fa-comment - = link_to_member(project, note.author, avatar: false) - commented on - - - if note.for_commit? - = link_to project do - = project.name_with_namespace - · - = link_to namespace_project_commit_path(project.namespace, project, note.commit_id, anchor: dom_id(note)) do - Commit #{truncate_sha(note.commit_id)} - - else - = link_to project do - = project.name_with_namespace - · - %span #{note.noteable_type.titleize} ##{note.noteable.iid} - · - = link_to [project.namespace.becomes(Namespace), project, note.noteable, anchor: dom_id(note)] do - = note.noteable.title - - .note-search-result - .term - = preserve do - = search_md_sanitize(markdown(note.note, {no_header_anchors: true})) |