Commit 7712d81f9bb3cdfdf3051ba6fc287ce53b1006b1
1 parent
3263f2e1
Exists in
master
and in
4 other branches
Moved OPEN and removed back link (you can easily click on issues to get to the same spot)
Showing
1 changed file
with
5 additions
and
9 deletions
Show diff stats
app/views/issues/show.html.haml
| @@ -17,18 +17,9 @@ | @@ -17,18 +17,9 @@ | ||
| 17 | %br | 17 | %br |
| 18 | - if @issue.upvotes > 0 | 18 | - if @issue.upvotes > 0 |
| 19 | .upvotes#upvotes= "+#{pluralize @issue.upvotes, 'upvote'}" | 19 | .upvotes#upvotes= "+#{pluralize @issue.upvotes, 'upvote'}" |
| 20 | - | ||
| 21 | - | ||
| 22 | -.back_link | ||
| 23 | - = link_to project_issues_path(@project) do | ||
| 24 | - ← To issues list | ||
| 25 | 20 | ||
| 26 | 21 | ||
| 27 | %hr | 22 | %hr |
| 28 | -- if @issue.closed | ||
| 29 | - .alert-message.error Closed | ||
| 30 | -- else | ||
| 31 | - .alert-message.success Open | ||
| 32 | 23 | ||
| 33 | 24 | ||
| 34 | %div.well | 25 | %div.well |
| @@ -40,6 +31,11 @@ | @@ -40,6 +31,11 @@ | ||
| 40 | %cite.cgray and currently assigned to | 31 | %cite.cgray and currently assigned to |
| 41 | = image_tag gravatar_icon(@issue.assignee_email), :width => 16, :class => "lil_av" | 32 | = image_tag gravatar_icon(@issue.assignee_email), :width => 16, :class => "lil_av" |
| 42 | %strong.author= link_to_issue_assignee(@issue) | 33 | %strong.author= link_to_issue_assignee(@issue) |
| 34 | + | ||
| 35 | + - if @issue.closed | ||
| 36 | + .alert-message.error Closed | ||
| 37 | + - else | ||
| 38 | + .alert-message.success Open | ||
| 43 | 39 | ||
| 44 | %hr | 40 | %hr |
| 45 | 41 |