2006-11-22 01:39:46 +03:00
|
|
|
<h2><%= $RDM_WELCOME_TITLE || l(:label_home) %></h2>
|
|
|
|
|
2006-06-28 22:11:03 +04:00
|
|
|
<div class="splitcontentleft">
|
2006-11-22 01:39:46 +03:00
|
|
|
<% if $RDM_WELCOME_TEXT %><p><%= $RDM_WELCOME_TEXT %></p><br /><% end %>
|
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-06-28 22:11:03 +04:00
|
|
|
<% for news in @news %>
|
|
|
|
<p>
|
|
|
|
<b><%= news.title %></b> (<%= link_to_user news.author %> <%= format_time(news.created_on) %> - <%= news.project.name %>)<br />
|
2006-11-22 01:27:47 +03:00
|
|
|
<% unless news.summary.empty? %><%= news.summary %><br /><% end %>
|
2006-07-29 23:54:22 +04:00
|
|
|
[<%= link_to l(:label_read), :controller => 'news', :action => 'show', :id => news %>]
|
2006-06-28 22:11:03 +04:00
|
|
|
</p>
|
|
|
|
<hr />
|
|
|
|
<% end %>
|
|
|
|
</div>
|
|
|
|
</div>
|
|
|
|
|
|
|
|
<div class="splitcontentright">
|
|
|
|
<div class="box">
|
2006-07-29 23:54:22 +04:00
|
|
|
<h3><%=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-07-29 13:32:58 +04:00
|
|
|
<%= 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>
|