From 54164971c366156410fae7a975743c6fb8fa2639 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Benoist?= Date: Fri, 21 Apr 2017 16:44:14 +0200 Subject: [PATCH] Open authorized application in a new window (#2250) Like it's already done when you click on an application from a toot, it's opening in a new window. https://github.com/tootsuite/mastodon/blob/462e956164f7f82f5ae7e1a1419e339ff77cf80f/app/views/stream_entries/_detailed_status.html.haml#L41 --- app/views/oauth/authorized_applications/index.html.haml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/app/views/oauth/authorized_applications/index.html.haml b/app/views/oauth/authorized_applications/index.html.haml index d4719881cf..421ed317d5 100644 --- a/app/views/oauth/authorized_applications/index.html.haml +++ b/app/views/oauth/authorized_applications/index.html.haml @@ -15,7 +15,7 @@ - if application.website.blank? = application.name - else - = link_to application.name, application.website + = link_to application.name, application.website, target: '_blank', rel: 'noopener' %th= application.scopes.map { |scope| t(scope, scope: [:doorkeeper, :scopes]) }.join('
').html_safe %td= l application.created_at %td