diff --git a/app/helpers/custom_fields_helper.rb b/app/helpers/custom_fields_helper.rb index 2545dd89..13348546 100644 --- a/app/helpers/custom_fields_helper.rb +++ b/app/helpers/custom_fields_helper.rb @@ -23,9 +23,9 @@ module CustomFieldsHelper {:name => 'ProjectCustomField', :partial => 'custom_fields/index', :label => :label_project_plural}, {:name => 'UserCustomField', :partial => 'custom_fields/index', :label => :label_user_plural}, {:name => 'GroupCustomField', :partial => 'custom_fields/index', :label => :label_group_plural}, - {:name => 'TimeEntryActivityCustomField', :label => TimeEntryActivity::OptionName}, - {:name => 'IssuePriorityCustomField', :label => IssuePriority::OptionName}, - {:name => 'DocumentCategoryCustomField', :label => DocumentCategory::OptionName} + {:name => 'TimeEntryActivityCustomField', :partial => 'custom_fields/index', :label => TimeEntryActivity::OptionName}, + {:name => 'IssuePriorityCustomField', :partial => 'custom_fields/index', :label => IssuePriority::OptionName}, + {:name => 'DocumentCategoryCustomField', :partial => 'custom_fields/index', :label => DocumentCategory::OptionName} ] end diff --git a/app/models/time_entry_activity_custom_field.rb b/app/models/time_entry_activity_custom_field.rb index 149bbb5c..34f211aa 100644 --- a/app/models/time_entry_activity_custom_field.rb +++ b/app/models/time_entry_activity_custom_field.rb @@ -17,7 +17,7 @@ class TimeEntryActivityCustomField < CustomField def type_name - :enumeration_time_entry_activities + :enumeration_activities end end diff --git a/app/views/enumerations/list.rhtml b/app/views/enumerations/list.rhtml index 817751ab..13e1b6bb 100644 --- a/app/views/enumerations/list.rhtml +++ b/app/views/enumerations/list.rhtml @@ -16,8 +16,8 @@ <% enumerations.each do |enumeration| %>