issue message output

This commit is contained in:
gitlabhq 2011-11-24 10:15:30 -05:00
parent ee2d3de1a6
commit 2fbf45b2e0

View file

@ -2,8 +2,6 @@
%span %span
%d %d
= "Issue ##{@issue.id}" = "Issue ##{@issue.id}"
–
= truncate(@issue.title, :length => 50)
- unless @commits.blank? - unless @commits.blank?
.right .right
@ -16,12 +14,10 @@
%table.round-borders %table.round-borders
%thead %thead
%th %th{:colspan => 3} Details
%center Author %tr
%th %td{:colspan => 3}
%th %h3= @issue.title
%center
Assignee
%tr %tr
%td %td
%center %center
@ -49,6 +45,16 @@
%br %br
= @issue.assignee_name = @issue.assignee_name
%tr
%td{:colspan => 3}
- if @issue.critical
%span.tag.high critical
- else
%span.tag.normal normal
- if @issue.today?
%span.tag.today today
.clear
- if can? current_user, :write_issue, @issue - if can? current_user, :write_issue, @issue