Merge branch '6224-extract-ee-specific-files-lines-for-app-views-shared-boards-components' into 'master'
Resolve "Extract EE specific files/lines for app/views/shared/boards/components" Closes gitlab-ee#6224 See merge request gitlab-org/gitlab-ce!20292
This commit is contained in:
commit
275fbf24b1
2 changed files with 6 additions and 3 deletions
|
@ -32,7 +32,7 @@
|
|||
"v-if" => "!list.preset && list.id" }
|
||||
%button.board-delete.has-tooltip.float-right{ type: "button", title: _("Delete list"), "aria-label" => _("Delete list"), data: { placement: "bottom" }, "@click.stop" => "deleteBoard" }
|
||||
= icon("trash")
|
||||
.issue-count-badge.clearfix{ "v-if" => 'list.type !== "blank"' }
|
||||
.issue-count-badge.clearfix{ "v-if" => 'list.type !== "blank" && list.type !== "promotion"' }
|
||||
%span.issue-count-badge-count.float-left{ ":class" => '{ "has-btn": list.type !== "closed" && !disabled }' }
|
||||
{{ list.issuesSize }}
|
||||
- if can?(current_user, :admin_list, current_board_parent)
|
||||
|
@ -43,8 +43,7 @@
|
|||
"title" => _("New issue"),
|
||||
data: { placement: "top", container: "body" } }
|
||||
= icon("plus", class: "js-no-trigger-collapse")
|
||||
|
||||
%board-list{ "v-if" => 'list.type !== "blank"',
|
||||
%board-list{ "v-if" => 'list.type !== "blank" && list.type !== "promotion"',
|
||||
":list" => "list",
|
||||
":issues" => "list.issues",
|
||||
":loading" => "list.loading",
|
||||
|
@ -55,3 +54,4 @@
|
|||
"ref" => "board-list" }
|
||||
- if can?(current_user, :admin_list, current_board_parent)
|
||||
%board-blank-state{ "v-if" => 'list.id == "blank"' }
|
||||
= render_if_exists 'shared/boards/board_promotion_state'
|
||||
|
|
|
@ -8,6 +8,7 @@
|
|||
{{ issue.title }}
|
||||
%br/
|
||||
%span
|
||||
= render_if_exists "shared/boards/components/sidebar/issue_project_path"
|
||||
= precede "#" do
|
||||
{{ issue.iid }}
|
||||
%a.gutter-toggle.float-right{ role: "button",
|
||||
|
@ -17,9 +18,11 @@
|
|||
= custom_icon("icon_close", size: 15)
|
||||
.js-issuable-update
|
||||
= render "shared/boards/components/sidebar/assignee"
|
||||
= render_if_exists "shared/boards/components/sidebar/epic"
|
||||
= render "shared/boards/components/sidebar/milestone"
|
||||
= render "shared/boards/components/sidebar/due_date"
|
||||
= render "shared/boards/components/sidebar/labels"
|
||||
= render_if_exists "shared/boards/components/sidebar/weight"
|
||||
= render "shared/boards/components/sidebar/notifications"
|
||||
%remove-btn{ ":issue" => "issue",
|
||||
":issue-update" => "issue.sidebarInfoEndpoint",
|
||||
|
|
Loading…
Reference in a new issue