debian-mirror-gitlab/app/views/help/instance_configuration/_gitlab_ci.html.haml

25 lines
828 B
Text
Raw Normal View History

2018-03-17 18:26:18 +05:30
- content_for :table_content do
2021-04-29 21:17:54 +05:30
%li= link_to _('GitLab CI'), '#gitlab-ci'
2018-03-17 18:26:18 +05:30
- content_for :settings_content do
%h2#gitlab-ci
2021-04-29 21:17:54 +05:30
= _('GitLab CI')
2018-03-17 18:26:18 +05:30
%p
2021-04-29 21:17:54 +05:30
= _('Below are the current settings regarding')
= succeed('.') { link_to(_('GitLab CI'), 'https://about.gitlab.com/gitlab-ci', target: '_blank') }
2018-03-17 18:26:18 +05:30
.table-responsive
%table
%thead
%tr
2021-04-29 21:17:54 +05:30
%th= _('Setting')
2018-03-17 18:26:18 +05:30
%th= instance_configuration_host(@instance_configuration.settings[:host])
2021-04-29 21:17:54 +05:30
%th= _('Default')
2018-03-17 18:26:18 +05:30
%tbody
%tr
- artifacts_size = @instance_configuration.settings[:gitlab_ci][:artifacts_max_size]
2021-04-29 21:17:54 +05:30
%td= _('Artifacts maximum size')
2018-03-17 18:26:18 +05:30
%td= instance_configuration_human_size_cell(artifacts_size[:value])
%td= instance_configuration_human_size_cell(artifacts_size[:default])