31 lines
1.6 KiB
Text
31 lines
1.6 KiB
Text
%board-sidebar{ "inline-template" => true, ":current-user" => (UserSerializer.new.represent(current_user) || {}).to_json }
|
|
%transition{ name: "boards-sidebar-slide" }
|
|
%aside.right-sidebar.right-sidebar-expanded.issue-boards-sidebar{ "v-show" => "showSidebar", 'aria-label': s_('Boards|Board') }
|
|
.issuable-sidebar
|
|
.block.issuable-sidebar-header.position-relative
|
|
%span.issuable-header-text.hide-collapsed.float-left
|
|
%strong.bold
|
|
{{ issue.title }}
|
|
%br/
|
|
%span
|
|
= render_if_exists "shared/boards/components/sidebar/issue_project_path"
|
|
= precede "#" do
|
|
{{ issue.iid }}
|
|
%a.gutter-toggle.position-absolute.position-top-0.position-right-0{ role: "button",
|
|
href: "#",
|
|
"@click.prevent" => "closeSidebar",
|
|
"aria-label" => "Toggle sidebar" }
|
|
= 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/time_tracker"
|
|
= 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",
|
|
":list" => "list",
|
|
"v-if" => "canRemove" }
|