1 <h2><%= l(:label_home) %></h2>
3 <div class="splitcontentleft">
4 <%= textilizable Setting.welcome_text %>
7 <h3><%=l(:label_news_latest)%></h3>
8 <%= render :partial => 'news/news', :collection => @news %>
9 <%= link_to l(:label_news_view_all), :controller => 'news' %>
12 <%= call_hook(:view_welcome_index_left, :projects => @projects) %>
15 <div class="splitcontentright">
16 <% if @projects.any? %>
17 <div class="projects box">
18 <h3><%=l(:label_project_latest)%></h3>
20 <% for project in @projects %>
22 <%= link_to h(project.name), :controller => 'projects', :action => 'show', :id => project %> (<%= format_time(project.created_on) %>)
23 <%= textilizable project.short_description, :project => project %>
29 <%= call_hook(:view_welcome_index_right, :projects => @projects) %>
32 <% content_for :header_tags do %>
33 <%= auto_discovery_link_tag(:atom, {:controller => 'news', :action => 'index', :key => User.current.rss_key, :format => 'atom'},
34 :title => "#{Setting.app_title}: #{l(:label_news_latest)}") %>
35 <%= auto_discovery_link_tag(:atom, {:controller => 'projects', :action => 'activity', :key => User.current.rss_key, :format => 'atom'},
36 :title => "#{Setting.app_title}: #{l(:label_activity)}") %>