debian-mirror-gitlab/app/views/groups/dependency_proxies/_url.html.haml

13 lines
576 B
Text
Raw Normal View History

2021-10-27 15:23:28 +05:30
- proxy_url = group_dependency_proxy_image_prefix(@group)
2021-01-29 00:20:46 +05:30
2021-10-27 15:23:28 +05:30
%h5.prepend-top-20= _('Dependency proxy image prefix')
2021-01-29 00:20:46 +05:30
.row
.col-lg-8.col-md-12.input-group
= text_field_tag :url, "#{proxy_url}", class: 'js-dependency-proxy-url form-control', readonly: true
= clipboard_button(text: "#{proxy_url}", title: _("Copy %{proxy_url}") % { proxy_url: proxy_url })
.row
2021-10-27 15:23:28 +05:30
.col-12.help-block.gl-mt-3{ data: { qa_selector: 'dependency_proxy_count' } }
2021-01-29 00:20:46 +05:30
= _('Contains %{count} blobs of images (%{size})') % { count: @blobs_count, size: number_to_human_size(@blobs_total_size) }