summaryrefslogtreecommitdiffstats
path: root/app/models/version_custom_field.rb
diff options
context:
space:
mode:
authorJean-Philippe Lang <jp_lang@yahoo.fr>2009-11-15 15:22:55 +0000
committerJean-Philippe Lang <jp_lang@yahoo.fr>2009-11-15 15:22:55 +0000
commitba7cf9c3ce6c970a2ecb49d1f4ab276a071ada40 (patch)
tree8ec30a96db6089c7e140e7cb2a4ea5c864fe1ac8 /app/models/version_custom_field.rb
parent7d57833740bb546753d6d908ee082e8268044fa3 (diff)
downloadredmine-ba7cf9c3ce6c970a2ecb49d1f4ab276a071ada40.tar.gz
redmine-ba7cf9c3ce6c970a2ecb49d1f4ab276a071ada40.zip
Adds custom fields for versions (#4219).
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@3064 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'app/models/version_custom_field.rb')
-rw-r--r--app/models/version_custom_field.rb22
1 files changed, 22 insertions, 0 deletions
diff --git a/app/models/version_custom_field.rb b/app/models/version_custom_field.rb
new file mode 100644
index 000000000..400caf0df
--- /dev/null
+++ b/app/models/version_custom_field.rb
@@ -0,0 +1,22 @@
+# Redmine - project management software
+# Copyright (C) 2006-2009 Jean-Philippe Lang
+#
+# This program is free software; you can redistribute it and/or
+# modify it under the terms of the GNU General Public License
+# as published by the Free Software Foundation; either version 2
+# of the License, or (at your option) any later version.
+#
+# This program is distributed in the hope that it will be useful,
+# but WITHOUT ANY WARRANTY; without even the implied warranty of
+# MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
+# GNU General Public License for more details.
+#
+# You should have received a copy of the GNU General Public License
+# along with this program; if not, write to the Free Software
+# Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA.
+
+class VersionCustomField < CustomField
+ def type_name
+ :label_version_plural
+ end
+end