Added an option to see all versions in the roadmap view (including completed ones).
On calendar and gantt, versions are now clickable and link to the corresponding entry in the roadmap. Since calendar and gantt are now cached, don't forget to empty your cache before restarting the application. git-svn-id: http://redmine.rubyforge.org/svn/trunk@516 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
1 parent
b748455d96
commit
8e24c6458d
19 files changed
+41
-19
No files matched your search
@@ -33,6 +33,10 @@ class Version < ActiveRecord::Base
|
||||
effective_date
|
||||
end
|
||||
|
||||
def completed?
|
||||
effective_date && effective_date <= Date.today
|
||||
end
|
||||
|
||||
private
|
||||
def check_integrity
|
||||
raise "Can't delete version" if self.fixed_issues.find(:first)
|
||||
|
||||
Reference in new issue
Block a user