2017-08-18 04:54:53 -04:00
|
|
|
- @no_breadcrumb_container = true
|
2016-11-04 06:24:59 -04:00
|
|
|
- @no_container = true
|
|
|
|
- @content_class = "issue-boards-content"
|
2017-09-04 10:47:19 -04:00
|
|
|
- breadcrumb_title "Issue Board"
|
2016-11-04 06:24:59 -04:00
|
|
|
- page_title "Boards"
|
|
|
|
|
|
|
|
- content_for :page_specific_javascripts do
|
2017-05-10 17:11:23 -04:00
|
|
|
= webpack_bundle_tag 'common_vue'
|
|
|
|
= webpack_bundle_tag 'filtered_search'
|
|
|
|
= webpack_bundle_tag 'boards'
|
2016-11-04 06:24:59 -04:00
|
|
|
|
2017-09-06 01:50:13 -04:00
|
|
|
%script#js-board-template{ type: "text/x-template" }= render "shared/boards/components/board"
|
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",
|
2017-05-31 07:34:54 -04:00
|
|
|
":board-id" => "boardId",
|
2016-11-04 06:24:59 -04:00
|
|
|
":key" => "_uid" }
|
2017-09-06 01:50:13 -04:00
|
|
|
= render "shared/boards/components/sidebar"
|
2017-09-22 07:01:37 -04:00
|
|
|
- if @project
|
|
|
|
%board-add-issues-modal{ "new-issue-path" => new_project_issue_path(@project),
|
|
|
|
"milestone-path" => milestones_filter_dropdown_path,
|
|
|
|
"label-path" => labels_filter_path,
|
|
|
|
"empty-state-svg" => image_path('illustrations/issues.svg'),
|
|
|
|
":issue-link-base" => "issueLinkBase",
|
|
|
|
":root-path" => "rootPath",
|
|
|
|
":project-id" => @project.id }
|