refactored favorites:
instead of using a fav page for each content, use a general favorites pane where the user can select which favs shall be shown
This commit is contained in:
@@ -0,0 +1,6 @@
|
||||
<div class='favNav'>
|
||||
<%= link_to 'People', favorites_people_url%>
|
||||
<%= link_to 'Courses', favorites_courses_url %>
|
||||
<%= link_to 'Theses', favorites_theses_url %>
|
||||
<%= link_to 'Projects', favorites_projects_url %>
|
||||
</div>
|
||||
@@ -0,0 +1,3 @@
|
||||
<%= render(:partial => "nav")%>
|
||||
|
||||
<p>Fav Courses</p>
|
||||
@@ -0,0 +1,2 @@
|
||||
<%= render(:partial => "nav")%>
|
||||
|
||||
+2
@@ -1,3 +1,5 @@
|
||||
<%= render(:partial => "nav")%>
|
||||
|
||||
<h1>Favorite People</h1>
|
||||
|
||||
<ul class="people-list">
|
||||
@@ -0,0 +1,3 @@
|
||||
<%= render(:partial => "nav")%>
|
||||
|
||||
<p>Fav Projects</p>
|
||||
@@ -0,0 +1,3 @@
|
||||
<%= render(:partial => "nav")%>
|
||||
|
||||
<p>Fav Theses</p>
|
||||
Reference in New Issue
Block a user