Skip to content
代码片段 群组 项目
未验证 提交 053115aa 编辑于 作者: Allen Cook's avatar Allen Cook 提交者: GitLab
浏览文件

Merge branch 'id-add-help-text-to-enforce-ssh-certificates' into 'master'

No related branches found
No related tags found
无相关合并请求
......@@ -2,6 +2,9 @@
%h5= s_('GroupSettings|Enforce SSH Certificates')
.form-group.gl-mb-3
= f.gitlab_ui_checkbox_component :enforce_ssh_certificates,
s_('GroupSettings|Enforce SSH Certificates'),
checkbox_options: { disabled: !can?(current_user, :admin_group, group), checked: group.enforce_ssh_certificates? }
= f.gitlab_ui_checkbox_component :enforce_ssh_certificates, checkbox_options: { disabled: !can?(current_user, :admin_group, group), checked: group.enforce_ssh_certificates? } do |c|
- c.with_label do
= s_('GroupSettings|Enforce SSH Certificates')
- c.with_help_text do
= _("GroupSettings|If enabled, individual user accounts will be able to use only issued SSH certificates for Git access. It doesn't apply to service accounts, deploy keys, and other types of internal accounts.")
= link_to _('GroupSettings|How do I manage group SSH certificates?'), help_page_path('user/group/ssh_certificates')
......@@ -24,9 +24,7 @@
allow(view).to receive(:f).and_return(form)
allow(group).to receive(:ssh_certificates_available?).and_return(true)
expect(form).to receive(:gitlab_ui_checkbox_component).with(
:enforce_ssh_certificates, "Enforce SSH Certificates", anything
)
expect(form).to receive(:gitlab_ui_checkbox_component).with(:enforce_ssh_certificates, anything)
render
......
......@@ -24079,6 +24079,12 @@ msgstr ""
msgid "GroupSettings|Group path cannot be longer than %{length} characters."
msgstr ""
 
msgid "GroupSettings|How do I manage group SSH certificates?"
msgstr ""
msgid "GroupSettings|If enabled, individual user accounts will be able to use only issued SSH certificates for Git access. It doesn't apply to service accounts, deploy keys, and other types of internal accounts."
msgstr ""
msgid "GroupSettings|If not specified at the group or instance level, the default is %{default_initial_branch_name}. Does not affect existing repositories."
msgstr ""
 
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册