@@ -52,9 +52,11 | |||||
52 | </div> |
|
52 | </div> | |
53 | <% end %> |
|
53 | <% end %> | |
54 |
|
54 | |||
|
55 | <% if @news.any? %> | |||
55 | <div class="box"> |
|
56 | <div class="box"> | |
56 | <h3><%=l(:label_news_latest)%></h3> |
|
57 | <h3><%=l(:label_news_latest)%></h3> | |
57 | <%= render :partial => 'news/news', :collection => @news %> |
|
58 | <%= render :partial => 'news/news', :collection => @news %> | |
58 | <p class="textcenter"><small><%= link_to l(:label_news_view_all), :controller => 'projects', :action => 'list_news', :id => @project %></small></p> |
|
59 | <p class="textcenter"><small><%= link_to l(:label_news_view_all), :controller => 'projects', :action => 'list_news', :id => @project %></small></p> | |
59 | </div> |
|
60 | </div> | |
|
61 | <% end %> | |||
60 | </div> No newline at end of file |
|
62 | </div> |
General Comments 0
You need to be logged in to leave comments.
Login now