##// END OF EJS Templates
News box on project/show is hidden if there is no news to display....
Jean-Philippe Lang -
r448:acfb87a07ba7
parent child
Show More
@@ -52,9 +52,11
52 52 </div>
53 53 <% end %>
54 54
55 <% if @news.any? %>
55 56 <div class="box">
56 57 <h3><%=l(:label_news_latest)%></h3>
57 58 <%= render :partial => 'news/news', :collection => @news %>
58 59 <p class="textcenter"><small><%= link_to l(:label_news_view_all), :controller => 'projects', :action => 'list_news', :id => @project %></small></p>
59 60 </div>
61 <% end %>
60 62 </div> No newline at end of file
General Comments 0
You need to be logged in to leave comments. Login now