diff --git a/debian/50gnm.py b/debian/50gnm.py index 8249629..8d9d633 100644 --- a/debian/50gnm.py +++ b/debian/50gnm.py @@ -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 = {