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;"
%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
= @issue.assignee_name = @issue.assignee_name
%td
%tr - if @issue.closed
%td{:colspan => 3} %span.tag.high Resolved
- else
%span.tag.today Open
%td
= @issue.created_at.stamp("21 Aug 2011, 11:15pm")
%td
- 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