File: _jira_connect.html.haml

package info (click to toggle)
gitlab 17.6.5-19
  • links: PTS, VCS
  • area: main
  • in suites: sid
  • size: 629,368 kB
  • sloc: ruby: 1,915,304; javascript: 557,307; sql: 60,639; xml: 6,509; sh: 4,567; makefile: 1,239; python: 406
file content (26 lines) | stat: -rw-r--r-- 1,523 bytes parent folder | download
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
- expanded = integration_expanded?('jira_connect')

= render ::Layouts::SettingsBlockComponent.new(s_('JiraConnect|GitLab for Jira App'),
  id: 'js-jira_connect-settings',
  expanded: expanded) do |c|
  - c.with_description do
    = s_('JiraConnect|Configure your Jira Connect Application ID.')
    = link_to sprite_icon('question-o'),
        help_page_path('administration/settings/jira_cloud_app.md',
        aria: { label: _('GitLab for Jira Cloud') },
        class: 'has-tooltip',
        anchor: 'install-the-gitlab-for-jira-cloud-app-manually'),
        title: _('More information')
  - c.with_body do
    = gitlab_ui_form_for @application_setting, url: general_admin_application_settings_path(anchor: 'js-jira-connect-application-id-settings'), html: { class: 'fieldset-form', id: 'jira-connect-application-id-settings' } do |f|
      = form_errors(@application_setting)
      .gl-form-group
        = f.label :jira_connect_application_key, s_('JiraConnect|Jira Connect Application ID'), class: 'label-bold'
        = f.text_field :jira_connect_application_key, class: 'form-control gl-form-input'
      .gl-form-group
        = f.label :jira_connect_proxy_url, s_('JiraConnect|Jira Connect Proxy URL'), class: 'label-bold'
        = f.text_field :jira_connect_proxy_url, class: 'form-control gl-form-input'
      .gl-form-group
        = f.gitlab_ui_checkbox_component :jira_connect_public_key_storage_enabled, s_('JiraConnect|Enable public key storage')

      = f.submit _('Save changes'), pajamas_button: true