Tidy up error messages

This commit is contained in:
dgtlmoon
2025-11-28 17:29:04 +01:00
parent 58d25289fb
commit b76fdd6c36
2 changed files with 8 additions and 8 deletions
@@ -250,8 +250,10 @@ Math: {{ 1 + 1 }}") }}
<strong>Visual Selector data is not ready, watch needs to be checked atleast once.</strong>
{% endif %}
{% else %}
{# "This functionality needs chrome.." #}
{{ only_playwright_type_watches_warning() }}
<p>
<strong>Sorry, this functionality only works with fetchers that support interactive Javascript (so far only Playwright based fetchers)<br>
You need to <a href="#request">Set the fetch method</a> to one that supports interactive Javascript.</strong>
</p>
{% endif %}
</div>
@@ -401,8 +403,10 @@ Math: {{ 1 + 1 }}") }}
<strong>Visual Selector data is not ready, watch needs to be checked atleast once.</strong>
{% endif %}
{% else %}
{# "This functionality needs chrome.." #}
{{ only_playwright_type_watches_warning() }}
<p>
<strong>Sorry, this functionality only works with fetchers that support Javascript and screenshots (such as playwright etc).<br>
You need to <a href="#request">Set the fetch method</a> to one that supports Javascript and screenshots.</strong>
</p>
{% endif %}
</div>
</fieldset>
@@ -186,10 +186,6 @@
<br>
{% endmacro %}
{% macro only_playwright_type_watches_warning() %}
<p><strong>Sorry, this functionality only works with Playwright/Chrome enabled watches.<br>You need to <a href="#request">Set the fetch method to Playwright/Chrome mode and resave</a> and have the SockpuppetBrowser/Playwright or Selenium enabled.</strong></p><br>
{% endmacro %}
{% macro render_time_schedule_form(form, available_timezones, timezone_default_config) %}
<style>
.day-schedule *, .day-schedule select {