diff options
Diffstat (limited to 'app/views/search/results/_note.html.haml')
-rw-r--r-- | app/views/search/results/_note.html.haml | 9 |
1 files changed, 7 insertions, 2 deletions
diff --git a/app/views/search/results/_note.html.haml b/app/views/search/results/_note.html.haml index a83b003a516..d88b7b32ed6 100644 --- a/app/views/search/results/_note.html.haml +++ b/app/views/search/results/_note.html.haml @@ -18,8 +18,13 @@ - else %span #{note.noteable_type.titleize} ##{noteable_identifier} · - = link_to note.noteable.title, note_url + = link_to note.noteable.title, note_url, data: {track_event: 'click_text', track_label: 'noteable_title', track_property: 'search_result'} + + %span.note-headline-light.note-headline-meta + %span.system-note-separator + · + %span.system-note-separator= time_ago_with_tooltip(note.created_at, placement: 'bottom', html_class: 'note-created-ago') .note-search-result .term - = search_md_sanitize(note, :note) + = search_md_sanitize(note.note) |