From 3f1c4f17a70ff7a9faa15ce91cef440f4bc21837 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?R=C3=A2u=20Cao?= Date: Fri, 23 Dec 2022 12:23:29 +0700 Subject: [PATCH] Add inviter and time to admin invitations list --- app/views/admin/invitations/index.html.erb | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/app/views/admin/invitations/index.html.erb b/app/views/admin/invitations/index.html.erb index 584188e..4bad1fb 100644 --- a/app/views/admin/invitations/index.html.erb +++ b/app/views/admin/invitations/index.html.erb @@ -17,6 +17,7 @@ Token Accepted + Inviter Invited user @@ -24,7 +25,8 @@ <% @invitations_used.each do |invitation| %> <%= invitation.token %> - <%= invitation.used_at.strftime("%Y-%m-%d") %> + <%= invitation.used_at.strftime("%Y-%m-%d (%H:%M UTC)") %> + <%= invitation.user.address %> <%= User.find(invitation.invited_user_id).address %> <% end %>