Add inviter and time to admin invitations list
This commit is contained in:
		
							parent
							
								
									8c5852fefe
								
							
						
					
					
						commit
						3f1c4f17a7
					
				| @ -17,6 +17,7 @@ | ||||
|           <tr> | ||||
|             <th>Token</th> | ||||
|             <th>Accepted</th> | ||||
|             <th>Inviter</th> | ||||
|             <th>Invited user</th> | ||||
|           </tr> | ||||
|         </thead> | ||||
| @ -24,7 +25,8 @@ | ||||
|           <% @invitations_used.each do |invitation| %> | ||||
|             <tr> | ||||
|               <td class="overflow-ellipsis font-mono"><%= invitation.token %></td> | ||||
|               <td><%= invitation.used_at.strftime("%Y-%m-%d") %></td> | ||||
|               <td><%= invitation.used_at.strftime("%Y-%m-%d (%H:%M UTC)") %></td> | ||||
|               <td><%= invitation.user.address %></td> | ||||
|               <td><%= User.find(invitation.invited_user_id).address %></td> | ||||
|             </tr> | ||||
|           <% end %> | ||||
|  | ||||
		Loading…
	
	
			
			x
			
			
		
	
		Reference in New Issue
	
	Block a user