changeset 1303:537026b96b8b redmine-2.2-integration

Merge from branch cannam
author Chris Cannam
date Fri, 14 Jun 2013 11:12:18 +0100
parents e9f9943f02f9 (current diff) f9a81a1a4425 (diff)
children 097d38a73624
files app/views/projects/explore.html.erb
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/app/views/projects/explore.html.erb	Fri Jun 14 10:27:07 2013 +0100
+++ b/app/views/projects/explore.html.erb	Fri Jun 14 11:12:18 2013 +0100
@@ -3,7 +3,8 @@
 <% end %>
 
 <div class="contextual">
-    <%= 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')).html_safe if User.current.allowed_to?(:add_project, nil, :global => true) %>
 </div>
 
 <h2><%= l(:label_explore_projects) %></h2>