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

28 lines
1.3 KiB
Text
Raw Normal View History

2018-03-17 18:26:18 +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" }
%aside.right-sidebar.right-sidebar-expanded.issue-boards-sidebar{ "v-show" => "showSidebar" }
.issuable-sidebar
.block.issuable-sidebar-header
%span.issuable-header-text.hide-collapsed.pull-left
%strong
{{ issue.title }}
%br/
%span
= precede "#" do
2018-03-17 18:26:18 +05:30
{{ issue.iid }}
2017-08-17 22:00:37 +05:30
%a.gutter-toggle.pull-right{ role: "button",
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"
= render "shared/boards/components/sidebar/milestone"
= render "shared/boards/components/sidebar/due_date"
= render "shared/boards/components/sidebar/labels"
= render "shared/boards/components/sidebar/notifications"
2017-08-17 22:00:37 +05:30
%remove-btn{ ":issue" => "issue",
2018-03-17 18:26:18 +05:30
":issue-update" => "'#{build_issue_link_base}/' + issue.iid + '.json'",
2017-09-10 17:25:29 +05:30
":list" => "list",
"v-if" => "canRemove" }