about summary refs log tree commit diff
path: root/app/views/oauth
diff options
context:
space:
mode:
authorJérémy Benoist <j0k3r@users.noreply.github.com>2017-04-21 16:44:14 +0200
committerEugen <eugen@zeonfederated.com>2017-04-21 16:44:14 +0200
commitb3329c362ee79ca5a9f693eb4c67657fbdd08e08 (patch)
treef511e545bf93e4b022c6878837e6697cd92ff33b /app/views/oauth
parentb00f4a0cf3966dd4d16ba7bb357577c6034b3954 (diff)
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/0254ee9795822ec75ff64ace6ec2b91573bc9a52/app/views/stream_entries/_detailed_status.html.haml#L41
Diffstat (limited to 'app/views/oauth')
-rw-r--r--app/views/oauth/authorized_applications/index.html.haml2
1 files changed, 1 insertions, 1 deletions
diff --git a/app/views/oauth/authorized_applications/index.html.haml b/app/views/oauth/authorized_applications/index.html.haml
index d4719881c..421ed317d 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('<br />').html_safe
         %td= l application.created_at
         %td