changedetectionio/blueprint/ui/templates/diff.html
{% extends 'base.html' %} {% from '_helpers.html' import render_field, render_checkbox_field, render_button %} {% block content %}
{% if versions|length >= 1 %} {# TRANSLATORS: 'From' labels the older snapshot version selector on the diff page #} {{ pgettext('diff version', 'From') }} {%- for version in versions|reverse -%} {{ version }}{#{% if loop.index == 2 %} (Previous){% endif %}#} {%- endfor -%} {# TRANSLATORS: 'To' labels the newer snapshot version selector on the diff page #} {{ pgettext('diff version', 'To') }} {%- for version in versions|reverse -%} {{ version }}{#{% if loop.first %} (Current){% endif %}#} {%- endfor -%} {#Go#} {% endif %} {{ _('Words') }} {{ _('Lines') }} {{ _('Ignore Whitespace') }} {{ _('Same/non-changed') }} {{ _('Removed') }} {{ _('Added') }} {{ _('Replaced') }} {%- if llm_configured -%} ✨ {{ _('AI: every change between versions') }} {%- endif -%} {%- if versions|length >= 2 -%} {{ _('Keyboard:') }} ← {{ _('Previous') }} → {{ _('Next') }} {%- endif -%}
{{ _('Jump') }}
{% if last_error_text %}- {{ _('Error Text') }} {% endif %} {% if last_error_screenshot %}- {{ _('Error Screenshot') }} {% endif %} - {{ _('Text') }}
{{watch_a.error_text_ctime|format_seconds_ago}} {{ _('seconds ago.') }}
{{ last_error_text }}
{{watch_a.snapshot_error_screenshot_ctime|format_seconds_ago}} {{ _('seconds ago') }} !{{ _('Current error-ing screenshot from most recent request') }}
{%- if (content | default('')).split('\n') | length > 100 -%} {%- for cell in diff_cell_grid -%}
{%- endfor -%} {%- endif -%} {%- if password_enabled_and_share_is_off -%} {{ _('Pro-tip: You can enable "share access when password is enabled" from settings.')|safe }} {%- endif -%} {%- if llm_configured -%} ✨ {{ _('AI Change Summary') }} {%- if llm_diff_summary -%}
{{ llm_diff_summary }}
{%- else -%}
{{ _('Generating summary…') }}
{%- if llm_summary_prompt -%}
{{ llm_summary_prompt }}
{%- endif -%} {%- endif -%} {%- endif -%}
{{ from_version|format_timestamp_timeago }} {%- if note -%} {{ note }} {%- endif -%} [{{ _('Goto single snapshot') }}]({{%20url_for()
{{ content| diff_unescape_difference_spans }}
{{ _('Tip:') }} {{ _('Highlight text to share or add to ignore lists.') }} — {{ _('Download difference patch') }}
{{ _('For now, Differences are performed on text, not graphically, only the latest screenshot is available.') }} {% if is_html_webdriver %} {% if screenshot %} {{watch_a.snapshot_screenshot_ctime|format_timestamp_timeago}} !{{ _('Current screenshot from most recent request') }} {% else %} {{ _('No screenshot available just yet! Try rechecking the page.') }} {% endif %} {% else %} {{ _('Screenshot requires Playwright/WebDriver enabled') }} {% endif %}
{% if llm_configured %} {% endif %} {% endblock %}