diff --git a/app/views/shared/_nav.html.erb b/app/views/shared/_nav.html.erb index 98af7f0..922f606 100644 --- a/app/views/shared/_nav.html.erb +++ b/app/views/shared/_nav.html.erb @@ -1,57 +1,57 @@ - + Toggle navigation WebDNS Domains - <%= link_to 'API Documentation', help_api_path %> - <%= mail_to WebDNS.settings[:contact_mail], 'Contact' %> + + + + + Search + + <% if admin? %> Admin Groups Jobs Orphans <% end %> + <% if user_signed_in? %> <%= current_user.try(:email) %> <%= link_to('Logout', destroy_user_session_path, method: :delete) %> Profile <% if current_user.can_change_password? %> <%= link_to('Change Password', edit_user_registration_path) %> <% end %> <%= link_to('API Token', token_user_path(current_user)) %> <% end %> - - - - - Search -