diff app/views/projects/index.rhtml @ 68:60c0a4e08e09 luisf

Feature #35: The projects page now is separated in "My Projects" and "Other Projects".
author luisf
date Mon, 06 Dec 2010 17:50:43 +0000
parents 40f7cfd4df19
children dc22c3eb3c81
line wrap: on
line diff
--- a/app/views/projects/index.rhtml	Mon Dec 06 13:48:52 2010 +0000
+++ b/app/views/projects/index.rhtml	Mon Dec 06 17:50:43 2010 +0000
@@ -9,9 +9,12 @@
     <%= link_to l(:label_overall_activity), { :controller => 'activities', :action => 'index' }%>
 </div>
 
-<h2><%=l(:label_project_plural)%></h2>
+<h2><%=l(:label_my_project_plural)%></h2>
+<%= render_my_project_hierarchy(@projects)%>
 
-<%= render_project_hierarchy(@projects)%>
+
+<h2><%=l(:label_other_project_plural)%></h2>
+<%= render_other_project_hierarchy(@projects)%>
 
 <% if User.current.logged? %>
 <p style="text-align:right;">
@@ -19,6 +22,13 @@
 </p>
 <% end %>
 
+
+
+
+
+
+
+
 <% other_formats_links do |f| %>
 	<%= f.link_to 'Atom', :url => {:key => User.current.rss_key} %>
 <% end %>