]> git.openstreetmap.org Git - rails.git/blobdiff - app/views/oauth2_authorized_applications/_application.html.erb
Merge pull request #5333 from AntonKhorev/auth-buttons-same-as-preferred
[rails.git] / app / views / oauth2_authorized_applications / _application.html.erb
index 28d048c4a098a727d7f289aec84c61ebce69cd6e..4209b8ff919acb36cc5e1bddd98bb3d707fc92ee 100644 (file)
@@ -9,6 +9,9 @@
       <% 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>