diff options
Diffstat (limited to 'app/views/shared/doorkeeper/applications/_index.html.haml')
-rw-r--r-- | app/views/shared/doorkeeper/applications/_index.html.haml | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/app/views/shared/doorkeeper/applications/_index.html.haml b/app/views/shared/doorkeeper/applications/_index.html.haml index f28cc64b969..c1aeff9acee 100644 --- a/app/views/shared/doorkeeper/applications/_index.html.haml +++ b/app/views/shared/doorkeeper/applications/_index.html.haml @@ -61,8 +61,9 @@ = _("You don't have any applications.") - else - .bs-callout.bs-callout-disabled - = _('Adding new applications is disabled in your GitLab instance. Please contact your GitLab administrator to get the permission.') + = render Pajamas::AlertComponent.new(variant: :warning, dismissible: false, alert_options: { class: 'gl-mb-5' }) do |c| + - c.with_body do + = s_('Adding new applications is disabled in your GitLab instance. Please contact your GitLab administrator to get the permission.') - if oauth_authorized_applications_enabled = render Pajamas::CardComponent.new(card_options: { class: 'gl-new-card oauth-authorized-applications' }, header_options: { class: 'gl-new-card-header' }, body_options: { class: 'gl-new-card-body gl-px-0' }) do |c| |