summaryrefslogtreecommitdiff
path: root/app/views/projects/issues/_discussion.html.haml
blob: a904b53515c0ac7f1746567e1bae0ad19182a534 (plain)
1
2
3
4
5
6
7
8
9
10
- add_page_startup_api_call Feature.enabled?(:paginated_issue_discussions, @project) ? discussions_path(@issue, per_page: 20) : discussions_path(@issue)

- @gfm_form = true

%section.issuable-discussion.js-vue-notes-event
  #js-vue-notes{ data: { notes_data: notes_data(@issue).to_json,
    noteable_data: serialize_issuable(@issue, with_blocking_issues: true),
    noteable_type: 'Issue',
    target_type: 'issue',
    current_user_data: UserSerializer.new.represent(current_user, {only_path: true}, CurrentUserEntity).to_json } }