mirror of
https://github.com/meineerde/redmine.git
synced 2026-03-11 19:53:07 +00: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:
parent
35cf1e6258
commit
7710e18c4a
@ -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')
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user