annotate .svn/pristine/2c/2c76b08002398b97784edeca2011d8a77c453847.svn-base @ 1458:b1f4c9a2af24
bug_794
Makes the default radio button checked by default -- this should fix bug #794.
author |
luisf <luis.figueira@eecs.qmul.ac.uk> |
date |
Mon, 11 Nov 2013 18:25:22 +0000 |
parents |
cbb26bc654de |
children |
|
rev |
line source |
Chris@909
|
1 <h3><%=l(:label_news_latest)%></h3>
|
Chris@909
|
2
|
Chris@909
|
3 <%= render(:partial => 'news/news',
|
Chris@909
|
4 :collection => News.find(:all,
|
Chris@909
|
5 :limit => 10,
|
Chris@909
|
6 :order => "#{News.table_name}.created_on DESC",
|
Chris@909
|
7 :conditions => "#{News.table_name}.project_id in (#{@user.projects.collect{|m| m.id}.join(',')})",
|
Chris@909
|
8 :include => [:project, :author])) unless @user.projects.empty? %>
|