Optional error notification (#5506)

* Add user setting for receiving error notifications

* Ignore uses who don't want error notifications

* Add config to settings page
This commit is contained in:
Oliver authored and GitHub committed 2023-09-05 15:23:14 +10:00
1 parent 2243f288ee
commit f917c91522
3 files changed
+25 -7

No files matched your search

@@ -13,6 +13,9 @@
<div class='row'>
<table class='table table-striped table-condensed'>
<tbody>
{% if user.is_staff %}
{% include "InvenTree/settings/setting.html" with key="NOTIFICATION_ERROR_REPORT" icon='fa-flag' user_setting=True %}
{% endif %}
{% notification_settings_list as settings %}
{% for setting in settings %}
{% include "InvenTree/settings/setting.html" with key=setting.key icon=setting.icon method=setting.method notification_setting=True %}