gitlab-org--gitlab-foss/app/views/projects/boards/components/_sidebar.html.haml

24 lines
1 KiB
Text
Raw Normal View History

%board-sidebar{ "inline-template" => true,
":current-user" => "#{current_user.to_json(only: [:username, :id, :name], methods: [:avatar_url]) if current_user}" }
%aside.right-sidebar.right-sidebar-expanded.issue-boards-sidebar{ "v-if" => "showSidebar" }
2016-10-04 10:27:02 -04:00
.issuable-sidebar
.block.issuable-sidebar-header
%span.issuable-header-text.hide-collapsed.pull-left
2016-10-05 03:49:40 -04:00
%strong
{{ issue.title }}
2016-10-04 10:27:02 -04:00
%br/
2016-10-05 03:49:40 -04:00
%span
= precede "#" do
{{ issue.id }}
%a.gutter-toggle.pull-right{ role: "button",
href: "#",
"@click.prevent" => "closeSidebar",
"aria-label" => "Toggle sidebar" }
2016-10-04 10:27:02 -04:00
= icon("times")
.js-issuable-update
= render "projects/boards/components/sidebar/assignee"
= render "projects/boards/components/sidebar/milestone"
= render "projects/boards/components/sidebar/due_date"
= render "projects/boards/components/sidebar/labels"
= render "projects/boards/components/sidebar/notifications"