debian-mirror-gitlab/app/views/admin/application_settings/_jira_connect.html.haml

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

37 lines
1.8 KiB
Text
Raw Normal View History

2022-07-23 23:45:48 +05:30
- expanded = integration_expanded?('jira_connect')
%section.settings.no-animate#js-jira_connect-settings{ class: ('expanded' if expanded) }
.settings-header
2022-08-13 15:12:31 +05:30
%h4.settings-title.js-settings-toggle.js-settings-toggle-trigger-only
2022-07-23 23:45:48 +05:30
= s_('JiraConnect|GitLab for Jira App')
= render Pajamas::ButtonComponent.new(button_options: { class: 'js-settings-toggle' }) do
= expanded ? _('Collapse') : _('Expand')
%p
= s_('JiraConnect|Configure your Jira Connect Application ID.')
2023-04-23 21:23:45 +05:30
= link_to sprite_icon('question-o'),
help_page_path('integration/jira/connect-app',
aria: { label: _('GitLab for Jira Cloud') },
class: 'has-tooltip',
anchor: 'connect-the-gitlab-for-jira-cloud-app-for-self-managed-instances'),
title: _('More information')
2022-07-23 23:45:48 +05:30
.settings-content
= 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|
2022-10-11 01:57:18 +05:30
= form_errors(@application_setting)
2022-07-23 23:45:48 +05:30
%fieldset
.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'
2023-01-13 00:05:48 +05:30
%fieldset
.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'
2023-04-23 21:23:45 +05:30
%fieldset
.form-group
= f.gitlab_ui_checkbox_component :jira_connect_public_key_storage_enabled, s_('JiraConnect|Enable public key storage')
2022-11-25 23:54:43 +05:30
= f.submit _('Save changes'), pajamas_button: true