X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/c376962c9cc08d7787c28e447705c19242c0d638..71cb2c50fcaf29e2b933fc981e40a00223d94d34:/app/views/oauth2_authorized_applications/_application.html.erb diff --git a/app/views/oauth2_authorized_applications/_application.html.erb b/app/views/oauth2_authorized_applications/_application.html.erb index 8abbb26ed..4209b8ff9 100644 --- a/app/views/oauth2_authorized_applications/_application.html.erb +++ b/app/views/oauth2_authorized_applications/_application.html.erb @@ -5,10 +5,13 @@ + + <%= friendly_date_ago(application.authorized_tokens.where(:resource_owner_id => current_user).maximum(:created_at)) %> + <%= link_to t(".revoke"), oauth_authorized_application_path(application), { :method => :delete, :class => "btn btn-outline-danger", :data => { :confirm => t(".confirm_revoke") } } %>