summaryrefslogtreecommitdiff
path: root/app/views/doorkeeper/applications/index.html.haml
diff options
context:
space:
mode:
Diffstat (limited to 'app/views/doorkeeper/applications/index.html.haml')
-rw-r--r--app/views/doorkeeper/applications/index.html.haml3
1 files changed, 3 insertions, 0 deletions
diff --git a/app/views/doorkeeper/applications/index.html.haml b/app/views/doorkeeper/applications/index.html.haml
index b11f441b3ba..1f5c70a6c6e 100644
--- a/app/views/doorkeeper/applications/index.html.haml
+++ b/app/views/doorkeeper/applications/index.html.haml
@@ -16,6 +16,9 @@
= _('Add new application')
= render 'form', application: @application
%hr
+ - else
+ .bs-callout.bs-callout-disabled
+ = _('Adding new applications is disabled in your GitLab instance. Please contact your GitLab administrator to get the permission')
- if user_oauth_applications?
.oauth-applications
%h5