FEATURE: add user custom fields to user card

The user's custom fields are now displayed on the user card. This has to be enabled for each custom field in the custom field settings. See https://meta.discourse.org/t/custom-user-fields-on-usercard/22662/
This commit is contained in:
Thorben Egberts
2016-04-08 14:35:41 +02:00
parent 95155cda64
commit cf8b3fbd56
11 changed files with 63 additions and 13 deletions

View File

@ -1,7 +1,7 @@
class Admin::UserFieldsController < Admin::AdminController
def self.columns
[:name, :field_type, :editable, :description, :required, :show_on_profile, :position]
[:name, :field_type, :editable, :description, :required, :show_on_profile, :show_on_user_card, :position]
end
def create