Add message about disabled oauth feature in user profile
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
This commit is contained in:
parent
d304af4bb4
commit
0c81254421
2 changed files with 6 additions and 0 deletions
|
@ -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
|
||||
|
|
|
@ -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 ""
|
||||
|
||||
|
|
Loading…
Reference in a new issue