diff options
Diffstat (limited to 'app/views/shared/boards/_show.html.haml')
-rw-r--r-- | app/views/shared/boards/_show.html.haml | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/app/views/shared/boards/_show.html.haml b/app/views/shared/boards/_show.html.haml new file mode 100644 index 00000000000..ee8ad8e3999 --- /dev/null +++ b/app/views/shared/boards/_show.html.haml @@ -0,0 +1,39 @@ +- @no_breadcrumb_container = true +- @no_container = true +- @content_class = "issue-boards-content" +- breadcrumb_title "Issue Board" +- page_title "Boards" + +- content_for :page_specific_javascripts do + = webpack_bundle_tag 'common_vue' + = webpack_bundle_tag 'filtered_search' + = webpack_bundle_tag 'boards' + + %script#js-board-template{ type: "text/x-template" }= render "shared/boards/components/board" + %script#js-board-modal-filter{ type: "text/x-template" }= render "shared/issuable/search_bar", type: :boards_modal + +#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 + + .boards-list + .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", + ":board-id" => "boardId", + ":key" => "_uid" } + = render "shared/boards/components/sidebar" + - 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 } |