debian-mirror-gitlab/app/views/projects/issues/_related_issues.html.haml

7 lines
384 B
Text
Raw Normal View History

2020-11-24 15:15:51 +05:30
- if can?(current_user, :read_issue_link, @project)
.js-related-issues-root{ data: { endpoint: project_issue_links_path(@project, @issue),
can_add_related_issues: "#{can?(current_user, :admin_issue_link, @issue)}",
help_path: help_page_path('user/project/issues/related_issues'),
show_categorized_issues: "false" } }
- render('projects/issues/related_issues_block')