Remove time from used invitations list

Date is enough.
This commit is contained in:
Basti 2020-12-17 17:01:06 +01:00
parent 8903ae2624
commit f3d6e29e4e
Signed by untrusted user: basti
GPG Key ID: 9F88009D31D99C72

View File

@ -29,7 +29,7 @@
<thead> <thead>
<tr> <tr>
<th>URL</th> <th>URL</th>
<th>Used at</th> <th>Accepted</th>
<th>Invited user</th> <th>Invited user</th>
</tr> </tr>
</thead> </thead>
@ -37,7 +37,7 @@
<% @invitations_used.each do |invitation| %> <% @invitations_used.each do |invitation| %>
<tr> <tr>
<td><%= invitation_url(invitation.token) %></td> <td><%= invitation_url(invitation.token) %></td>
<td><%= invitation.used_at %></td> <td><%= invitation.used_at.strftime("%Y-%m-%d") %></td>
<td><%= User.find(invitation.invited_user_id).address %></td> <td><%= User.find(invitation.invited_user_id).address %></td>
</tr> </tr>
<% end %> <% end %>