diff options
author | Phil Hughes <me@iamphill.com> | 2017-05-17 13:01:24 +0100 |
---|---|---|
committer | Phil Hughes <me@iamphill.com> | 2017-05-17 13:01:24 +0100 |
commit | 907dd68e0a18e995dc5772c9bc8117aa150edc25 (patch) | |
tree | f44f01a72ac5b305f7a2fc0dd3c90b992c2db165 /app/views | |
parent | 4fcff0bfa2f0d8b0a9f60e93bee807334557918f (diff) | |
download | gitlab-ce-907dd68e0a18e995dc5772c9bc8117aa150edc25.tar.gz |
Added move to project in issue inline edit form
[ci skip]
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/projects/issues/show.html.haml | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/app/views/projects/issues/show.html.haml b/app/views/projects/issues/show.html.haml index 2b095648dcf..a35de038f2f 100644 --- a/app/views/projects/issues/show.html.haml +++ b/app/views/projects/issues/show.html.haml @@ -54,9 +54,11 @@ #js-issuable-app{ "data" => { "endpoint" => namespace_project_issue_path(@project.namespace, @project, @issue), "can-update" => can?(current_user, :update_issue, @issue).to_s, "can-destroy" => can?(current_user, :destroy_issue, @issue).to_s, + "can-move" => @issue.can_move?(current_user).to_s, "issuable-ref" => @issue.to_reference, "markdown-preview-url" => preview_markdown_path(@project), "markdown-docs" => help_page_path('user/markdown'), + "projects-autocomplete-url" => autocomplete_projects_path(project_id: @project.id), } } %h2.title= markdown_field(@issue, :title) - if @issue.description.present? |