# HG changeset patch
# User Chris Cannam
# Date 1371204692 -3600
# Node ID f9a81a1a4425f4411b45e87b7b7b26c1ba8e0608
# Parent 598af7ed80caee6d71ffc7338cf71724421548c8
Add "all projects" link to explore page
diff -r 598af7ed80ca -r f9a81a1a4425 app/views/projects/explore.html.erb
--- a/app/views/projects/explore.html.erb Fri Jun 14 10:26:07 2013 +0100
+++ b/app/views/projects/explore.html.erb Fri Jun 14 11:11:32 2013 +0100
@@ -3,7 +3,8 @@
<% end %>
- <%= link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add') if User.current.allowed_to?(:add_project, nil, :global => true) %>
+ <%= link_to l(:label_project_all), { :controller => 'projects', :action => 'index' }%>
+ <%= '| ' + link_to(l(:label_project_new), {:controller => 'projects', :action => 'new'}, :class => 'icon icon-add') if User.current.allowed_to?(:add_project, nil, :global => true) %>
<%= l(:label_explore_projects) %>