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

13 lines
525 B
Text
Raw Normal View History

2021-02-22 17:27:13 +05:30
- proxy_url = "#{group_url(@group)}#{DependencyProxy::URL_SUFFIX}"
2021-01-29 00:20:46 +05:30
%h5.prepend-top-20= _('Dependency proxy URL')
.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
.col-12.help-block.gl-mt-3
= _('Contains %{count} blobs of images (%{size})') % { count: @blobs_count, size: number_to_human_size(@blobs_total_size) }