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
|
2018-11-08 19:23:39 +05:30
|
|
|
- @content_class = "issue-boards-content js-focus-mode-board"
|
|
|
|
- breadcrumb_title _("Issue Boards")
|
|
|
|
- page_title _("Boards")
|
2017-08-17 22:00:37 +05:30
|
|
|
|
|
|
|
- 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"
|
2018-12-13 13:39:08 +05:30
|
|
|
%script#js-board-modal-filter{ type: "text/x-template" }= render "shared/issuable/search_bar", type: :boards_modal, show_sorting_dropdown: false
|
2018-11-08 19:23:39 +05:30
|
|
|
%script#js-board-promotion{ type: "text/x-template" }= render_if_exists "shared/promotions/promote_issue_board"
|
2017-08-17 22:00:37 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
#board-app.boards-app{ "v-cloak" => true, data: board_data, ":class" => "{ 'is-compact': detailIssueVisible }" }
|
2018-11-08 19:23:39 +05:30
|
|
|
.d-none.d-sm-none.d-md-block
|
|
|
|
= render 'shared/issuable/search_bar', type: :boards, board: board
|
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,
|
2018-12-05 23:21:45 +05:30
|
|
|
"label-path" => labels_filter_path_with_defaults,
|
2018-03-17 18:26:18 +05:30
|
|
|
"empty-state-svg" => image_path('illustrations/issues.svg'),
|
|
|
|
":issue-link-base" => "issueLinkBase",
|
|
|
|
":root-path" => "rootPath",
|
|
|
|
":project-id" => @project.id }
|