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:
authorStan Hu <stanhu@gmail.com>2018-08-07 23:53:25 +0300
committerStan Hu <stanhu@gmail.com>2018-08-08 08:29:37 +0300
commit03483098752216a541ff1e18cd11792adfe1fa71 (patch)
tree654dce7ad8cd0291bfa899cb14b999a6604944b1
parentf3b36ac1171f6d170d008c52a0a324a438f3e886 (diff)
Fix broken text in OAuth authorization screen
-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?