rosa-build/app/views/issues/_issue.html.haml

23 lines
902 B
Plaintext
Raw Normal View History

2012-02-23 14:48:31 +00:00
%tr#row1{:name => "row", :class => issue.labels.map(&:name).compact}
%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
.smalltext
=issue.created_at.to_s(:long)
=t("layout.issues.by") if issue.creator
=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
.both
%td.td3
.avatar
=link_to image_tag(issue.user.avatar(22), :alt => 'avatar'), user_path(issue.user) if issue.user
%a{:href => "#{project_issue_path @project, issue}#block-list"}
.answers
.pic= image_tag 'answers.png'
.count=issue.comments.count
.both