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