diff --git a/app/views/projects/index.html.erb b/app/views/projects/index.html.erb index c318b5077..1add4f2b5 100644 --- a/app/views/projects/index.html.erb +++ b/app/views/projects/index.html.erb @@ -1,26 +1,23 @@ <% content_for :header_tags do %> -<%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %> + <%= auto_discovery_link_tag(:atom, {:action => 'index', :format => 'atom', :key => User.current.rss_key}) %> <% 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) %> +
+ <%= form_tag(projects_path, :method => :get) do %>
- - - - - - - -
<%= l(:label_project_plural)%><%= 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_project_plural)%> +
-<%end%> +<% end %>
- <%= render_project_hierarchy(@projects)%> +<%= render_project_hierarchy(@projects)%>