mirror of
https://github.com/redmine/redmine.git
synced 2026-05-06 19:37:31 +02:00
show only created lists on project overview
git-svn-id: http://redmine.rubyforge.org/svn/branches/work@271 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
@@ -79,7 +79,7 @@ class ProjectsController < ApplicationController
|
||||
def show
|
||||
@custom_values = @project.custom_values.find(:all, :include => :custom_field)
|
||||
@members = @project.members.find(:all, :include => [:user, :role])
|
||||
@mailing_lists = @project.mailing_lists
|
||||
@mailing_lists = @project.mailing_lists.find(:all, :conditions => ["status=?", MailingList::STATUS_CREATED])
|
||||
@subprojects = @project.children if @project.children.size > 0
|
||||
@news = @project.news.find(:all, :limit => 5, :include => [ :author, :project ], :order => "news.created_on DESC")
|
||||
@trackers = Tracker.find(:all, :order => 'position')
|
||||
|
||||
Reference in New Issue
Block a user