<% breadcrumb_paths(nil) %>
<%= textilizable Setting.welcome_text %>
<% if @news.any? %>

<%=l(:label_news_latest)%>

<%= render :partial => 'news/news', :collection => @news %> <%= link_to l(:label_news_view_all), :controller => '/news' %>
<% end %> <%= call_hook(:view_welcome_index_left, :projects => @projects) %>
<% if @projects.any? %>

<%=l(:label_project_latest)%>

<% end %> <%= call_hook(:view_welcome_index_right, :projects => @projects) %>
<% content_for :header_tags do %> <%= auto_discovery_link_tag(:atom, {:controller => '/news', :action => 'index', :key => User.current.rss_key, :format => 'atom'}, :title => "#{Setting.app_title}: #{l(:label_news_latest)}") %> <%= auto_discovery_link_tag(:atom, {:controller => '/activities', :action => 'index', :key => User.current.rss_key, :format => 'atom'}, :title => "#{Setting.app_title}: #{l(:label_activity)}") %> <% end %>