Commit 2fbf45b2e04b09e944de9404bd87508e81dbf6da
1 parent
ee2d3de1
Exists in
master
and in
4 other branches
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,8 +2,6 @@ | ||
2 | %span | 2 | %span |
3 | %d | 3 | %d |
4 | = "Issue ##{@issue.id}" | 4 | = "Issue ##{@issue.id}" |
5 | - – | ||
6 | - = truncate(@issue.title, :length => 50) | ||
7 | 5 | ||
8 | - unless @commits.blank? | 6 | - unless @commits.blank? |
9 | .right | 7 | .right |
@@ -16,12 +14,10 @@ | @@ -16,12 +14,10 @@ | ||
16 | 14 | ||
17 | %table.round-borders | 15 | %table.round-borders |
18 | %thead | 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 | %tr | 21 | %tr |
26 | %td | 22 | %td |
27 | %center | 23 | %center |
@@ -49,6 +45,16 @@ | @@ -49,6 +45,16 @@ | ||
49 | %br | 45 | %br |
50 | = @issue.assignee_name | 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 | - if can? current_user, :write_issue, @issue | 60 | - if can? current_user, :write_issue, @issue |