From e8ae7e41b9a891fdbb3a482f12625eb8bb27674a Mon Sep 17 00:00:00 2001 From: duckduckgrayduck <102841251+duckduckgrayduck@users.noreply.github.com> Date: Tue, 30 Jun 2026 12:51:23 -0500 Subject: [PATCH] If the Add-On has a site a paramater, add it to the template --- .../templates/addons/email/base_disabled.html | 16 +++++++++++++--- 1 file changed, 13 insertions(+), 3 deletions(-) diff --git a/documentcloud/templates/addons/email/base_disabled.html b/documentcloud/templates/addons/email/base_disabled.html index 648d69eb..c106bfec 100644 --- a/documentcloud/templates/addons/email/base_disabled.html +++ b/documentcloud/templates/addons/email/base_disabled.html @@ -1,14 +1,24 @@ {% extends "core/email/base.html" %} - {% block body %} -

Your scheduled run of the Add-On {{ run.addon.name }} has not run succesfully the last five times it was ran. We have therefore disabled the scheduled run. View the scheduled run details here.

+ {% if run.event.parameters.site %} +

+ This scheduled run was monitoring: {{ run.event.parameters.site }} +

+ {% endif %} +

+ You may debug the issue + + using the GitHub logs. + Once fixed, you may re-enable it from the Add-On menu on + DocumentCloud. If you need assistance debugging, please ask on + our Slack channel. +

{{ footer_content|urlize }}

- {% endblock body %} \ No newline at end of file