Fix broken text in OAuth authorization screen

This commit is contained in:
Stan Hu 2018-08-07 13:53:25 -07:00
parent f3b36ac117
commit 0348309875

View file

@ -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?