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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
647 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)}",
2022-08-27 11:52:29 +05:30
full_path: @project.full_path,
has_issue_weights_feature: @project.licensed_feature_available?(:issue_weights).to_s,
2020-11-24 15:15:51 +05:30
help_path: help_page_path('user/project/issues/related_issues'),
2023-01-13 00:05:48 +05:30
show_categorized_issues: @project.licensed_feature_available?(:blocked_issues).to_s,
2023-07-09 08:55:56 +05:30
has_iterations_feature: @project.licensed_feature_available?(:iterations).to_s,
report_abuse_path: add_category_abuse_reports_path } }