05194a19b6
- New route GET /players/<id>/edited-media-report with tabular report - New template edited_media_report.html with User/Filename/Date/Link columns - Launch Report button (green) next to View All Edited Media button - Fix: on first edit, move original file to versionized folder as original_<name> - Fix: content lookup fallback via PlayerEdit records and path regex - Keep Content.filename pointing to latest edit for player playlist
26 lines
1.1 KiB
HTML
26 lines
1.1 KiB
HTML
{% if player.deployment_status == 'deploying' %}
|
|
<span class="deploy-badge deploying" id="deploying-badge-{{ player.id }}">
|
|
<span class="spinner"></span>Deploying...
|
|
</span>
|
|
{% elif player.deployment_status == 'deployed' %}
|
|
<span class="deploy-badge deployed" title="{{ player.last_deployment_message or 'Deployed successfully' }}">
|
|
✅ Deployed
|
|
{% if player.last_deployment_at %}
|
|
<span class="deploy-timestamp">{{ player.last_deployment_at | localtime }}</span>
|
|
{% endif %}
|
|
</span>
|
|
{% elif player.deployment_status == 'failed' %}
|
|
<span class="deploy-badge failed deploy-tooltip" title="{{ player.last_deployment_message or 'Deployment failed' }}">
|
|
❌ Failed
|
|
{% if player.last_deployment_at %}
|
|
<span class="deploy-timestamp">{{ player.last_deployment_at | localtime }}</span>
|
|
{% endif %}
|
|
</span>
|
|
{% elif player.deployment_status == 'pending' %}
|
|
<span class="deploy-badge pending" title="Awaiting deployment">
|
|
⏳ Pending
|
|
</span>
|
|
{% else %}
|
|
<span class="text-muted">—</span>
|
|
{% endif %}
|