{% extends "base.html" %} {% from "_macros.html" import icon, status_badge, split_path %} {% set tab = "status" %} {% block title %}Changes · {{ repo.name }}{% endblock %} {% block repohead %}{% include "_repohead.html" %}{% endblock %} {% block content %} {% set changes = status.changes %}
{% if status.busy %}
⚠ {{ status.busy|length }} file(s) were changing while VIVER was reading them (LabVIEW may still be saving) and were skipped: {{ status.busy[:8]|join(", ") }}{% if status.busy|length > 8 %} …{% endif %}. Rescan in a moment.
{% endif %} {% if not changes %}

Working folder is clean ✓

No saved changes since the last commit.
Refresh this page after saving VIs in LabVIEW.

{% else %}
{{ changes|length }} changed file{{ '' if changes|length == 1 else 's' }} {% set na = changes|selectattr("status","equalto","added")|list|length %} {% set nm = changes|selectattr("status","equalto","modified")|list|length %} {% set nd = changes|selectattr("status","equalto","deleted")|list|length %} {% if na %}+{{ na }} {% endif %}{% if nm %}~{{ nm }} {% endif %}{% if nd %}−{{ nd }}{% endif %}
VIs are inspected without opening LabVIEW:
{% for c in changes %}
{% if c.status == "renamed" %}{% endif %} {{ status_badge(c.status) }} {{ icon(c.kind) }} {% if c.status == "renamed" %}{{ c.old_path }} → {% endif %}{{ split_path(c.path) }} {% if is_vi(c.path) %} {% if c.status != "renamed" %} {% endif %} Block diagram diff {% endif %} {{ c.new_size|hsize if c.new_size else '' }}
{% endfor %}
{% endif %}
{% if changes and status.head and not repo.protect_workdir %}
{% endif %} {% endblock %}