# HG changeset patch # User Chris Cannam # Date 1358873654 0 # Node ID d67ed1030451cca6322edbe078f8273c8cb37732 # Parent 3c9ca27c2d3dfad71b67d4cac9e2aa44a6cb399f Add new-project link to Explore page diff -r 3c9ca27c2d3d -r d67ed1030451 app/views/projects/explore.html.erb --- a/app/views/projects/explore.html.erb Tue Jan 22 16:51:56 2013 +0000 +++ b/app/views/projects/explore.html.erb Tue Jan 22 16:54:14 2013 +0000 @@ -2,7 +2,12 @@ <%= stylesheet_link_tag 'redmine_tags', :plugin => 'redmine_tags' %> <% 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) %> +
+ <% cache(:action => 'explore', :action_suffix => 'tags', :expires_in => 1.hour) do %> +

<%= l(:label_explore_projects) %>

<%=l(:label_project_tags_all)%>