comparison app/views/my/blocks/_news.html.erb @ 908:c6c2cbd0afee redmine-1.3

Rename .rhtml files to .html.erb in preparation for merge
author Chris Cannam
date Fri, 24 Feb 2012 18:36:29 +0000
parents app/views/my/blocks/_news.rhtml@513646585e45
children cbb26bc654de
comparison
equal deleted inserted replaced
907:df51e8ff578d 908:c6c2cbd0afee
1 <h3><%=l(:label_news_latest)%></h3>
2
3 <%= render(:partial => 'news/news',
4 :collection => News.find(:all,
5 :limit => 10,
6 :order => "#{News.table_name}.created_on DESC",
7 :conditions => "#{News.table_name}.project_id in (#{@user.projects.collect{|m| m.id}.join(',')})",
8 :include => [:project, :author])) unless @user.projects.empty? %>