Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGitLab Bot <gitlab-bot@gitlab.com>2021-05-04 15:10:04 +0300
committerGitLab Bot <gitlab-bot@gitlab.com>2021-05-04 15:10:04 +0300
commit998adcc422d4161515bf2960ef4dce71258f69a3 (patch)
tree34ffbf53b8587d3367457d4175fc8dfd71477dca /app/views/doorkeeper/authorizations
parente2c471038ab2b4f09487c1feb74520f74f834986 (diff)
Add latest changes from gitlab-org/gitlab@master
Diffstat (limited to 'app/views/doorkeeper/authorizations')
-rw-r--r--app/views/doorkeeper/authorizations/new.html.haml4
1 files changed, 1 insertions, 3 deletions
diff --git a/app/views/doorkeeper/authorizations/new.html.haml b/app/views/doorkeeper/authorizations/new.html.haml
index 5e93b1d89eb..f0e7a96f69f 100644
--- a/app/views/doorkeeper/authorizations/new.html.haml
+++ b/app/views/doorkeeper/authorizations/new.html.haml
@@ -17,10 +17,8 @@
= _("An application called %{link_to_client} is requesting access to your GitLab account.").html_safe % { link_to_client: link_to_client }
- auth_app_owner = @pre_auth.client.application.owner
- - if auth_app_owner
- - link_to_owner = link_to(auth_app_owner.name, user_path(auth_app_owner))
- = _("This application was created by %{link_to_owner}.").html_safe % { link_to_owner: link_to_owner }
+ = auth_app_owner_text(auth_app_owner)
= _("Please note that this application is not provided by GitLab and you should verify its authenticity before allowing access.")
- if @pre_auth.scopes
%p