X-Git-Url: https://git.openstreetmap.org./rails.git/blobdiff_plain/8078265150c665f0d335b9970a69e63ed9200f19..9ee3df33bd577c65f08db5f68d301f7e8f34298c:/app/views/oauth2_authorized_applications/_application.html.erb?ds=sidebyside diff --git a/app/views/oauth2_authorized_applications/_application.html.erb b/app/views/oauth2_authorized_applications/_application.html.erb index 7cb03de2f..4209b8ff9 100644 --- a/app/views/oauth2_authorized_applications/_application.html.erb +++ b/app/views/oauth2_authorized_applications/_application.html.erb @@ -4,11 +4,14 @@ + + <%= 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") } } %>