2016-11-04 06:24:59 -04:00
|
|
|
- @no_container = true
|
|
|
|
- @content_class = "issue-boards-content"
|
|
|
|
- page_title "Boards"
|
|
|
|
|
|
|
|
- content_for :page_specific_javascripts do
|
2017-03-01 21:28:34 -05:00
|
|
|
= page_specific_javascript_bundle_tag('common_vue')
|
2017-03-07 04:24:01 -05:00
|
|
|
= page_specific_javascript_bundle_tag('filtered_search')
|
2016-11-03 17:38:54 -04:00
|
|
|
= page_specific_javascript_bundle_tag('boards')
|
2017-01-06 11:52:18 -05:00
|
|
|
= page_specific_javascript_bundle_tag('simulate_drag') if Rails.env.test?
|
2016-11-04 06:24:59 -04:00
|
|
|
|
|
|
|
%script#js-board-template{ type: "text/x-template" }= render "projects/boards/components/board"
|
|
|
|
%script#js-board-list-template{ type: "text/x-template" }= render "projects/boards/components/board_list"
|
2017-03-10 07:08:19 -05:00
|
|
|
%script#js-board-modal-filter{ type: "text/x-template" }= render "shared/issuable/search_bar", type: :boards_modal
|
2016-11-04 06:24:59 -04:00
|
|
|
|
|
|
|
= render "projects/issues/head"
|
|
|
|
|
2017-03-08 09:00:28 -05:00
|
|
|
.hidden-xs.hidden-sm
|
|
|
|
= render 'shared/issuable/search_bar', type: :boards
|
2016-11-04 06:24:59 -04:00
|
|
|
|
|
|
|
#board-app.boards-app{ "v-cloak" => true, data: board_data }
|
|
|
|
.boards-list{ ":class" => "{ 'is-compact': detailIssueVisible }" }
|
|
|
|
.boards-app-loading.text-center{ "v-if" => "loading" }
|
|
|
|
= icon("spinner spin")
|
|
|
|
%board{ "v-cloak" => true,
|
|
|
|
"v-for" => "list in state.lists",
|
|
|
|
"ref" => "board",
|
|
|
|
":list" => "list",
|
|
|
|
":disabled" => "disabled",
|
|
|
|
":issue-link-base" => "issueLinkBase",
|
2017-01-31 05:39:44 -05:00
|
|
|
":root-path" => "rootPath",
|
2016-11-04 06:24:59 -04:00
|
|
|
":key" => "_uid" }
|
|
|
|
= render "projects/boards/components/sidebar"
|
2017-01-26 06:29:04 -05:00
|
|
|
%board-add-issues-modal{ "blank-state-image" => render('shared/empty_states/icons/issues.svg'),
|
2017-01-26 11:03:07 -05:00
|
|
|
"new-issue-path" => new_namespace_project_issue_path(@project.namespace, @project),
|
2017-02-01 12:26:03 -05:00
|
|
|
"milestone-path" => milestones_filter_dropdown_path,
|
|
|
|
"label-path" => labels_filter_path,
|
2017-01-31 05:39:44 -05:00
|
|
|
":issue-link-base" => "issueLinkBase",
|
2017-01-31 06:48:43 -05:00
|
|
|
":root-path" => "rootPath",
|
|
|
|
":project-id" => @project.try(:id) }
|