]> source.dussan.org Git - redmine.git/commit
Adds a "visible" option on User and Project custom fields (#1738).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 7 Nov 2010 14:15:01 +0000 (14:15 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 7 Nov 2010 14:15:01 +0000 (14:15 +0000)
commit475530e59f65f3e8d24623383512e092b2d02521
tree76e9b403b548ee62b3f5b05fcf9a0c7554add13d
parent3b01ea9fa42cec01a17664a64de6f8157d363bec
Adds a "visible" option on User and Project custom fields (#1738).

If set to false, the custom field won't be display on user profile/project overview.

git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@4382 e93f8b46-1217-0410-a6f0-8f06a7374b81
15 files changed:
app/controllers/users_controller.rb
app/models/custom_value.rb
app/views/custom_fields/_form.rhtml
app/views/projects/index.xml.builder
app/views/projects/show.rhtml
app/views/projects/show.xml.builder
app/views/users/show.rhtml
config/locales/en.yml
config/locales/fr.yml
db/migrate/20101107130441_add_custom_fields_visible.rb [new file with mode: 0644]
test/fixtures/custom_values.yml
test/functional/projects_controller_test.rb
test/functional/users_controller_test.rb
test/integration/api_test/projects_test.rb
vendor/plugins/acts_as_customizable/lib/acts_as_customizable.rb