2016-05-31 17:11:46 -04:00
|
|
|
%li{ id: dom_id(issue), class: issue_css_classes(issue), url: issue_path(issue), data: { labels: issue.label_ids, id: issue.id } }
|
2017-02-08 02:04:00 -05:00
|
|
|
.issue-box
|
|
|
|
- if @bulk_edit
|
|
|
|
.issue-check
|
|
|
|
= check_box_tag dom_id(issue, "selected"), nil, false, 'data-id' => issue.id, class: "selected_issue"
|
|
|
|
.issue-info-container
|
|
|
|
.issue-title.title
|
|
|
|
%span.issue-title-text
|
|
|
|
= confidential_icon(issue)
|
|
|
|
= link_to issue.title, issue_path(issue)
|
|
|
|
%ul.controls
|
|
|
|
- if issue.closed?
|
|
|
|
%li
|
|
|
|
CLOSED
|
2013-04-06 08:10:24 -04:00
|
|
|
|
2017-05-04 08:11:15 -04:00
|
|
|
- if issue.assignees.any?
|
2017-02-08 02:04:00 -05:00
|
|
|
%li
|
2017-05-04 08:11:15 -04:00
|
|
|
= render 'shared/issuable/assignees', project: @project, issue: issue
|
2015-12-08 15:43:11 -05:00
|
|
|
|
2017-01-23 15:40:25 -05:00
|
|
|
= render 'shared/issuable_meta_data', issuable: issue
|
2016-02-17 08:32:02 -05:00
|
|
|
|
2017-02-08 02:04:00 -05:00
|
|
|
.issue-info
|
|
|
|
#{issuable_reference(issue)} ·
|
|
|
|
opened #{time_ago_with_tooltip(issue.created_at, placement: 'bottom')}
|
|
|
|
by #{link_to_member(@project, issue.author, avatar: false)}
|
|
|
|
- if issue.milestone
|
|
|
|
|
|
|
|
= link_to namespace_project_issues_path(issue.project.namespace, issue.project, milestone_title: issue.milestone.title) do
|
|
|
|
= icon('clock-o')
|
|
|
|
= issue.milestone.title
|
|
|
|
- if issue.due_date
|
|
|
|
%span{ class: "#{'cred' if issue.overdue?}" }
|
|
|
|
|
|
|
|
= icon('calendar')
|
|
|
|
= issue.due_date.to_s(:medium)
|
|
|
|
- if issue.labels.any?
|
|
|
|
|
|
|
|
- issue.labels.each do |label|
|
|
|
|
= link_to_label(label, subject: issue.project, css_class: 'label-link')
|
|
|
|
- if issue.tasks?
|
2017-02-07 05:30:44 -05:00
|
|
|
|
2017-02-08 02:04:00 -05:00
|
|
|
%span.task-status
|
|
|
|
= issue.task_status
|
2014-10-05 01:53:44 -04:00
|
|
|
|
2017-02-08 02:04:00 -05:00
|
|
|
.pull-right.issue-updated-at
|
|
|
|
%span updated #{time_ago_with_tooltip(issue.updated_at, placement: 'bottom', html_class: 'issue_update_ago')}
|