add profile info cell (#19298)

This commit is contained in:
Frédéric Péters 2017-10-20 14:58:45 +02:00
parent 43025b384b
commit 0513463122
1 changed files with 12 additions and 0 deletions

12
debian/50gnm.py vendored
View File

@ -238,6 +238,18 @@ JSON_CELL_TYPES = {
"url": "[idp_url]api/users/[user_nameid]/",
"name": "Profil CUT",
},
"profile-info": {
"url": "[idp_url]api/users/[user_nameid]/",
"name": "Infos de profil",
"additional-data": [
{"key": "drafts",
"url": "[eservices_url]api/user/drafts?NameID=[user_nameid]"
},
{"key": "forms",
"url": "[eservices_url]api/user/forms?NameID=[user_nameid]"
},
]
},
"suggestions": {
"name": "Suggestions",
"url": "[idp_url]api/users/[user_nameid]/",