Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2022-07-15 09:09:57 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2022-07-15 09:09:57 +0300
commit4b41b57abf3ad9c2e0e81b3804cb01af6f879349 (patch)
treefc8919c5c45d52d860b0f267fdab23c787243659 /app/views/projects/issues
parent08e3d715127256b53529a7719b80569aa0d8bc52 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/projects/issues')
-rw-r--r--app/views/projects/issues/_linked_resources.html.haml4
1 files changed, 4 insertions, 0 deletions
diff --git a/app/views/projects/issues/_linked_resources.html.haml b/app/views/projects/issues/_linked_resources.html.haml
new file mode 100644
index 00000000000..6b3ea46c066
--- /dev/null
+++ b/app/views/projects/issues/_linked_resources.html.haml
@@ -0,0 +1,4 @@
+- if Feature.enabled?(:incident_resource_links_widget, @project) && can?(current_user, :read_issuable_resource_link, @issue)
+ .js-linked-resources-root{ data: { issuable_id: @issue.id,
+ can_add_resource_links: "#{can?(current_user, :admin_issuable_resource_link, @issue)}",
+ help_path: help_page_path('user/project/issues/related_issues')} }