2022-08-13 15:12:31 +05:30
|
|
|
- add_page_startup_api_call discussions_path(@issue, per_page: 20)
|
2020-10-24 23:57:45 +05:30
|
|
|
|
2018-03-17 18:26:18 +05:30
|
|
|
- @gfm_form = true
|
|
|
|
|
2019-07-07 11:18:12 +05:30
|
|
|
%section.issuable-discussion.js-vue-notes-event
|
2018-12-05 23:21:45 +05:30
|
|
|
#js-vue-notes{ data: { notes_data: notes_data(@issue).to_json,
|
2020-07-28 23:09:34 +05:30
|
|
|
noteable_data: serialize_issuable(@issue, with_blocking_issues: true),
|
2018-11-08 19:23:39 +05:30
|
|
|
noteable_type: 'Issue',
|
2022-11-25 23:54:43 +05:30
|
|
|
notes_filters: UserPreference.notes_filters.to_json,
|
|
|
|
notes_filter_value: current_user&.notes_filter_for(@issue),
|
2018-11-08 19:23:39 +05:30
|
|
|
target_type: 'issue',
|
2022-11-25 23:54:43 +05:30
|
|
|
show_timeline_view_toggle: show_timeline_view_toggle?(@issue).to_s,
|
2022-10-11 01:57:18 +05:30
|
|
|
current_user_data: UserSerializer.new.represent(current_user, {only_path: true}, CurrentUserEntity).to_json,
|
2023-04-23 21:23:45 +05:30
|
|
|
can_add_timeline_events: "#{can?(current_user, :admin_incident_management_timeline_event, @issue)}",
|
2023-05-27 22:25:52 +05:30
|
|
|
report_abuse_path: add_category_abuse_reports_path,
|
2023-06-20 00:43:36 +05:30
|
|
|
new_comment_template_path: profile_comment_templates_path } }
|