Commit 2fbf45b2e04b09e944de9404bd87508e81dbf6da

Authored by gitlabhq
1 parent ee2d3de1

issue message output

Showing 1 changed file with 14 additions and 8 deletions   Show diff stats
app/views/issues/show.html.haml
... ... @@ -2,8 +2,6 @@
2 2 %span
3 3 %d
4 4 = "Issue ##{@issue.id}"
5   - –
6   - = truncate(@issue.title, :length => 50)
7 5  
8 6 - unless @commits.blank?
9 7 .right
... ... @@ -16,12 +14,10 @@
16 14  
17 15 %table.round-borders
18 16 %thead
19   - %th
20   - %center Author
21   - %th
22   - %th
23   - %center
24   - Assignee
  17 + %th{:colspan => 3} Details
  18 + %tr
  19 + %td{:colspan => 3}
  20 + %h3= @issue.title
25 21 %tr
26 22 %td
27 23 %center
... ... @@ -49,6 +45,16 @@
49 45 %br
50 46 = @issue.assignee_name
51 47  
  48 + %tr
  49 + %td{:colspan => 3}
  50 + - if @issue.critical
  51 + %span.tag.high critical
  52 + - else
  53 + %span.tag.normal normal
  54 + - if @issue.today?
  55 + %span.tag.today today
  56 +
  57 +.clear
52 58  
53 59  
54 60 - if can? current_user, :write_issue, @issue
... ...