##// END OF EJS Templates
show "no data" label when there's nothing to display on changelog and roadmap...
show "no data" label when there's nothing to display on changelog and roadmap git-svn-id: http://redmine.rubyforge.org/svn/trunk@255 e93f8b46-1217-0410-a6f0-8f06a7374b81

File last commit:

r239:08ff4dfb216c
r252:ddd0796e403d
Show More
_news.rhtml
7 lines | 471 B | text/html+ruby | RhtmlLexer
Jean-Philippe Lang
- new controller "myController"...
r60 <h3><%=l(:label_news_latest)%></h3>
Jean-Philippe Lang
various modifications to prevent xss...
r96 <%= render (:partial => 'news/news',
:collection => News.find(:all,
:limit => 10,
Jean-Philippe Lang
* code and views cleaning...
r97 :order => 'news.created_on DESC',
Jean-Philippe Lang
various modifications to prevent xss...
r96 :conditions => "news.project_id in (#{@user.projects.collect{|m| m.id}.join(',')})",
:include => [:project, :author])) unless @user.projects.empty? %>