Move labels of search results from bottom to title (!10705)
This commit is contained in:
parent
344a2619bb
commit
35e260b9d1
3 changed files with 10 additions and 8 deletions
|
@ -3,6 +3,8 @@
|
|||
= confidential_icon(issue)
|
||||
= link_to [issue.project.namespace.becomes(Namespace), issue.project, issue] do
|
||||
%span.term.str-truncated= issue.title
|
||||
- if issue.closed?
|
||||
%span.label.label-danger.prepend-left-5 Closed
|
||||
.pull-right ##{issue.iid}
|
||||
- if issue.description.present?
|
||||
.description.term
|
||||
|
@ -10,6 +12,3 @@
|
|||
= search_md_sanitize(issue, :description)
|
||||
%span.light
|
||||
#{issue.project.name_with_namespace}
|
||||
- if issue.closed?
|
||||
.pull-right
|
||||
%span.label.label-danger Closed
|
||||
|
|
|
@ -2,6 +2,10 @@
|
|||
%h4
|
||||
= link_to [merge_request.target_project.namespace.becomes(Namespace), merge_request.target_project, merge_request] do
|
||||
%span.term.str-truncated= merge_request.title
|
||||
- if merge_request.merged?
|
||||
%span.label.label-primary.prepend-left-5 Merged
|
||||
- elsif merge_request.closed?
|
||||
%span.label.label-danger.prepend-left-5 Closed
|
||||
.pull-right= merge_request.to_reference
|
||||
- if merge_request.description.present?
|
||||
.description.term
|
||||
|
@ -9,8 +13,3 @@
|
|||
= search_md_sanitize(merge_request, :description)
|
||||
%span.light
|
||||
#{merge_request.project.name_with_namespace}
|
||||
.pull-right
|
||||
- if merge_request.merged?
|
||||
%span.label.label-primary Merged
|
||||
- elsif merge_request.closed?
|
||||
%span.label.label-danger Closed
|
||||
|
|
4
changelogs/unreleased/move-search-labels.yml
Normal file
4
changelogs/unreleased/move-search-labels.yml
Normal file
|
@ -0,0 +1,4 @@
|
|||
---
|
||||
title: Move labels of search results from bottom to title
|
||||
merge_request: 10705
|
||||
author: dr
|
Loading…
Reference in a new issue