summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRémy Coutable <remy@rymai.me>2018-08-08 08:02:30 +0000
committerRémy Coutable <remy@rymai.me>2018-08-08 08:02:30 +0000
commit73d6633bb9350885e21c2237500d61eb502d34d6 (patch)
tree077009000f4caf925464b518f44171672729da54
parent4271325283cf4bb5fda5ffffbd4b8d1465834efa (diff)
parent03483098752216a541ff1e18cd11792adfe1fa71 (diff)
downloadgitlab-ce-73d6633bb9350885e21c2237500d61eb502d34d6.tar.gz
Merge branch 'sh-fix-oauth-link-to-message' into 'master'
Fix broken text in OAuth authorization screen See merge request gitlab-org/gitlab-ce!21080
-rw-r--r--app/views/doorkeeper/authorizations/new.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/doorkeeper/authorizations/new.html.haml b/app/views/doorkeeper/authorizations/new.html.haml
index ca62a59d909..74791b81ccd 100644
--- a/app/views/doorkeeper/authorizations/new.html.haml
+++ b/app/views/doorkeeper/authorizations/new.html.haml
@@ -4,7 +4,7 @@
.modal-header
%h3.page-title
- link_to_client = link_to(@pre_auth.client.name, @pre_auth.redirect_uri, target: '_blank', rel: 'noopener noreferrer')
- = _("Authorize %{link_to_client} to use your account?")
+ = _("Authorize %{link_to_client} to use your account?").html_safe % { link_to_client: link_to_client }
.modal-body
- if current_user.admin?