debian-mirror-gitlab/app/views/shared/boards/components/_sidebar.html.haml

32 lines
1.6 KiB
Text
Raw Normal View History

2019-03-02 22:35:43 +05:30
%board-sidebar{ "inline-template" => true, ":current-user" => (UserSerializer.new.represent(current_user) || {}).to_json }
2017-08-17 22:00:37 +05:30
%transition{ name: "boards-sidebar-slide" }
2021-03-11 19:13:27 +05:30
%aside.right-sidebar.right-sidebar-expanded.issue-boards-sidebar{ "v-show" => "showSidebar", 'aria-label': s_('Boards|Board') }
2017-08-17 22:00:37 +05:30
.issuable-sidebar
2019-07-31 22:56:46 +05:30
.block.issuable-sidebar-header.position-relative
2018-11-08 19:23:39 +05:30
%span.issuable-header-text.hide-collapsed.float-left
2019-07-31 22:56:46 +05:30
%strong.bold
2017-08-17 22:00:37 +05:30
{{ issue.title }}
%br/
%span
2018-11-08 19:23:39 +05:30
= render_if_exists "shared/boards/components/sidebar/issue_project_path"
2017-08-17 22:00:37 +05:30
= precede "#" do
2018-03-17 18:26:18 +05:30
{{ issue.iid }}
2019-07-31 22:56:46 +05:30
%a.gutter-toggle.position-absolute.position-top-0.position-right-0{ role: "button",
2017-08-17 22:00:37 +05:30
href: "#",
"@click.prevent" => "closeSidebar",
"aria-label" => "Toggle sidebar" }
= custom_icon("icon_close", size: 15)
.js-issuable-update
2018-03-17 18:26:18 +05:30
= render "shared/boards/components/sidebar/assignee"
2018-11-08 19:23:39 +05:30
= render_if_exists "shared/boards/components/sidebar/epic"
2018-03-17 18:26:18 +05:30
= render "shared/boards/components/sidebar/milestone"
2019-07-31 22:56:46 +05:30
= render "shared/boards/components/sidebar/time_tracker"
2018-03-17 18:26:18 +05:30
= render "shared/boards/components/sidebar/due_date"
= render "shared/boards/components/sidebar/labels"
2018-11-08 19:23:39 +05:30
= render_if_exists "shared/boards/components/sidebar/weight"
2018-03-17 18:26:18 +05:30
= render "shared/boards/components/sidebar/notifications"
2017-08-17 22:00:37 +05:30
%remove-btn{ ":issue" => "issue",
2018-05-09 12:01:36 +05:30
":issue-update" => "issue.sidebarInfoEndpoint",
2017-09-10 17:25:29 +05:30
":list" => "list",
"v-if" => "canRemove" }