← New comparison
{% for n in file_names %} {{ n }}{% if not loop.last %}→{% endif %} {% endfor %}
{% if multi_file %} {% endif %} {% for pair in pairs %}
{% for sheet_name, d in pair.sheets.items() %}
{% if d.sheet_status == 'added' %}
Sheet {{ sheet_name }} was added in {{ pair.right_name }}.
{% elif d.sheet_status == 'removed' %}
Sheet {{ sheet_name }} was deleted (present only in {{ pair.left_name }}).
{% endif %} {% if d.get('error') %}
Error: {{ d.error }}
{% elif d.rows|length == 0 %}
No rows in this sheet.
{% else %}
{% for item in d.diff_items %} {% if item.type == 'hunk' %} {% elif item.type == 'fold' %} {% for row in item.rows %} {% endfor %} {% elif item.type == 'row' %} {% set row = item.row %} {% if row.status == 'unchanged' %} {% elif row.status == 'removed' %} {% elif row.status == 'added' %} {% else %} {% endif %} {% endif %} {% endfor %}
@@ -{{ item.old_line }} +{{ item.new_line }} @@
▸{{ item.count }} unchanged row{{ 's' if item.count != 1 else '' }}
{{ row.old_line or '' }} {{ row.new_line or '' }} {% for c in d.columns %}{{ c }}: {{ (row.left or row.right).get(c, '') }}{% if not loop.last %} {% endif %}{% endfor %}
{{ row.old_line }} {{ row.new_line }} {% for c in d.columns %}{{ c }}: {{ row.left.get(c, '') }}{% if not loop.last %} {% endif %}{% endfor %}
{{ row.old_line }} - {% for c in d.columns %}{{ c }}: {{ row.left.get(c, '') }}{% if not loop.last %} {% endif %}{% endfor %}
{{ row.new_line }} + {% for c in d.columns %}{{ c }}: {{ row.right.get(c, '') }}{% if not loop.last %} {% endif %}{% endfor %}
{{ row.old_line }} - {% for c in d.columns %}{{ c }}: {{ row.left.get(c, '') }}{% if not loop.last %} {% endif %}{% endfor %}
{{ row.new_line }} + {% for c in d.columns %}{{ c }}: {{ row.right.get(c, '') }}{% if not loop.last %} {% endif %}{% endfor %}
{% endif %}
{% endfor %}
{% endfor %}
{% if multi_file %} {% endif %} {% for pair in pairs %}
{% for sheet_name, d in pair.sheets.items() %}
{% if d.sheet_status == 'added' %}
Sheet {{ sheet_name }} was added in {{ pair.right_name }}.
{% elif d.sheet_status == 'removed' %}
Sheet {{ sheet_name }} was deleted (present only in {{ pair.left_name }}).
{% endif %} {% if d.get('error') %}
Error: {{ d.error }}
{% elif d.rows|length == 0 %}
No rows in this sheet.
{% else %}
{{ pair.left_name }}
{% for item in d.diff_items %} {% if item.type == 'hunk' %} {% elif item.type == 'fold' %} {% for row in item.rows %} {% endfor %} {% elif item.type == 'row' %} {% set row = item.row %} {% if row.status == 'added' %} {% elif row.status == 'removed' %} {% elif row.status == 'modified' %} {% else %} {% endif %} {% endif %} {% endfor %}
@@ -{{ item.old_line }} @@
▸{{ item.count }} unchanged row{{ 's' if item.count != 1 else '' }}
{{ row.old_line or '' }} {% for c in d.columns %}{{ c }}: {{ (row.left or row.right).get(c, '') }}{% if not loop.last %} {% endif %}{% endfor %}
{{ row.old_line }}- {% for c in d.columns %}{{ c }}: {{ row.left.get(c, '') }}{% if not loop.last %} {% endif %}{% endfor %}
{{ row.old_line }}- {% for c in d.columns %}{{ c }}: {{ row.left.get(c, '') }}{% if not loop.last %} {% endif %}{% endfor %}
{{ row.old_line }} {% for c in d.columns %}{{ c }}: {{ row.left.get(c, '') }}{% if not loop.last %} {% endif %}{% endfor %}
{{ pair.right_name }}
{% for item in d.diff_items %} {% if item.type == 'hunk' %} {% elif item.type == 'fold' %} {% for row in item.rows %} {% endfor %} {% elif item.type == 'row' %} {% set row = item.row %} {% if row.status == 'removed' %} {% elif row.status == 'added' %} {% elif row.status == 'modified' %} {% else %} {% endif %} {% endif %} {% endfor %}
@@ +{{ item.new_line }} @@
▸{{ item.count }} unchanged row{{ 's' if item.count != 1 else '' }}
{{ row.new_line or '' }} {% for c in d.columns %}{{ c }}: {{ (row.left or row.right).get(c, '') }}{% if not loop.last %} {% endif %}{% endfor %}
{{ row.new_line }}+ {% for c in d.columns %}{{ c }}: {{ row.right.get(c, '') }}{% if not loop.last %} {% endif %}{% endfor %}
{{ row.new_line }}+ {% for c in d.columns %}{{ c }}: {{ row.right.get(c, '') }}{% if not loop.last %} {% endif %}{% endfor %}
{{ row.new_line }} {% for c in d.columns %}{{ c }}: {{ row.right.get(c, '') }}{% if not loop.last %} {% endif %}{% endfor %}
{% endif %}
{% endfor %}
{% endfor %}