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-02-29 18:23:19 +00:00
|
|
|
%a{:href => project_issue_path(@project.id, issue.serial_id)}
|
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-03-05 18:28:55 +00:00
|
|
|
=t("layout.by") if issue.creator
|
2012-02-20 16:54:45 +00:00
|
|
|
=link_to(issue.creator.uname, user_path(issue.creator)) if issue.creator
|
|
|
|
.label.selected.tracker
|
2012-02-23 14:48:31 +00:00
|
|
|
-issue.labels.each do |label|
|
|
|
|
.labeltext.selected{:style => "background: ##{label.color};"}=label.name
|
2012-02-20 16:54:45 +00:00
|
|
|
.both
|
|
|
|
%td.td3
|
|
|
|
.avatar
|
2012-03-06 18:59:29 +00:00
|
|
|
=link_to image_tag(avatar_url(issue.user), :alt => 'avatar'), user_path(issue.user) if issue.user
|
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
|