Merge pull request #297

feat: automatically dismiss htmx error popups after 1 minute
This commit is contained in:
Herculino Trotta
2025-07-27 01:39:33 -03:00
committed by GitHub

View File

@@ -8,6 +8,7 @@ behavior htmx_error_handler
title: '{% trans "Access Denied" %}',
text: '{% trans "You do not have permission to perform this action or access this resource." %}',
icon: 'warning',
timer: 60000,
customClass: {
confirmButton: 'btn btn-warning' -- Optional: different button style
},
@@ -18,6 +19,7 @@ behavior htmx_error_handler
title: '{% trans "Something went wrong loading your data" %}',
text: '{% trans "Try reloading the page or check the console for more information." %}',
icon: 'error',
timer: 60000,
customClass: {
confirmButton: 'btn btn-primary'
},