debian: declare custom cell to display rsj requests (#52838)

This commit is contained in:
Frédéric Péters 2021-04-16 15:58:22 +02:00
parent 0c9237f8c9
commit 9f54c72f60
1 changed files with 9 additions and 0 deletions

9
debian/50gnm.py vendored
View File

@ -466,6 +466,15 @@ JSON_CELL_TYPES = {
"template-name": "combo/json/commerce.html",
"form": [{"varname": "gid", "type": "string", "label": "gid"}],
},
"rsj-a-traiter": {
"url": "{{eservices_url}}api/forms/?limit={% firstof limit 100 %}{% if category_id %}&category_id={{ category_id }}{% endif %}&NameID={{user_nameid}}",
"cache_duration": 120,
"name": "Demandes à traiter (RSJ)",
"form": [
{"varname": "limit", "type": "string", "label": "Nombre max de demandes"},
{"varname": "category_id", "type": "string", "label": "Identifiant de la catégorie"},
],
},
}
COMBO_ASSET_SLOTS = {