Chris@0:

<%= l(:label_home) %>

Chris@0: Chris@0:
Chris@0: <%= textilizable Setting.welcome_text %> Chris@0: <% if @news.any? %> Chris@0:
Chris@0:

<%=l(:label_news_latest)%>

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

<%=l(:label_project_latest)%>

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