issue show finished

This commit is contained in:
gitlabhq 2011-11-24 11:47:27 -05:00
parent 2fbf45b2e0
commit b7f4f67b9b

View file

@ -12,41 +12,26 @@
.clear
%h3= @issue.title
%table.round-borders
%thead
%th{:colspan => 3} Details
%tr
%td{:colspan => 3}
%h3= @issue.title
%th Assignee
%th Status
%th Opened
%th Tags
%tr
%td
%center
= image_tag gravatar_icon(@issue.author_email), :width => 40, :style => "padding:0 5px;"
%br
%br
= @issue.author_name
%td
%center
- if @issue.closed
Resolved
%br
%span{:style => "font-size:36px;"} ←
- else
Open
%br
%span{:style => "font-size:36px;"} →
%br
= @issue.created_at.stamp("21 Aug 2011, 11:15pm")
%td
%center
= image_tag gravatar_icon(@issue.assignee_email), :width => 40, :style => "padding:0 5px;"
%br
%br
= image_tag gravatar_icon(@issue.assignee_email), :width => 20, :style => "padding:0 5px;"
= @issue.assignee_name
%tr
%td{:colspan => 3}
%td
- if @issue.closed
%span.tag.high Resolved
- else
%span.tag.today Open
%td
= @issue.created_at.stamp("21 Aug 2011, 11:15pm")
%td
- if @issue.critical
%span.tag.high critical
- else
@ -54,6 +39,8 @@
- if @issue.today?
%span.tag.today today
.clear