diff options
author | Sullivan SENECHAL <soullivaneuh@gmail.com> | 2015-04-27 01:43:02 +0300 |
---|---|---|
committer | Sullivan SENECHAL <soullivaneuh@gmail.com> | 2015-04-27 01:43:02 +0300 |
commit | f28f5e49f62f8ae780d991cf266cff95e1a5c057 (patch) | |
tree | b71fc1cdc7d542f5f6373c9a672d514c461fd9ff /app/views/projects/issues/_discussion.html.haml | |
parent | f0c4c51f8323216bd90fb564d6b1bff1f247cf16 (diff) |
Fix wrong placement of show-aside link
Diffstat (limited to 'app/views/projects/issues/_discussion.html.haml')
-rw-r--r-- | app/views/projects/issues/_discussion.html.haml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/projects/issues/_discussion.html.haml b/app/views/projects/issues/_discussion.html.haml index 288b48f4583..ceca2653016 100644 --- a/app/views/projects/issues/_discussion.html.haml +++ b/app/views/projects/issues/_discussion.html.haml @@ -4,6 +4,9 @@ = link_to 'Reopen Issue', issue_path(@issue, issue: {state_event: :reopen }, status_only: true), method: :put, class: "btn btn-grouped btn-reopen js-note-target-reopen", title: 'Reopen Issue' - else = link_to 'Close Issue', issue_path(@issue, issue: {state_event: :close }, status_only: true), method: :put, class: "btn btn-grouped btn-close js-note-target-close", title: "Close Issue" + += render 'shared/show_aside' + .row %section.col-md-9 .votes-holder.pull-right @@ -29,5 +32,3 @@ - @issue.labels.each do |label| = link_to namespace_project_issues_path(@project.namespace, @project, label_name: label.name) do = render_colored_label(label) - = link_to '#aside', class: 'show-aside' do - %i.fa.fa-angle-left |