_issue.html.haml 781 字节
Newer Older
1 2 3
-# @project is present when viewing Project's milestone
- project = @project || issue.project

4
%li{ id: dom_id(issue, 'sortable'), class: 'issue-row', 'data-iid' => issue.iid, 'data-url' => issue_path(issue) }
5
  %span
6 7 8 9
    - if show_project_name
      %strong #{project.name} ·
    - elsif show_full_project_name
      %strong #{project.name_with_namespace} ·
10
    = link_to_gfm issue.title, [project.namespace.becomes(Namespace), project, issue], title: issue.title
11
  .issue-detail
12
    = link_to [project.namespace.becomes(Namespace), project, issue] do
13
      %span.issue-number ##{issue.iid}
R
Rubén Dávila 已提交
14 15
    - issue.labels.each do |label|
      = render_colored_label(label)
16
    - if issue.assignee
R
Rubén Dávila 已提交
17
      = image_tag avatar_icon(issue.assignee, 16), class: "avatar s24", alt: ''