Changeset [82d213aeb77903b6a4126c3ea5fe0de6a132a2e6] by Steve Kenworthy

October 10th, 2012 @ 08:57 PM

Refactored custom fields admin screen. Converted rjs to jQuery erb templates. Added customfield registry and refactored templates to make it easier to add new custom field types via plugins.Removed customfield specific logic from JS files to make this possible.
https://github.com/fatfreecrm/fat_free_crm/commit/82d213aeb77903b6a...

Committed by Steve Kenworthy

  • A app/views/admin/custom_fields/_base_field.html.haml
  • A app/views/admin/custom_fields/_check_boxes_field.html.haml
  • A app/views/admin/custom_fields/_date_field.html.haml
  • A app/views/admin/custom_fields/_date_pair_field.html.haml
  • A app/views/admin/custom_fields/_datetime_field.html.haml
  • A app/views/admin/custom_fields/_datetime_pair_field.html.haml
  • A app/views/admin/custom_fields/_radio_field.html.haml
  • A app/views/admin/custom_fields/_select_field.html.haml
  • A app/views/admin/custom_fields/_string_field.html.haml
  • A app/views/admin/fields/_form.html.haml
  • A app/views/admin/fields/_subform.html.haml
  • A app/views/admin/fields/create.js.erb
  • A app/views/admin/fields/destroy.js.erb
  • A app/views/admin/fields/edit.html.haml
  • A app/views/admin/fields/edit.js.erb
  • A app/views/admin/fields/update.js.erb
  • A config/initializers/custom_fields.rb
  • R app/views/admin/fields/_customfield_pairs.html.haml
  • R app/views/admin/fields/_new.html.haml
  • R app/views/admin/fields/_options.html.haml
  • R app/views/admin/fields/_top_section.html.haml
  • R app/views/admin/fields/create.js.rjs
  • R app/views/admin/fields/destroy.js.rjs
  • R app/views/admin/fields/edit.js.rjs
  • R app/views/admin/fields/index.js.rjs
  • R app/views/admin/fields/new.js.rjs
  • R app/views/admin/fields/options.js.rjs
  • R app/views/admin/fields/update.js.rjs
  • M app/assets/javascripts/admin/fields.js.coffee
  • M app/controllers/admin/field_groups_controller.rb
  • M app/controllers/admin/fields_controller.rb
  • M app/helpers/admin/fields_helper.rb
  • M app/models/fields/custom_field.rb
  • M app/models/fields/custom_field_date_pair.rb
  • M app/models/fields/custom_field_datetime_pair.rb
  • M app/models/fields/field.rb
  • M app/views/admin/field_groups/_field_group.html.haml
  • M app/views/admin/field_groups/_top_section.html.haml
  • M app/views/admin/fields/_edit.html.haml
  • M app/views/admin/fields/_field.html.haml
  • M app/views/admin/fields/index.html.haml
  • M config/locales/en-US_fat_free_crm.yml
  • M config/routes.rb
New-ticket Create new ticket

Create your profile

Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป

Ruby on Rails CRM platform for Web 2.0 and beyond