diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-19 12:08:42 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2021-08-19 12:08:42 +0300 |
commit | b76ae638462ab0f673e5915986070518dd3f9ad3 (patch) | |
tree | bdab0533383b52873be0ec0eb4d3c66598ff8b91 /app/views/help/instance_configuration/_package_registry.html.haml | |
parent | 434373eabe7b4be9593d18a585fb763f1e5f1a6f (diff) |
Add latest changes from gitlab-org/gitlab@14-2-stable-eev14.2.0-rc42
Diffstat (limited to 'app/views/help/instance_configuration/_package_registry.html.haml')
-rw-r--r-- | app/views/help/instance_configuration/_package_registry.html.haml | 48 |
1 files changed, 48 insertions, 0 deletions
diff --git a/app/views/help/instance_configuration/_package_registry.html.haml b/app/views/help/instance_configuration/_package_registry.html.haml new file mode 100644 index 00000000000..38202b8d6e6 --- /dev/null +++ b/app/views/help/instance_configuration/_package_registry.html.haml @@ -0,0 +1,48 @@ +- package_file_size_limits = @instance_configuration.settings[:package_file_size_limits] +- content_for :table_content do + - if package_file_size_limits.present? + %li= link_to _('Package Registry'), '#package-registry' + +- content_for :settings_content do + - if package_file_size_limits.present? + %h2#package-registry + = _('Package Registry') + + %p + = _('There are several file size limits in place for the Package Registry.') + .table-responsive + %table + %thead + %tr + %th= _('Package type') + - package_file_size_limits.each_key do |title| + %th= title + %tbody + %tr + %td= 'Conan' + - package_file_size_limits.each_value do |limits| + %td= instance_configuration_human_size_cell(limits[:conan]) + %tr + %td= 'Maven' + - package_file_size_limits.each_value do |limits| + %td= instance_configuration_human_size_cell(limits[:maven]) + %tr + %td= 'npm' + - package_file_size_limits.each_value do |limits| + %td= instance_configuration_human_size_cell(limits[:npm]) + %tr + %td= 'NuGet' + - package_file_size_limits.each_value do |limits| + %td= instance_configuration_human_size_cell(limits[:nuget]) + %tr + %td= 'PyPI' + - package_file_size_limits.each_value do |limits| + %td= instance_configuration_human_size_cell(limits[:pypi]) + %tr + %td= 'Terraform Module' + - package_file_size_limits.each_value do |limits| + %td= instance_configuration_human_size_cell(limits[:terraform_module]) + %tr + %td= _('Generic') + - package_file_size_limits.each_value do |limits| + %td= instance_configuration_human_size_cell(limits[:generic]) |