diff --git a/app/views/shared/_nav.html.erb b/app/views/shared/_nav.html.erb index 22fc114..222af44 100644 --- a/app/views/shared/_nav.html.erb +++ b/app/views/shared/_nav.html.erb @@ -1,64 +1,64 @@ - + Toggle navigation WebDNS Domains Search <% if admin? %> Admin Groups Jobs Orphans <% end %> <% if user_signed_in? %> <%= current_user.try(:email) %> <% if current_user.can_change_password? %> <%= link_to('Change Password', edit_user_registration_path) %> <% end %> <% if current_user.notifications? %> <%= link_to('Mute notifcications', mute_user_domains_path(current_user), method: :put, title: 'Mute all domain notifications') %> <% else %> <%= link_to('Unmute notifications', unmute_user_domains_path(current_user), method: :put, title: 'Unmute all domain notifications') %> <% end %> <%= link_to('API Token', token_user_path(current_user)) %> <%= link_to('Logout', destroy_user_session_path, method: :delete) %> <% end %>