2014-12-25 12:32:49 +00:00
|
|
|
- content_for :note_actions do
|
2015-06-26 13:55:56 +00:00
|
|
|
- if can?(current_user, :update_issue, @issue)
|
2014-12-25 12:32:49 +00:00
|
|
|
- if @issue.closed?
|
2015-04-29 20:11:48 +00:00
|
|
|
= 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'
|
2014-12-25 12:32:49 +00:00
|
|
|
- else
|
2015-04-29 20:11:48 +00:00
|
|
|
= 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'
|
2015-04-26 22:43:02 +00:00
|
|
|
|
|
|
|
= render 'shared/show_aside'
|
|
|
|
|
2015-11-19 09:50:38 +00:00
|
|
|
.gray-content-block.second-block.oneline-block
|
2015-09-07 23:25:51 +00:00
|
|
|
.row
|
|
|
|
.col-md-9
|
|
|
|
.votes-holder.pull-right
|
|
|
|
#votes= render 'votes/votes_block', votable: @issue
|
2015-12-08 11:57:49 +00:00
|
|
|
= render "shared/issuable/participants"
|
2015-09-07 23:25:51 +00:00
|
|
|
.col-md-3
|
2015-10-23 13:31:43 +00:00
|
|
|
.input-group.cross-project-reference
|
2015-11-24 23:35:24 +00:00
|
|
|
%span#cross-project-reference.slead.has_tooltip{title: 'Cross-project reference'}
|
2015-10-23 13:31:43 +00:00
|
|
|
= cross_project_reference(@project, @issue)
|
2015-12-08 20:29:46 +00:00
|
|
|
= clipboard_button(clipboard_target: 'span#cross-project-reference')
|
2015-09-07 23:25:51 +00:00
|
|
|
|
2014-12-25 12:32:49 +00:00
|
|
|
.row
|
2015-02-22 06:01:27 +00:00
|
|
|
%section.col-md-9
|
2015-04-29 20:11:48 +00:00
|
|
|
.voting_notes#notes= render 'projects/notes/notes_with_form'
|
2015-02-22 06:01:27 +00:00
|
|
|
%aside.col-md-3
|
2015-02-18 00:14:49 +00:00
|
|
|
.issuable-affix
|
|
|
|
.context
|
2015-06-25 14:04:50 +00:00
|
|
|
= render 'shared/issuable/context', issuable: @issue
|