2012-02-23 14:48:31 +00:00
|
|
|
%tr#row1{:name => "row", :class => issue.labels.map(&:name).compact}
|
2012-02-20 16:54:45 +00:00
|
|
|
%td.td0
|
|
|
|
%span{:style => "display: none;"}=issue.serial_id
|
|
|
|
%td.td1=issue.serial_id
|
|
|
|
%td
|
2012-04-19 20:45:50 +01:00
|
|
|
%a{:href => project_issue_path(@project, issue)}
|
2012-02-29 18:33:01 +00:00
|
|
|
%div.issue_title=issue.title
|
2012-02-20 16:54:45 +00:00
|
|
|
.smalltext
|
|
|
|
=issue.created_at.to_s(:long)
|
2012-04-13 20:44:04 +01:00
|
|
|
=t("layout.by") if issue.user
|
|
|
|
=link_to(issue.user.uname, user_path(issue.user)) if issue.user
|
2012-03-23 13:31:51 +00:00
|
|
|
-issue.labels.each do |label|
|
|
|
|
.left.nomargin
|
|
|
|
.label.selected.tracker.left
|
2012-02-23 14:48:31 +00:00
|
|
|
.labeltext.selected{:style => "background: ##{label.color};"}=label.name
|
2012-02-20 16:54:45 +00:00
|
|
|
%td.td3
|
|
|
|
.avatar
|
2012-04-13 20:44:04 +01:00
|
|
|
=link_to image_tag(avatar_url(issue.assignee), :alt => 'avatar'), user_path(issue.assignee) if issue.assignee
|
2012-02-20 16:54:45 +00:00
|
|
|
%a{:href => "#{project_issue_path @project, issue}#block-list"}
|
|
|
|
.answers
|
2012-03-01 17:33:46 +00:00
|
|
|
.pic= image_tag 'answers.png'
|
2012-02-20 16:54:45 +00:00
|
|
|
.count=issue.comments.count
|
2012-03-03 18:05:02 +00:00
|
|
|
.both
|