Add message about disabled oauth feature in user profile

Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
Dmitriy Zaporozhets 2018-09-21 14:22:46 +03:00
parent d304af4bb4
commit 0c81254421
No known key found for this signature in database
GPG key ID: 627C5F589F467F17
2 changed files with 6 additions and 0 deletions

View file

@ -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

View file

@ -355,6 +355,9 @@ msgstr ""
msgid "Add users to group"
msgstr ""
msgid "Adding new applications is disabled in your GitLab instance. Please contact your GitLab administrator to get the permission"
msgstr ""
msgid "Admin Area"
msgstr ""