WIP: templates: import publik notification prototype cells (#76575) #233

Closed
fpeters wants to merge 1 commits from wip/76575-publik-notifications into main
Owner

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
}
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 }
fpeters added 1 commit 2023-04-13 08:50:08 +02:00
gitea/publik-base-theme/pipeline/head This commit looks good Details
65daacfd39
templates: import publik notification prototype cells (#76575)
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
    }
Author
Owner

Dupliqué/fusionné en #246

Dupliqué/fusionné en https://git.entrouvert.org/entrouvert/publik-base-theme/pulls/246
fpeters closed this pull request 2023-06-19 14:06:19 +02:00
All checks were successful
gitea/publik-base-theme/pipeline/head This commit looks good

Pull request closed

Sign in to join this conversation.
No reviewers
No Label
No Milestone
No Assignees
1 Participants
Notifications
Due Date
The due date is invalid or out of range. Please use the format 'yyyy-mm-dd'.

No due date set.

Dependencies

No dependencies set.

Reference: entrouvert/publik-base-theme#233
No description provided.