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