diff options
Diffstat (limited to 'app/views/search/results/_issuable.html.haml')
-rw-r--r-- | app/views/search/results/_issuable.html.haml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/views/search/results/_issuable.html.haml b/app/views/search/results/_issuable.html.haml index 188ead4008e..a896cbc5cba 100644 --- a/app/views/search/results/_issuable.html.haml +++ b/app/views/search/results/_issuable.html.haml @@ -1,4 +1,4 @@ -%div{ class: 'search-result-row gl-display-flex gl-sm-flex-direction-row gl-flex-direction-column gl-align-items-center gl-pb-3! gl-mt-5 gl-mb-0!' } +%div{ class: 'search-result-row gl-display-flex gl-sm-flex-direction-row gl-flex-direction-column gl-align-items-center gl-pb-5! gl-mt-5 gl-mb-0!' } .col-sm-9 %span.gl-display-flex.gl-align-items-center = gl_badge_tag issuable_state_text(issuable), variant: issuable_state_to_badge_class(issuable), size: :sm @@ -11,6 +11,11 @@ = sprintf(s_('created %{issuable_created} by %{author}'), { issuable_created: time_ago_with_tooltip(issuable.created_at, placement: 'bottom'), author: link_to_member(@project, issuable.author, avatar: false) }).html_safe .description.term.gl-px-0 = highlight_and_truncate_issuable(issuable, @search_term, @search_highlight) + - if issuable.labels.any? + .gl-mt-3 + - presented_labels_sorted_by_title(issuable.labels, issuable.project).each do |label| + = link_to_label(label, small: true) + .col-sm-3.gl-mt-3.gl-sm-mt-0.gl-text-right - if issuable.respond_to?(:upvotes_count) && issuable.upvotes_count > 0 %li.gl-list-style-none |