diff options
Diffstat (limited to 'app/views/admin/application_settings/_help_page.html.haml')
-rw-r--r-- | app/views/admin/application_settings/_help_page.html.haml | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/app/views/admin/application_settings/_help_page.html.haml b/app/views/admin/application_settings/_help_page.html.haml index 5e5ab1e4269..fc31f612b8c 100644 --- a/app/views/admin/application_settings/_help_page.html.haml +++ b/app/views/admin/application_settings/_help_page.html.haml @@ -18,4 +18,9 @@ = f.text_field :help_page_support_url, class: 'form-control', placeholder: 'http://company.example.com/getting-help', :'aria-describedby' => 'support_help_block' %span.form-text.text-muted#support_help_block= _('Alternate support URL for help page and help dropdown') - = f.submit _('Save changes'), class: "btn btn-success" + - if show_documentation_base_url_field? + .form-group + = f.label :help_page_documentation_base_url, _('Documentation pages URL'), class: 'label-bold' + = f.text_field :help_page_documentation_base_url, class: 'form-control', placeholder: 'https://docs.gitlab.com' + + = f.submit _('Save changes'), class: "gl-button btn btn-success" |