summaryrefslogtreecommitdiff
path: root/app/views/search/results/_issue.html.haml
blob: 9534e031f14d4c6781d1fcd010d68ce9a0ca23e9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
.search-result-row
  %h4
    = confidential_icon(issue)
    = link_to [issue.project.namespace.becomes(Namespace), issue.project, issue] do
      %span.term.str-truncated= issue.title
    .pull-right ##{issue.iid}
  - if issue.description.present?
    .description.term
      = preserve do
        = search_md_sanitize(markdown(issue.description, { project: issue.project }))
  %span.light
    #{issue.project.name_with_namespace}
  - if issue.closed?
    .pull-right
      %span.label.label-danger 已关闭