BigW Consortium Gitlab

_sidebar.html.haml 1.05 KB
Newer Older
1 2
%board-sidebar{ "inline-template" => true,
  ":current-user" => "#{current_user.to_json(only: [:username, :id, :name], methods: [:avatar_url]) if current_user}" }
3
  %aside.right-sidebar.right-sidebar-expanded.issue-boards-sidebar{ "v-show" => "showSidebar" }
Phil Hughes committed
4 5 6
    .issuable-sidebar
      .block.issuable-sidebar-header
        %span.issuable-header-text.hide-collapsed.pull-left
7 8
          %strong
            {{ issue.title }}
Phil Hughes committed
9
          %br/
10 11 12 13 14
          %span
            = precede "#" do
              {{ issue.id }}
        %a.gutter-toggle.pull-right{ role: "button",
          href: "#",
15
          "@click.prevent" => "closeSidebar",
16
          "aria-label" => "Toggle sidebar" }
17
          = custom_icon("icon_close", size: 15)
18 19 20 21 22 23
      .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"