diff options
author | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-01-17 11:18:04 +0000 |
---|---|---|
committer | Jean-Philippe Lang <jp_lang@yahoo.fr> | 2009-01-17 11:18:04 +0000 |
commit | 12792d8068d0ed0514e89267edefaab4df5cf2c3 (patch) | |
tree | 64aac7c729949cee91a3fb05070487870dbbccfc /test/fixtures/custom_fields.yml | |
parent | 99c2e989751a84b36d47de8cbe82572a61c4aa23 (diff) | |
download | redmine-12792d8068d0ed0514e89267edefaab4df5cf2c3.tar.gz redmine-12792d8068d0ed0514e89267edefaab4df5cf2c3.zip |
User custom fields can now be set as editable so that users can edit them on 'My account'.
For existing user custom fields, this new attribute is set to false by default to preserve the prior behaviour (it can turned on by editing the custom field in admin area).
Note: on the registration form, *required* custom fields will be displayed even if they are not defined as editable so that the account can be created.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@2276 e93f8b46-1217-0410-a6f0-8f06a7374b81
Diffstat (limited to 'test/fixtures/custom_fields.yml')
-rw-r--r-- | test/fixtures/custom_fields.yml | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/test/fixtures/custom_fields.yml b/test/fixtures/custom_fields.yml index b7718b169..a17827473 100644 --- a/test/fixtures/custom_fields.yml +++ b/test/fixtures/custom_fields.yml @@ -15,6 +15,7 @@ custom_fields_001: is_required: false
field_format: list
default_value: ""
+ editable: true
custom_fields_002:
name: Searchable field
min_length: 1
@@ -28,6 +29,7 @@ custom_fields_002: field_format: string
searchable: true
default_value: "Default string"
+ editable: true
custom_fields_003:
name: Development status
min_length: 0
@@ -45,6 +47,7 @@ custom_fields_003: is_required: true
field_format: list
default_value: ""
+ editable: true
custom_fields_004:
name: Phone number
min_length: 0
@@ -57,6 +60,7 @@ custom_fields_004: is_required: false
field_format: string
default_value: ""
+ editable: true
custom_fields_005:
name: Money
min_length: 0
@@ -69,6 +73,7 @@ custom_fields_005: is_required: false
field_format: float
default_value: ""
+ editable: true
custom_fields_006:
name: Float field
min_length: 0
@@ -81,4 +86,5 @@ custom_fields_006: is_required: false
field_format: float
default_value: ""
+ editable: true
\ No newline at end of file |