Skip to content

Commit

Permalink
add Agenda filters config [CPCN-48] (#179)
Browse files Browse the repository at this point in the history
  • Loading branch information
devketanpro authored Jun 14, 2024
1 parent 6b41a44 commit 656b27c
Showing 1 changed file with 12 additions and 0 deletions.
12 changes: 12 additions & 0 deletions server/settings.py
Original file line number Diff line number Diff line change
Expand Up @@ -383,3 +383,15 @@
SUPPORT_EMAIL_FR = SUPPORT_EMAIL_EN

NOTIFY_MATCHING_USERS = "cancel"

AGENDA_TIME_FILTERS = [
{"name": lazy_gettext("Last 24 hours"), "query": "now-24h/h"},
{
"name": lazy_gettext("Last 7 days"),
"query": "now-7d/d",
},
{
"name": lazy_gettext("Last 30 days"),
"query": "now-30d/d",
},
]

0 comments on commit 656b27c

Please sign in to comment.