diff options
author | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-07 12:08:49 +0300 |
---|---|---|
committer | GitLab Bot <gitlab-bot@gitlab.com> | 2020-02-07 12:08:49 +0300 |
commit | 456a7247f9e88fc2518b69a1a00e905c6db6d775 (patch) | |
tree | 6235f3838cbf078d46de056442d9562ee4abbd74 /app | |
parent | ddd268b03b6f35c68e5a89606dbfd516f72846fd (diff) |
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app')
-rw-r--r-- | app/assets/javascripts/pages/users/user_tabs.js | 3 | ||||
-rw-r--r-- | app/views/clusters/clusters/_form.html.haml | 2 | ||||
-rw-r--r-- | app/views/help/ui.html.haml | 4 |
3 files changed, 5 insertions, 4 deletions
diff --git a/app/assets/javascripts/pages/users/user_tabs.js b/app/assets/javascripts/pages/users/user_tabs.js index 4ac4efec45d..885150eef9d 100644 --- a/app/assets/javascripts/pages/users/user_tabs.js +++ b/app/assets/javascripts/pages/users/user_tabs.js @@ -1,4 +1,5 @@ import $ from 'jquery'; +import { GlBreakpointInstance as bp } from '@gitlab/ui/dist/utils'; import axios from '~/lib/utils/axios_utils'; import Activities from '~/activities'; import { localTimeAgo } from '~/lib/utils/datetime_utility'; @@ -209,7 +210,7 @@ export default class UserTabs { loadActivityCalendar() { const $calendarWrap = this.$parentEl.find('.tab-pane.active .user-calendar'); - if (!$calendarWrap.length) return; + if (!$calendarWrap.length || bp.getBreakpointSize() === 'xs') return; const calendarPath = $calendarWrap.data('calendarPath'); diff --git a/app/views/clusters/clusters/_form.html.haml b/app/views/clusters/clusters/_form.html.haml index f9085b781fb..a85b005b2b4 100644 --- a/app/views/clusters/clusters/_form.html.haml +++ b/app/views/clusters/clusters/_form.html.haml @@ -31,7 +31,7 @@ = s_('ClusterIntegration|Alternatively') %code{ :class => "js-ingress-domain-snippet" } #{@cluster.application_ingress_external_ip}.nip.io = s_('ClusterIntegration| can be used instead of a custom domain.') - - custom_domain_url = help_page_path('user/project/clusters/index', anchor: 'pointing-your-dns-at-the-external-endpoint') + - custom_domain_url = help_page_path('user/clusters/applications.md', anchor: 'pointing-your-dns-at-the-external-endpoint') - custom_domain_start = '<a href="%{url}" target="_blank" rel="noopener noreferrer">'.html_safe % { url: custom_domain_url } = s_('ClusterIntegration| %{custom_domain_start}More information%{custom_domain_end}.').html_safe % { custom_domain_start: custom_domain_start, custom_domain_end: '</a>'.html_safe } diff --git a/app/views/help/ui.html.haml b/app/views/help/ui.html.haml index b8a421ac9d3..7e0b444e5d7 100644 --- a/app/views/help/ui.html.haml +++ b/app/views/help/ui.html.haml @@ -283,7 +283,7 @@ Dropdown option .dropdown-footer %strong Tip: - If an author is not a member of this project, you can still filter by his name while using the search field. + If an author is not a member of this project, you can still filter by their name while using the search field. .dropdown.inline %button.dropdown-menu-toggle{ type: 'button', data: { toggle: 'dropdown' } } Dropdown loading @@ -322,7 +322,7 @@ Dropdown option .dropdown-footer %strong Tip: - If an author is not a member of this project, you can still filter by his name while using the search field. + If an author is not a member of this project, you can still filter by their name while using the search field. .dropdown-loading = icon('spinner spin') |