templates: import publik notification prototype cells (#76575) #246

Merged
ecazenave merged 1 commits from wip/76575-publik-notifications-manu into main 2023-05-22 10:15:43 +02:00

1 Commits

Author SHA1 Message Date
Frédéric Péters 37c095417e templates: import publik notification prototype cells (#76575)
gitea/publik-base-theme/pipeline/head This commit looks good Details
portal settings:

    "pn-alertes": {
      "name": "publik-notifications/alertes",
      "template-name": "combo/publik-notifications/alertes.html",
      "url": "{{ eservices_url }}api/cards/pn_message/list/messages-publications-publies?email=accesapi@entrouvert.com&full=on",
      "cache_duration": 30,
      "timeout": 0
    },
    "pn-alerte": {
      "name": "publik-notifications/alerte",
      "template-name": "combo/publik-notifications/alerte.html",
      "url": "{{ eservices_url }}api/cards/pn_message/{{ pn_message_id }}?email=accesapi@entrouvert.com&full=on",
      "cache_duration": 0,
      "timeout": 0
    },
    "pn-alertes-preview": {
      "name": "publik-notifications/alertes-preview",
      "template-name": "combo/publik-notifications/alertes-preview.html",
      "url": "{{ eservices_url }}api/cards/pn_message/list/messages-publication-dans-le-tube?email=accesapi@entrouvert.com&full=on",
      "cache_duration": 60,
      "timeout": 0
    },
    "pn-alerte-preview": {
      "name": "publik-notifications/alerte-preview",
      "template-name": "combo/publik-notifications/alerte-preview.html",
      "url": "{{ eservices_url }}api/cards/pn_modelesmessages/{{ pn_modelesmessages_id }}?email=accesapi@entrouvert.com&full=on",
      "cache_duration": 0,
      "timeout": 0
    }

portal agent settings:

    "pn-modeles-filters": {
      "name": "publik-notifications/agents/modeles-filters",
      "template-name": "combo/publik-notifications/agents/modeles-filters.html",
      "url": "{{ eservices_url }}api/cards/pn_modelesmessages/list/?filter-origin={{pn_producteurs_id}}&filter-categorie={{ request.GET.categorie }}&email=accesapi@entrouvert.com&full=on",
      "cache_duration": 0,
      "timeout": 0
    }
2023-04-27 14:44:34 +02:00