1
0
Fork 1
forked from fedi/mastodon

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.
0254ee9795/app/views/stream_entries/_detailed_status.html.haml (L41)
This commit is contained in:
Jérémy Benoist 2017-04-21 16:44:14 +02:00 committed by Eugen
parent b00f4a0cf3
commit b3329c362e

View file

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