huginn/app/views/admin/users
aeter 8ab1f97c7d Close #1914 - remove 'become user' if deactivated user (#1938)
Ticket -- https://github.com/cantino/huginn/issues/1914
Testing -- Local huginn setup
About --
Switching as admin to a user is broken if the user is deactivated.

This code makes the 'Become User' buttons invisible if the user to
be impersonated is deactivated. The buttons used to be visible on:
* /admin/users
* /admin/users/XX/edit

Bonus: removes the 'Become User' button from the 'Edit Users' page
if we are the edited `current_user`.
2017-03-18 17:28:42 -04:00
..
_form.html.erb Close #1914 - remove 'become user' if deactivated user (#1938) 2017-03-18 17:28:42 -04:00
edit.html.erb Add titles to all pages (#1884) 2017-01-30 21:07:37 -05:00
index.html.erb Close #1914 - remove 'become user' if deactivated user (#1938) 2017-03-18 17:28:42 -04:00
new.html.erb Add titles to all pages (#1884) 2017-01-30 21:07:37 -05:00