Commit b7f4f67b9b6a318f8fdbe2ff48074c3aff1ce73b

Authored by gitlabhq
1 parent 2fbf45b2

issue show finished

Showing 1 changed file with 16 additions and 29 deletions   Show diff stats
app/views/issues/show.html.haml
... ... @@ -12,41 +12,26 @@
12 12  
13 13 .clear
14 14  
  15 +%h3= @issue.title
  16 +
15 17 %table.round-borders
16 18 %thead
17   - %th{:colspan => 3} Details
18   - %tr
19   - %td{:colspan => 3}
20   - %h3= @issue.title
  19 + %th Assignee
  20 + %th Status
  21 + %th Opened
  22 + %th Tags
21 23 %tr
22 24 %td
23   - %center
24   - = image_tag gravatar_icon(@issue.author_email), :width => 40, :style => "padding:0 5px;"
25   - %br
26   - %br
27   - = @issue.author_name
  25 + = image_tag gravatar_icon(@issue.assignee_email), :width => 20, :style => "padding:0 5px;"
  26 + = @issue.assignee_name
28 27 %td
29   - %center
30   - - if @issue.closed
31   - Resolved
32   - %br
33   - %span{:style => "font-size:36px;"} ←
34   - - else
35   - Open
36   - %br
37   - %span{:style => "font-size:36px;"} →
38   - %br
39   - = @issue.created_at.stamp("21 Aug 2011, 11:15pm")
40   -
  28 + - if @issue.closed
  29 + %span.tag.high Resolved
  30 + - else
  31 + %span.tag.today Open
  32 + %td
  33 + = @issue.created_at.stamp("21 Aug 2011, 11:15pm")
41 34 %td
42   - %center
43   - = image_tag gravatar_icon(@issue.assignee_email), :width => 40, :style => "padding:0 5px;"
44   - %br
45   - %br
46   - = @issue.assignee_name
47   -
48   - %tr
49   - %td{:colspan => 3}
50 35 - if @issue.critical
51 36 %span.tag.high critical
52 37 - else
... ... @@ -54,6 +39,8 @@
54 39 - if @issue.today?
55 40 %span.tag.today today
56 41  
  42 +
  43 +
57 44 .clear
58 45  
59 46  
... ...