docbrown/app/views/admin/users/index.html.erb
Anna Buianova 5430448305
Confirmations that users GDPR data was deleted (#11039)
* Display gdpr delete requests for deleted users in admin

* Added a test for destroy a gdpr request

* Reorganized gdpr requests menu

* Update schema version

* Added a link to the flash notice after user delete by admin

* Fix namespace for tests

* Aligh schema.rb with master

* Added a missing newline

* Removed unused partial

* Fix typo

Co-authored-by: Michael Kohl <me@citizen428.net>

* Replaced string with symbols for AR

Co-authored-by: Michael Kohl <me@citizen428.net>

* Added an AuditLog record on gdpr delete confirmation

* Make email and user_id required in Users::GdprDeleteRequest

* Checked out package.json from master

* Fix Gdpr => GDPR

* Added missing space

* Remove unneeded freeze

Co-authored-by: Michael Kohl <me@citizen428.net>
2020-12-14 12:49:45 +03:00

30 lines
756 B
Text

<%= render "menu" %>
<%= paginate @users, theme: "internal" %>
<table class="crayons-table" width="100%">
<thead>
<tr>
<th scope="col">User</th>
<th scope="col">ID</th>
<th scope="col">Name</th>
<th scope="col">Twitter</th>
<th scope="col">GitHub</th>
<th scope="col">Email</th>
</tr>
</thead>
<tbody class="crayons-card">
<% @users.each do |user| %>
<tr>
<td><%= link_to user.username, admin_user_path(user) %></td>
<td><%= user.id %></td>
<td><%= user.name %></td>
<td><%= user_twitter_link(user) %></td>
<td><%= user_github_link(user) %></td>
<td><%= user.email %></td>
</tr>
<% end %>
</tbody>
</table>
<%= paginate @users, theme: "internal" %>