]> source.dussan.org Git - redmine.git/commit
Adds Enumeration custom field format (#21060).
authorJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 25 Oct 2015 08:32:47 +0000 (08:32 +0000)
committerJean-Philippe Lang <jp_lang@yahoo.fr>
Sun, 25 Oct 2015 08:32:47 +0000 (08:32 +0000)
commit2f51dc11cfdf9cdbd2c67ec12cf93f4b112646bc
tree0216d3fe5705f74909c477e9fcca56438e0fed5f
parent934a7615c427caf120b5386e62aa159b8d79949f
Adds Enumeration custom field format (#21060).

Similar to List format but stores possible values as records.

git-svn-id: http://svn.redmine.org/redmine/trunk@14745 e93f8b46-1217-0410-a6f0-8f06a7374b81
16 files changed:
app/controllers/custom_field_enumerations_controller.rb [new file with mode: 0644]
app/models/custom_field.rb
app/models/custom_field_enumeration.rb [new file with mode: 0644]
app/views/custom_field_enumerations/create.js.erb [new file with mode: 0644]
app/views/custom_field_enumerations/destroy.html.erb [new file with mode: 0644]
app/views/custom_field_enumerations/index.html.erb [new file with mode: 0644]
app/views/custom_fields/formats/_enumeration.erb [new file with mode: 0644]
config/locales/en.yml
config/locales/fr.yml
config/routes.rb
db/migrate/20151025072118_create_custom_field_enumerations.rb [new file with mode: 0644]
lib/redmine/field_format.rb
public/stylesheets/application.css
test/functional/custom_field_enumerations_controller_test.rb [new file with mode: 0644]
test/integration/routing/custom_fields_test.rb
test/unit/lib/redmine/field_format/enumeration_format_test.rb [new file with mode: 0644]