2018-03-27 19:54:05 +05:30
|
|
|
- board = local_assigns.fetch(:board, nil)
|
|
|
|
- group = local_assigns.fetch(:group, false)
|
2018-03-17 18:26:18 +05:30
|
|
|
- @no_breadcrumb_container = true
|
2017-08-17 22:00:37 +05:30
|
|
|
- @no_container = true
|
|
|
|
- @content_class = "issue-boards-content"
|
2018-03-17 18:26:18 +05:30
|
|
|
- breadcrumb_title "Issue Board"
|
2017-08-17 22:00:37 +05:30
|
|
|
- page_title "Boards"
|
|
|
|
|
|
|
|
- content_for :page_specific_javascripts do
|
|
|
|
|
2018-03-27 19:54:05 +05:30
|
|
|
-# haml-lint:disable InlineJavaScript
|
2018-03-17 18:26:18 +05:30
|
|
|
%script#js-board-template{ type: "text/x-template" }= render "shared/boards/components/board"
|
2017-08-17 22:00:37 +05:30
|
|
|
%script#js-board-modal-filter{ type: "text/x-template" }= render "shared/issuable/search_bar", type: :boards_modal
|
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
#board-app.boards-app{ "v-cloak" => true, data: board_data, ":class" => "{ 'is-compact': detailIssueVisible }" }
|
|
|
|
.hidden-xs.hidden-sm
|
|
|
|
= render 'shared/issuable/search_bar', type: :boards
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
.boards-list
|
2017-08-17 22:00:37 +05:30
|
|
|
.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",
|
|
|
|
":root-path" => "rootPath",
|
2017-09-10 17:25:29 +05:30
|
|
|
":board-id" => "boardId",
|
2018-05-09 12:01:36 +05:30
|
|
|
":key" => "list.id" }
|
2018-03-27 19:54:05 +05:30
|
|
|
= render "shared/boards/components/sidebar", group: group
|
2018-03-17 18:26:18 +05:30
|
|
|
- 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 }
|