{% extends "base.html" %} {% block title %}Version history · {{ job.title or "(untitled)" }} · Kestrel{% endblock %} {% block content %}

Version history

Every generated document for this job is kept as a separate version and never overwritten. The version uploaded with an application is marked.

{% set kind_labels = {"resume": "Tailored resume", "cover_letter": "Cover letter"} %} {% for kind in ["resume", "cover_letter"] %}

{{ kind_labels[kind] }}

{% set kind_versions = versions | selectattr("kind", "equalto", kind) | list %} {% if kind_versions %}
{% for v in kind_versions | sort(attribute="version") | reverse %} {% endfor %}
VersionGeneratedValidationState
v{{ v.version }} {{ v.created_at or "unknown" }} {% if v.validation_status %} {{ v.validation_status.replace("_", " ") }} {% else %}—{% endif %} {% if current[kind] == v.file_path %} current {% endif %} {% if snapshot_ids[kind] == v.id %} uploaded with application {% endif %}
{% else %}

No {{ kind_labels[kind] | lower }} versions recorded yet. History begins with the next generation or regeneration of this document.

{% endif %}
{% endfor %} {% endblock %}