mirror of
https://github.com/wahyd4/gitlabhq.git
synced 2026-08-23 11:36:09 +10:00
22 lines
764 B
Plaintext
22 lines
764 B
Plaintext
%li{class: "task task-#{task.done? ? 'done' : 'pending'}", id: dom_id(task) }
|
|
.task-item{class: "#{task.body? ? 'task-block' : 'task-inline' }"}
|
|
= image_tag avatar_icon(task.author_email, 40), class: "avatar s40", alt:''
|
|
|
|
.task-title
|
|
%span.author_name= link_to_author task
|
|
%span.task_label{class: task.action_name}
|
|
= task_action_name(task)
|
|
|
|
%strong= link_to "##{task.target_iid}", [task.project.namespace.becomes(Namespace), task.project, task.target]
|
|
|
|
· #{time_ago_with_tooltip(task.created_at)}
|
|
|
|
- if task.pending?
|
|
.task-actions.pull-right
|
|
= link_to 'Done', [:dashboard, task], method: :delete, class: 'btn'
|
|
|
|
- if task.body?
|
|
.task-body
|
|
.task-note
|
|
= task.target.title
|