Show last authorization time for OAuth 2 applications
<% end -%>
</ul>
</td>
+ <td class="align-middle">
+ <%= friendly_date_ago(application.authorized_tokens.where(:resource_owner_id => current_user).maximum(:created_at)) %>
+ </td>
<td class="align-middle text-end">
<%= link_to t(".revoke"), oauth_authorized_application_path(application), { :method => :delete, :class => "btn btn-outline-danger", :data => { :confirm => t(".confirm_revoke") } } %>
</td>
<tr>
<th><%= t ".application" %></th>
<th><%= t ".permissions" %></th>
+ <th><%= t ".last_authorized" %></th>
<th></th>
</tr>
</thead>
title: "My Authorized Applications"
application: "Application"
permissions: "Permissions"
+ last_authorized: "Last Authorized"
no_applications_html: "You have not yet authorized any %{oauth2} applications."
oauth_2: "OAuth 2"
application: