2007-01-21 14:50:22 +03:00
|
|
|
<h2><%= l(:label_home) %></h2>
|
2006-11-22 01:39:46 +03:00
|
|
|
|
2006-06-28 22:11:03 +04:00
|
|
|
<div class="splitcontentleft">
|
2007-01-21 14:50:22 +03:00
|
|
|
<p><%= Setting.welcome_text %></p>
|
2006-06-28 22:11:03 +04:00
|
|
|
<div class="box">
|
2006-07-29 23:54:22 +04:00
|
|
|
<h3><%=l(:label_news_latest)%></h3>
|
2006-12-17 11:10:18 +03:00
|
|
|
<%= render :partial => 'news/news', :collection => @news %>
|
2006-06-28 22:11:03 +04:00
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="splitcontentright">
|
|
|
|
<div class="box">
|
2007-01-08 22:21:59 +03:00
|
|
|
<h3 class="icon22 icon22-projects"><%=l(:label_project_latest)%></h3>
|
2006-06-28 22:11:03 +04:00
|
|
|
<ul>
|
|
|
|
<% for project in @projects %>
|
|
|
|
<li>
|
2006-07-29 23:54:22 +04:00
|
|
|
<%= link_to project.name, :controller => 'projects', :action => 'show', :id => project %> (<%= format_time(project.created_on) %>)<br />
|
2006-12-17 11:10:18 +03:00
|
|
|
<%=h project.description %>
|
2006-06-28 22:11:03 +04:00
|
|
|
</li>
|
|
|
|
<% end %>
|
|
|
|
</ul>
|
2006-07-29 23:54:22 +04:00
|
|
|
</div>
|
2006-06-28 22:11:03 +04:00
|
|
|
</div>
|
2006-12-26 19:19:12 +03:00
|
|
|
|
|
|
|
<% content_for :header_tags do %>
|
|
|
|
<%= auto_discovery_link_tag(:rss, {:controller => 'feeds' , :action => 'news' }) %>
|
|
|
|
<% end %>
|