summaryrefslogtreecommitdiff
path: root/app/views/profiles/preferences/_integrations.html.haml
blob: 037fe5df263ed0983031f7c7fedcf9a5124c3346 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
- views = integration_views
- return unless views.any?

.col-sm-12
  %hr

.col-lg-4.profile-settings-sidebar#integrations
  %h4.gl-mt-0
    = s_('Preferences|Integrations')
  %p
    = s_('Preferences|Customize integrations with third party services.')
    = succeed '.' do
      = link_to _('Learn more'), help_page_path('user/profile/preferences.md', anchor: 'integrations'), target: '_blank'

.col-lg-8
  - views.each do |view|
    = render view, f: f