add: user super description

This commit is contained in:
2022-04-28 10:42:55 +08:00
parent 088c617cc1
commit 396ac55429
6 changed files with 39 additions and 31 deletions

View File

@@ -21,5 +21,6 @@ json.province @user.province
json.city @user.city
json.custom_department @user.custom_department
json.description @user.description
json.(@user, :show_email, :show_department, :show_location)
json.super_description @user.super_description
json.(@user, :show_email, :show_department, :show_location, :show_super_description)
json.message_unread_total @message_unread_total

View File

@@ -13,4 +13,5 @@ json.email @user.show_email ? @user.mail : nil
json.province @user.show_location ? @user.province : nil
json.city @user.show_location ? @user.city : nil
json.custom_department @user.show_department ? @user.custom_department : nil
json.super_description @user.show_super_description ? @user.super_description : nil
json.description @user.description