summaryrefslogtreecommitdiff
path: root/app/views/search/results/_issue.html.haml
blob: 796782035f2ef691c44de263f0aa3558ce1219a6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
.search-result-row
  %h4
    = confidential_icon(issue)
    = link_to [issue.project.namespace.becomes(Namespace), issue.project, issue] do
      %span.term.str-truncated= issue.title
    - if issue.closed?
      %span.badge.badge-danger.prepend-left-5= _("Closed")
    .float-right ##{issue.iid}
  - if issue.description.present?
    .description.term
      = search_md_sanitize(issue, :description)
  %span.light
    #{issue.project.full_name}