_show.html.haml 1.52 KB
Newer Older
1
- @no_breadcrumb_container = true
2 3
- @no_container = true
- @content_class = "issue-boards-content"
4
- breadcrumb_title "Issue Board"
5 6 7
- page_title "Boards"

- content_for :page_specific_javascripts do
8 9 10
  = webpack_bundle_tag 'common_vue'
  = webpack_bundle_tag 'filtered_search'
  = webpack_bundle_tag 'boards'
11 12

  %script#js-board-template{ type: "text/x-template" }= render "projects/boards/components/board"
13
  %script#js-board-modal-filter{ type: "text/x-template" }= render "shared/issuable/search_bar", type: :boards_modal
14 15 16

= render "projects/issues/head"

Phil Hughes's avatar
Phil Hughes committed
17 18
.hidden-xs.hidden-sm
  = render 'shared/issuable/search_bar', type: :boards
19 20 21 22 23 24 25 26 27 28 29

#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",
30
      ":root-path" => "rootPath",
31
      ":board-id" => "boardId",
32 33
      ":key" => "_uid" }
  = render "projects/boards/components/sidebar"
Phil Hughes's avatar
Phil Hughes committed
34
  %board-add-issues-modal{ "blank-state-image" => render('shared/empty_states/icons/issues.svg'),
35
    "new-issue-path" => new_project_issue_path(@project),
36 37
    "milestone-path" => milestones_filter_dropdown_path,
    "label-path" => labels_filter_path,
38
    ":issue-link-base" => "issueLinkBase",
39 40
    ":root-path" => "rootPath",
    ":project-id" => @project.try(:id) }