Operation:
{% if history.operation == 'check' %}
๐ Check for Updates
{% elif history.operation == 'dry_run' %}
๐งช Dry Run
{% elif history.operation == 'update' %}
โฌ๏ธ Update Packages
{% elif history.operation == 'refresh' %}
๐ Refresh Package Lists
{% else %}
{{ history.operation }}
{% endif %}
Status:
{% if history.status == 'success' %}
Success
{% elif history.status == 'failed' %}
Failed
{% elif history.status == 'running' %}
Running
{% else %}
{{ history.status }}
{% endif %}
Started:
{{ history.started_at.strftime('%Y-%m-%d %H:%M:%S') }}
{% if history.completed_at %}
Completed:
{{ history.completed_at.strftime('%Y-%m-%d %H:%M:%S') }}
Duration:
{{ (history.completed_at - history.started_at).total_seconds()|round(1) }} seconds
{% endif %}
Initiated By:
{{ history.initiated_by or 'System' }}
{% if history.packages_updated %}
Packages Updated:
{{ history.packages_updated }}
{% endif %}