summaryrefslogtreecommitdiff
path: root/app/views/search/results/_issue.html.haml
blob: 1f055cdfa31fc67743212e9ec72bac42a217e326 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
.search-result-row
  %h4
    = confidential_icon(issue)
    = link_to namespace_project_issue_path(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}