summaryrefslogtreecommitdiff
path: root/app/views/projects/settings/operations/show.html.haml
blob: 381e750bbd81ad6ad6fdf456df2c2c473cb38d4f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
- @content_class = 'limit-container-width' unless fluid_layout
- page_title _('Operations Settings')
- page_title _('Operations')

- if Feature.enabled?(:error_tracking, @project, default_enabled: true)
  %section.settings.expanded
    .settings-header
      %h4
        = _('Error Tracking')
      %p
        = _('To link Sentry to Gitlab, enter your Sentry URL and bearer token')
    .settings-content
      / TODO: figure out how to use the form_for helper for this section
      %form
        .form-group
          %div.form-check
            %input.form-check-input(id='checkboxSentry' type='checkbox')
            %label(for='checkboxSentry')
              = _('Active')
        .form-group
          %label.label-bold
            = _('Sentry API URL')
          %input.form-control{:placeholder => _('http://<sentry-host>/<project>')}
        .form-group
          %label.label-bold
            = _('Bearer token')
          %input.form-control{:placeholder => _('Hint token')}
        %input.btn.btn-success{:type => 'submit', :value => _('Save changes')}