@@ -1,30 +1,30 | |||
|
1 | <h2><%= $RDM_WELCOME_TITLE || l(:label_home) %></h2> | |
|
2 | ||
|
1 | 3 | <div class="splitcontentleft"> |
|
2 | <h2><%= $RDM_WELCOME_TITLE || l(:label_home) %></h2> | |
|
3 | <p><%= $RDM_WELCOME_TEXT %></p> | |
|
4 | ||
|
4 | <% if $RDM_WELCOME_TEXT %><p><%= $RDM_WELCOME_TEXT %></p><br /><% end %> | |
|
5 | 5 | <div class="box"> |
|
6 | 6 | <h3><%=l(:label_news_latest)%></h3> |
|
7 | 7 | <% for news in @news %> |
|
8 | 8 | <p> |
|
9 | 9 | <b><%= news.title %></b> (<%= link_to_user news.author %> <%= format_time(news.created_on) %> - <%= news.project.name %>)<br /> |
|
10 | 10 | <% unless news.summary.empty? %><%= news.summary %><br /><% end %> |
|
11 | 11 | [<%= link_to l(:label_read), :controller => 'news', :action => 'show', :id => news %>] |
|
12 | 12 | </p> |
|
13 | 13 | <hr /> |
|
14 | 14 | <% end %> |
|
15 | 15 | </div> |
|
16 | 16 | </div> |
|
17 | 17 | |
|
18 | 18 | <div class="splitcontentright"> |
|
19 | 19 | <div class="box"> |
|
20 | 20 | <h3><%=l(:label_project_latest)%></h3> |
|
21 | 21 | <ul> |
|
22 | 22 | <% for project in @projects %> |
|
23 | 23 | <li> |
|
24 | 24 | <%= link_to project.name, :controller => 'projects', :action => 'show', :id => project %> (<%= format_time(project.created_on) %>)<br /> |
|
25 | 25 | <%= project.description %> |
|
26 | 26 | </li> |
|
27 | 27 | <% end %> |
|
28 | 28 | </ul> |
|
29 | 29 | </div> |
|
30 | 30 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now