Commit 0c812544 authored by Dmitriy Zaporozhets's avatar Dmitriy Zaporozhets

Add message about disabled oauth feature in user profile

Signed-off-by: default avatarDmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
parent d304af4b
...@@ -16,6 +16,9 @@ ...@@ -16,6 +16,9 @@
= _('Add new application') = _('Add new application')
= render 'form', application: @application = render 'form', application: @application
%hr %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? - if user_oauth_applications?
.oauth-applications .oauth-applications
%h5 %h5
......
...@@ -355,6 +355,9 @@ msgstr "" ...@@ -355,6 +355,9 @@ msgstr ""
msgid "Add users to group" msgid "Add users to group"
msgstr "" msgstr ""
msgid "Adding new applications is disabled in your GitLab instance. Please contact your GitLab administrator to get the permission"
msgstr ""
msgid "Admin Area" msgid "Admin Area"
msgstr "" msgstr ""
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment