Main nav bar now contains 3 menus:
- Home - Search TISS - Your Favorites
This commit is contained in:
parent
ae6a202e59
commit
a8f4d4a9db
@ -21,18 +21,16 @@
|
||||
<a href="#" class="logo">tiss2go</a>
|
||||
<div class="left-menu">
|
||||
<%= link_to 'Home', root_path %>
|
||||
<%= link_to 'Search', tiss_crawler_search_path %>
|
||||
<%= link_to 'Favorite People', '/favorites/favorite_person/index' %>
|
||||
<%#= link_to 'Projects', projects_index_path %>
|
||||
<%#= link_to 'Theses', theses_index_path %>
|
||||
<%= link_to 'Search TISS', tiss_crawler_search_path %>
|
||||
<%= link_to 'Your Favorites', '/favorites/index' %>
|
||||
</div>
|
||||
<div class="right-menu">
|
||||
<% if user_signed_in? %>
|
||||
<%= link_to 'Edit profile', edit_user_registration_path %><!--
|
||||
--><%= link_to "Log out", destroy_user_session_path, method: :delete %>
|
||||
<%= link_to 'Edit profile', edit_user_registration_path %>
|
||||
<%= link_to "Log out", destroy_user_session_path, method: :delete %>
|
||||
<% else %>
|
||||
<%= link_to "Sign up", new_user_registration_path %><!--
|
||||
--><%= link_to "Log in", new_user_session_path %>
|
||||
<%= link_to "Sign up", new_user_registration_path %>
|
||||
<%= link_to "Log in", new_user_session_path %>
|
||||
<% end %>
|
||||
</div>
|
||||
</nav>
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user