From b7f4f67b9b6a318f8fdbe2ff48074c3aff1ce73b Mon Sep 17 00:00:00 2001 From: gitlabhq <m@gitlabhq.com> Date: Thu, 24 Nov 2011 11:47:27 -0500 Subject: [PATCH] issue show finished --- app/views/issues/show.html.haml | 45 ++++++++++++--------------------- 1 file changed, 16 insertions(+), 29 deletions(-) diff --git a/app/views/issues/show.html.haml b/app/views/issues/show.html.haml index 48ecf36cbbb..3156da7fe41 100644 --- a/app/views/issues/show.html.haml +++ b/app/views/issues/show.html.haml @@ -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 + = image_tag gravatar_icon(@issue.assignee_email), :width => 20, :style => "padding:0 5px;" + = @issue.assignee_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") - + - if @issue.closed + %span.tag.high Resolved + - else + %span.tag.today Open + %td + = @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 - - %tr - %td{:colspan => 3} - if @issue.critical %span.tag.high critical - else @@ -54,6 +39,8 @@ - if @issue.today? %span.tag.today today + + .clear -- GitLab