summaryrefslogtreecommitdiff
path: root/app
diff options
context:
space:
mode:
authorYorick Peterse <yorickpeterse@gmail.com>2019-02-27 14:19:31 +0000
committerYorick Peterse <yorickpeterse@gmail.com>2019-02-27 14:19:31 +0000
commitcad2bd5818dcba95910de3c16b225f029ae5e9f9 (patch)
tree2c23c742e7acd71d1e9658a6199bfa73308d8ff9 /app
parent8e36d93baf2d2c9067492c5109f3d5e2898a2c37 (diff)
parent382346c382b624fcbe8db8487066d9b06c56d1f1 (diff)
downloadgitlab-ce-cad2bd5818dcba95910de3c16b225f029ae5e9f9.tar.gz
Merge branch 'security-osw-stop-linking-to-packages-11-7' into '11-7-stable'
Stop linking to unrecognized package sources See merge request gitlab/gitlabhq!2970
Diffstat (limited to 'app')
-rw-r--r--app/views/projects/blob/viewers/_dependency_manager.html.haml5
1 files changed, 0 insertions, 5 deletions
diff --git a/app/views/projects/blob/viewers/_dependency_manager.html.haml b/app/views/projects/blob/viewers/_dependency_manager.html.haml
index 87aa7c1dbf8..5970d41fdab 100644
--- a/app/views/projects/blob/viewers/_dependency_manager.html.haml
+++ b/app/views/projects/blob/viewers/_dependency_manager.html.haml
@@ -3,9 +3,4 @@
This project manages its dependencies using
%strong= viewer.manager_name
- - if viewer.package_name
- and defines a #{viewer.package_type} named
- %strong<
- = link_to_if viewer.package_url.present?, viewer.package_name, viewer.package_url, target: '_blank', rel: 'noopener noreferrer'
-
= link_to 'Learn more', viewer.manager_url, target: '_blank', rel: 'noopener noreferrer'