Mercurial > hg > soundsoftware-site
view .svn/pristine/2c/2c76b08002398b97784edeca2011d8a77c453847.svn-base @ 1113:ca871a83c0f4 bibplugin_bibtex
creates the author in case it no suggestion was made by the user.
author | luisf <luis.figueira@eecs.qmul.ac.uk> |
---|---|
date | Tue, 11 Dec 2012 18:48:33 +0000 |
parents | cbb26bc654de |
children |
line wrap: on
line source
<h3><%=l(:label_news_latest)%></h3> <%= render(:partial => 'news/news', :collection => News.find(:all, :limit => 10, :order => "#{News.table_name}.created_on DESC", :conditions => "#{News.table_name}.project_id in (#{@user.projects.collect{|m| m.id}.join(',')})", :include => [:project, :author])) unless @user.projects.empty? %>