summaryrefslogtreecommitdiff
path: root/app/views/profiles/preferences/_gitpod.html.haml
blob: 69c9443ebbb08a97a4f9c769de8dfdaf84a83028 (plain)
1
2
3
4
5
6
7
8
9
10
11
- gitpod_link = link_to("Gitpod#{sprite_icon('external-link', size: 12, css_class: 'ml-1 vertical-align-center')}".html_safe, 'https://gitpod.io/', target: '_blank', rel: 'noopener noreferrer')

%label.label-bold#gitpod
  = s_('Gitpod')
= link_to sprite_icon('question-o'), help_page_path('integration/gitpod.md'), target: '_blank', class: 'has-tooltip', title: _('More information')
.form-group.form-check
  = f.check_box :gitpod_enabled, class: 'form-check-input'
  = f.label :gitpod_enabled, class: 'form-check-label' do
    = s_('Gitpod|Enable Gitpod integration').html_safe
  .form-text.text-muted
    = s_('Enable %{gitpod_link} integration to launch a development environment in your browser directly from GitLab.').html_safe % { gitpod_link: gitpod_link }