Skip to content
代码片段 群组 项目
提交 92bbbbe6 编辑于 作者: Chad Lavimoniere's avatar Chad Lavimoniere
浏览文件

Ensure docs and config links on admin dashboard are accessible

Changelog: fixed
上级 c9595130
No related branches found
No related tags found
2 合并请求!3031Merge per-main-jh to main-jh by luzhiyuan,!3030Merge per-main-jh to main-jh
......@@ -20,7 +20,11 @@ def feature_entry(title, href: nil, enabled: true, doc_href: nil, last: false, c
if href.present?
concat(render(Pajamas::ButtonComponent.new(icon: 'settings', category: :tertiary, size: :small, href: href,
button_options: { title: _('Configure'), class: 'gl-ml-2 has-tooltip', aria: { label: _('Configure') } })))
button_options: {
title: _('Configure'),
class: 'gl-ml-2 has-tooltip',
aria: { label: format(_('Configure feature "%{name}"'), name: title) }
})))
end
if doc_href.present?
......@@ -29,6 +33,7 @@ def feature_entry(title, href: nil, enabled: true, doc_href: nil, last: false, c
doc_href,
class: 'gl-ml-4 gl-mr-2 has-tooltip',
title: _('Documentation'),
aria: { label: format(_('Documentation about the "%{name}" feature'), name: title) },
target: '_blank',
rel: 'noopener noreferrer'
)
......
......@@ -15505,6 +15505,9 @@ msgstr ""
msgid "Configure custom rules for Jira issue key matching"
msgstr ""
 
msgid "Configure feature \"%{name}\""
msgstr ""
msgid "Configure import sources and settings related to import and export features."
msgstr ""
 
......@@ -21374,6 +21377,9 @@ msgstr ""
msgid "Documentation"
msgstr ""
 
msgid "Documentation about the \"%{name}\" feature"
msgstr ""
msgid "Documentation for popular identity providers"
msgstr ""
 
0% 加载中 .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册