BigW Consortium Gitlab

_notes.html.haml 680 Bytes
Newer Older
1 2
%ul.notes{ data: { discussion_id: discussion.id } }
  = render partial: "projects/notes/note", collection: discussion.notes, as: :note
3

4 5 6 7
- if current_user
  .discussion-reply-holder
    - if discussion.diff_discussion?
      - line_type = local_assigns.fetch(:line_type, nil)
8

9 10 11
      .btn-group-justified.discussion-with-resolve-btn{ role: "group" }
        .btn-group{ role: "group" }
          = link_to_reply_discussion(discussion, line_type)
12
        = render "discussions/resolve_all", discussion: discussion
13 14
        - if discussion.for_merge_request?
          = render "discussions/jump_to_next", discussion: discussion
15 16
    - else
      = link_to_reply_discussion(discussion)