diff options
Diffstat (limited to 'app/views/projects/list_news.rhtml')
-rw-r--r-- | app/views/projects/list_news.rhtml | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/app/views/projects/list_news.rhtml b/app/views/projects/list_news.rhtml index 4ab086d55..82d63a280 100644 --- a/app/views/projects/list_news.rhtml +++ b/app/views/projects/list_news.rhtml @@ -4,7 +4,11 @@ <h2><%=l(:label_news_plural)%></h2> -<% if @news.empty? %><p><i><%= l(:label_no_data) %></i></p><% end %> +<% if @news.empty? %> +<p class="nodata"><%= l(:label_no_data) %></p> +<% end %> + + <%= render :partial => 'news/news', :collection => @news %> <%= pagination_links_full @news_pages %> |