Chris@1296: <%= textilizable Setting.welcome_text %>
Chris@1296: <% if @news.any? %>
Chris@1296:
Chris@1296:
<%=l(:label_news_latest)%>
Chris@1296: <%= render :partial => 'news/news', :collection => @news %>
Chris@1296: <%= link_to l(:label_news_view_all), :controller => 'news' %>
Chris@1296:
Chris@1296: <% end %>
Chris@1296: <%= call_hook(:view_welcome_index_left, :projects => @projects) %>
Chris@1296:
Chris@1296:
Chris@1296:
Chris@1296: <% if @projects.any? %>
Chris@1296:
Chris@1296:
<%=l(:label_project_latest)%>
Chris@1296:
Chris@1296: <% for project in @projects %>
Chris@1296: <% @project = project %>
Chris@1296: -
Chris@1296: <%= link_to_project project %> (<%= format_time(project.created_on) %>)
Chris@1296: <%= textilizable project.short_description, :project => project %>
Chris@1296:
Chris@1296: <% end %>
Chris@1296: <% @project = nil %>
Chris@1296:
Chris@1296:
Chris@1296: <% end %>
Chris@1296: <%= call_hook(:view_welcome_index_right, :projects => @projects) %>
Chris@1296:
Chris@1296:
Chris@1296: <% content_for :header_tags do %>
Chris@1296: <%= auto_discovery_link_tag(:atom, {:controller => 'news', :action => 'index', :key => User.current.rss_key, :format => 'atom'},
Chris@1296: :title => "#{Setting.app_title}: #{l(:label_news_latest)}") %>
Chris@1296: <%= auto_discovery_link_tag(:atom, {:controller => 'activities', :action => 'index', :key => User.current.rss_key, :format => 'atom'},
Chris@1296: :title => "#{Setting.app_title}: #{l(:label_activity)}") %>
Chris@1296: <% end %>