mirror of
https://github.com/dgtlmoon/changedetection.io.git
synced 2026-04-30 23:00:30 +00:00
19 lines
737 B
Python
19 lines
737 B
Python
from changedetectionio.model import default_notification_format_for_watch
|
|
|
|
ult_notification_format_for_watch = 'System default'
|
|
default_notification_format = 'HTML Color'
|
|
default_notification_body = '{{watch_url}} had a change.\n---\n{{diff}}\n---\n'
|
|
default_notification_title = 'ChangeDetection.io Notification - {{watch_url}}'
|
|
|
|
# The values (markdown etc) are from apprise NotifyFormat,
|
|
# But to avoid importing the whole heavy module just use the same strings here.
|
|
valid_notification_formats = {
|
|
'Text': 'text',
|
|
'Markdown': 'markdown',
|
|
'HTML': 'html',
|
|
'HTML Color': 'htmlcolor',
|
|
# Used only for editing a watch (not for global)
|
|
default_notification_format_for_watch: default_notification_format_for_watch
|
|
}
|
|
|