debian-mirror-gitlab/app/views/profiles/chat_names/new.html.haml

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

29 lines
1.5 KiB
Text
Raw Normal View History

2023-05-27 22:25:52 +05:30
- @hide_search_settings = true
2017-08-17 22:00:37 +05:30
2023-05-27 22:25:52 +05:30
%main{ role: 'main' }
.gl-max-w-80.gl-mx-auto.gl-mt-6
= render Pajamas::CardComponent.new do |c|
- c.header do
2023-06-20 00:43:36 +05:30
%h4.gl-m-0= sprintf(s_('Integrations|Authorize %{integration_name} (%{user}) to use your account?'), { user: @chat_name_params[:chat_name], integration_name: @integration_name })
2023-05-27 22:25:52 +05:30
- c.body do
%p
2023-06-20 00:43:36 +05:30
= sprintf(s_('Integrations|An application called %{integration_name} is requesting access to your GitLab account. This application was created by GitLab Inc.'), { integration_name: @integration_name })
2023-05-27 22:25:52 +05:30
%p
= _('This application will be able to:')
%ul
%li= s_('SlackIntegration|Create and read issue data and comments.')
%li= s_('SlackIntegration|Perform deployments.')
%li= s_('SlackIntegration|Run ChatOps jobs.')
%p.gl-mb-0
= s_("SlackIntegration|You don't have to reauthorize this application if the permission scope changes in future releases.")
- c.footer do
.gl-display-flex
= form_tag profile_chat_names_path, method: :post do
= hidden_field_tag :token, @chat_name_token.token
= render Pajamas::ButtonComponent.new(type: :submit, variant: :danger) do
= _('Authorize')
= form_tag deny_profile_chat_names_path, method: :delete do
= hidden_field_tag :token, @chat_name_token.token
= render Pajamas::ButtonComponent.new(type: :submit, button_options: { class: 'gl-ml-3' }) do
= _('Deny')