diff options
author | Achilleas Pipinellis <axilleas@axilleas.me> | 2017-01-31 15:53:45 +0000 |
---|---|---|
committer | Achilleas Pipinellis <axilleas@axilleas.me> | 2017-01-31 15:53:45 +0000 |
commit | d4246054b4604a4494b60fee9ca3235a3e659d05 (patch) | |
tree | 1ca874a76e02bfbbf150223d99290d7736ce9a1a /app/views | |
parent | 1ccccccf7f2fd9b7af7c8f56bd8040b9b685d1c2 (diff) | |
parent | ff4a6323d163c987a73523a7f16440d1baffb939 (diff) | |
download | gitlab-ce-d4246054b4604a4494b60fee9ca3235a3e659d05.tar.gz |
Merge branch 'correct-gitlab-host-references' into 'master'
Corrected docs href's
See merge request !8527
Diffstat (limited to 'app/views')
-rw-r--r-- | app/views/shared/_import_form.html.haml | 2 | ||||
-rw-r--r-- | app/views/shared/_outdated_browser.html.haml | 3 | ||||
-rw-r--r-- | app/views/shared/notifications/_custom_notifications.html.haml | 2 |
3 files changed, 3 insertions, 4 deletions
diff --git a/app/views/shared/_import_form.html.haml b/app/views/shared/_import_form.html.haml index 300022d4ad6..54b5ae2402e 100644 --- a/app/views/shared/_import_form.html.haml +++ b/app/views/shared/_import_form.html.haml @@ -13,4 +13,4 @@ %li The import will time out after 15 minutes. For repositories that take longer, use a clone/push combination. %li - To migrate an SVN repository, check out #{link_to "this document", "http://doc.gitlab.com/ce/workflow/importing/migrating_from_svn.html"}. + To migrate an SVN repository, check out #{link_to "this document", help_page_path('workflow/importing/migrating_from_svn')}. diff --git a/app/views/shared/_outdated_browser.html.haml b/app/views/shared/_outdated_browser.html.haml index 0eba1fe075f..c06d1ffa59b 100644 --- a/app/views/shared/_outdated_browser.html.haml +++ b/app/views/shared/_outdated_browser.html.haml @@ -1,8 +1,7 @@ - if outdated_browser? - - link = "https://gitlab.com/gitlab-org/gitlab-ce/blob/master/doc/install/requirements.md#supported-web-browsers" .browser-alert GitLab may not work properly because you are using an outdated web browser. %br Please install a - = link_to 'supported web browser', link + = link_to 'supported web browser', help_page_url('install/requirements', anchor: 'supported-web-browsers') for a better experience. diff --git a/app/views/shared/notifications/_custom_notifications.html.haml b/app/views/shared/notifications/_custom_notifications.html.haml index b5c0a7fd6d4..a736bfd91e2 100644 --- a/app/views/shared/notifications/_custom_notifications.html.haml +++ b/app/views/shared/notifications/_custom_notifications.html.haml @@ -18,7 +18,7 @@ %p Custom notification levels are the same as participating levels. With custom notification levels you will also receive notifications for select events. To find out more, check out = succeed "." do - %a{ href: "http://docs.gitlab.com/ce/workflow/notifications.html", target: "_blank" } notification emails + %a{ href: help_page_path('workflow/notifications'), target: "_blank" } notification emails .col-lg-8 - NotificationSetting::EMAIL_EVENTS.each_with_index do |event, index| - field_id = "#{notifications_menu_identifier("modal", notification_setting)}_notification_setting[#{event}]" |